Commit Graph
4 Commits
Author SHA1 Message Date
BlackAngelTV cd8b8ce8eb refactor(demo): keep the demo Lua-only
Calling the compiled modules required a CMake project and a C++ main, which
contradicted the point of the compiler. A Lua entry script now prints the same
report, and the modules sit next to it so require resolves without any flag.
2026-11-18 08:48:05 +01:00
BlackAngelTV f140f30348 feat(cli): add a run mode that compiles and executes a Lua script
Writing C++ or CMake to try a Lua file makes the compiler hard to evaluate, so
one command now transpiles the script and its sibling modules, links them and
runs the result. Literal require calls resolve against the compiled modules.
2026-11-18 08:48:05 +01:00
BlackAngelTV d32f73006e build: build only the compiler and drop the example project
The example duplicated what Demo already covers, and the run mode needs the
runtime include path and Lua link flags at execution time, so they are baked in
at configure time.
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