Skip to content

Latest commit

 

History

History

src

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Source Structure

The project is structured into two major parts:

  • frontend is the compiler frontend which implements the command line executable
  • library is the implementation of both the runtime as well as the compiler. It is structured into several modules:
    • library/compiler is the compiler which translates LoLa source code into LoLa byte code
    • library/runtime is the virtual machine implementation that allows running LoLa byte code
    • library/stdlib is the implementation of the LoLa standard library and builds on the runtime
  • tools contains small tools that are used in this repo, but have no relevance to LoLa itself. One example is the markdown renderer for the website.
  • test contains source files that are used to test the compiler and runtime implementation. See build.zig and the source files in library for the use of those. Each file in this folder has a header that explains its usage.