Skip to content

Latest commit

 

History

History
41 lines (34 loc) · 1.06 KB

README.md

File metadata and controls

41 lines (34 loc) · 1.06 KB

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