Commit Graph

15 Commits

Author SHA1 Message Date
Lily Tsuru 4f6ec38f22 misc fun changes 2023-08-05 06:46:56 -04:00
Lily Tsuru 6eada83eeb lcpu/lua: Add Wiremod interface
Another thing checked off the todo list!

Now all I really need to do is uploading (maybe get to work on the project system too?)

This removes the lua test device since it was just that - a test
2023-07-29 01:56:19 -04:00
Lily Tsuru d3cee95b14 lcpu/lua: Move Lua device implementations into seperate "LCPU.Devices" namespace 2023-07-28 18:12:27 -04:00
Lily Tsuru 8eb4b6ef41 lcpu: Misc cleanup
LuaDevice now works fully, without any weird bugs. Yay!
This took quite a bit of bugstomping to arrive to; some of which ended up discovering I'm not particularly proud of doing. Oops!

The LuaCpu implementation no longer has a UART implementation in C++ (which actually leaked everytime a LuaCpu was garbage collected... Yeesh) - instead the Lua entity code actually implements the UART! Pretty cool to see the fruits of my labor actually working!

The LuaHelpers macros are renamed slightly to make them less of a pain (and also because I think having `_IMPLEMENT` in a function implementation is a bit stupid.)

I have updated the ideas document to better reflect my plans for the project system.
2023-07-28 06:05:58 -04:00
Lily Tsuru bdd6839fa2 lcpu/lua: remove "rapid iteration" test code 2023-07-27 17:11:26 -04:00
Lily Tsuru 1d0830160b fixup luadevice binding a bit 2023-07-27 16:55:29 -04:00
Lily Tsuru 14614a72d3 lcpu: Remove TestObject entirely 2023-07-27 16:38:01 -04:00
Lily Tsuru deadeb5c51 Move LuaDevice to LuaObject 2023-07-27 16:30:59 -04:00
Lily Tsuru 1b347eecc8 lcpu: Cleanup, and begin the implementation of a new system for Lua binding
I didn't like how I did it before, and I don't like how right now everything binds a bit differently.

So let's unify it using the way I like (from the LuaDevice binding)!
2023-07-27 07:16:39 -04:00
Lily Tsuru 40c539bf22 lcpu: Lua devices now work!!
now i can like, actually finish this thing

i will probably commonize all the stuff the luadevice class is doing right now into its own object, since I think that it would be very useful to have elsewhere. but for now it's not common :(
2023-07-27 06:03:28 -04:00
Lily Tsuru c69dc8d753 lcpu: FINALLY begin implementing the addon!! 2023-07-24 20:17:07 -04:00
Lily Tsuru 887b66bbb0 test lua binding things 2023-07-24 06:50:18 -04:00
Lily Tsuru 16ac661643 cleanup 2023-07-19 03:18:34 -04:00
Lily Tsuru 8d7e8c3a11 add scripts for building llvm (for inclusion in addon root) 2023-07-16 21:10:59 -04:00
Lily Tsuru 1d14a89fb7 begin actually setting up the repository as a GMod addon.. 2023-07-16 06:05:19 -04:00