Skip to content

dottharun/lilac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lilac

Experimental interpreter written from scratch in c

lilac_lexer-2024-10-12_21.14.41.mp4
lilac_parser-2024-10-12_21.21.23.mp4

setup

Build Deps

  • clang > 18.1.8
  • curl

Build

  • make deps to setup include file deps
  • make or make all to build the app in out/

Dev Env

  • uses bear to build compilation_database for lsp
    • make compile-db

Testing

  • make test builds the test_runner in out/, then just run it with ./out/test_runner
  • Lilac uses greatest for the test suites
    • so separate test suites can be ran via -s flag with many other options

usage

Build the binary output with make command.

For lexer output:

./out/lilac --lexer

For parser output:

./out/lilac --parser

Releases

No releases published

Packages

No packages published

Languages