How dslab-epfl/chef-symbex-lua works
Project type and purpose
• This is the Lua 5.2.2 language implementation—a small-footprint, embeddable scripting language interpreter and compiler.
• It provides both an interactive interpreter (lua) and a bytecode compiler (luac), plus the core VM, standard libraries, documentation, and build/test tooling under chef.
File structure
• Top-level:
• src/ – C source code for the core: lexer, parser, bytecode generator, VM, standard libraries, C API.
• doc/ – HTML man pages and user manual.
• chef/ – Python and Lua scripts to drive tests, coverage analysis, and target-language transpilation.
• Makefiles at top and in src/ & chef/ for building C binaries and running tooling.
• Naming conventions: modules in src/l*.c for each subsystem (e.g., llex.c for lexical analysis, lparser.c for parsing, lvm.c for the virtual machine).
• Build and deployment: classic GNU Make; no external services.
README for additional insights
• Confirms version and points to doc/readme.html for installation and licensing.
Detail
• Header/API boundary between src/ modules and external C applications.
• Both runtime flow (execution) and offline build/test flow (chef).