Commit Graph
6 Commits
Author SHA1 Message Date
BlackAngelTV 42e95d08b9 docs: describe the transpiler, its C++ API and known limits
Users need to know how to build the compiler, integrate it in CMake and which
Lua features are not supported yet.
2026-11-18 08:48:05 +01:00
BlackAngelTV 732347c70b feat(demo): add a standalone project exercising compiled modules
A separate CMake project using the compiler as a subproject shows the real
workflow: namespaced facades, require between compiled modules and dynamic
access from C++.
2026-11-18 08:48:05 +01:00
BlackAngelTV ea6fb41a48 test: compare compiled modules with the Lua 5.4 interpreter
The generated code can only be trusted if it behaves like the reference
implementation, so the same script runs both ways and the outputs are diffed.
2026-11-18 08:48:05 +01:00
BlackAngelTV 1ededcd655 build: add build script and CMake helper for compiled packages
Compiling the compiler, the example and the demo by hand is error prone, so a
single script keeps the whole flow reproducible and ignores build outputs.
2026-11-18 08:48:05 +01:00
BlackAngelTV ab5ff6978a feat(compiler): add a Lua 5.4 to C++ module transpiler
Each Lua module becomes a header/source pair exposing a C++ namespace, so Lua
code can be linked and consumed like any C++ package while keeping the exact
semantics of the official 5.4 VM.
2026-11-18 08:48:05 +01:00
BlackAngelTV b7636626fe Initial commit 2026-11-18 08:48:05 +01:00