An ez language implemented with OCaml, Cpp and LLVM.
- LLVM 18.1
- opam 2.2
- libprotoc 28.3
- 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./compile ./examples/fib.ez