Light is a strictly, statically typed, expression‑based language with first-class functions. The compiler compiles a Light program into ARM64 assembly.
See DOCUMENTATION.md for language design. See COMPILER.md for design and optimization choices. See sample.lng for a sample program.
This compiler can be built with:
mkdir buildcmake -S . -B build/cmake --build build
To compile a Light program, run ./build/llc <input_file> [output_file].
To run the tests, build the compiler and run ./build/llc-tests and ./build/llc-runtime-tests.