Skip to content
/ ez Public

An ez language implemented with OCaml, Cpp and LLVM.

License

Notifications You must be signed in to change notification settings

glyh/ez

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ez

An ez language implemented with OCaml, Cpp and LLVM.

Requirements

  • LLVM 18.1
  • opam 2.2
  • libprotoc 28.3

Building

  • Clone the repo and init the switch
git clone https://github.com/glyh/ez
cd ez
opam switch create . --deps-only --with-test -y
  • For developing, you may want to have LSP and other stuffs available
opam install --switch=. -y ocamlformat ocaml-lsp-server utop ocaml-protoc
  • Update the environment, for example if you're on bash:
eval $(opam env)
  • Build both frontend and backend with
make

Running

./compile ./examples/fib.ez

References

Code Generation

About

An ez language implemented with OCaml, Cpp and LLVM.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published