Commit Graph

3 Commits

Author SHA1 Message Date
Lily Tsuru a5f7735d9a lucore: add Unique and Ref types
These alias the standard library unique_ptr and shared_ptr

riscv: Use Unique in many places
Uses lucore::Unique. This should hopefully help memory management somewhat.

lcpu: Use Unique
riscv::System::Create now creates a Unique

so does lucore::Library::OpenExisting
2023-08-02 05:30:18 -04:00
Lily Tsuru 568064068e projgen: Initial commit
This commit adds `projgen`, a very simplistic project generator.

Some knobs to the build system were added to ensure that only the
needed parts will build with each end (building the GMod module won't build projgen
since that isn't needed on the host)

The fun part will be figuring out how to jail things properly
2023-07-30 06:58:02 -04:00
Lily Tsuru d3cee95b14 lcpu/lua: Move Lua device implementations into seperate "LCPU.Devices" namespace 2023-07-28 18:12:27 -04:00