Skip to content

sameer-n012/light-lang

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Light Lang Compiler

Sameer Narendran


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.

Build Instructions

This compiler can be built with:

  1. mkdir build
  2. cmake -S . -B build/
  3. cmake --build build

Usage Instructions

To compile a Light program, run ./build/llc <input_file> [output_file].

Testing

To run the tests, build the compiler and run ./build/llc-tests and ./build/llc-runtime-tests.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published