Skip to content

ckoparkar/lustre-compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lustre-compiler

Prototype compiler for the Lustre language. References:

Dependencies

This project is written in Haskell and thus depends on GHC and Cabal which can be installed using GHCup.

Usage

After cloning this repository you can run:

$ git submodule update --init
$ cabal v2-build all
$ cabal v2-exec lustre-compiler -- -v3 --prog=examples/test2.lus --log=dbg.log
Writing logs to HOME/lustre-compiler/dbg.log.
Writing C code to HOME/lustre-compiler/examples/test2.lus.compiled/test2.c.

License

Copyright (c) 2025, Chaitanya Koparkar

All rights reserved.

About

Compile Lustre to C

Resources

License

Stars

Watchers

Forks