Skip to content

Build and compilation system

CMake-based C++ build with cross-platform packaging (DEB/RPM/AppImage/tarball), GCC JIT runtime compilation bindings, C intermediate representation for code generation, and native build integration.

Key files

  • cmake/ — CMake build system with platform dispatchers
  • src/lua_gccjit.h — libgccjit bindings for runtime C compilation
  • assets/lua/c-builder.fnl, assets/lua/c-ir.fnl — Fennel C compilation layer
  • assets/lua/native-build.fnl — native build integration

Dependencies

Dev notes

  • C Builder — C compilation via GCC JIT
  • C Ir — C intermediate representation
  • Gccjit — libgccjit binding details
  • Native Build — native C build integration

See also