Skip to content

Thiagogresende/TPCompiladores

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tiger-compiler-ocaml

A compiler for the Tiger programming language targetting LLVM and implemented in OCaml

Preparing the environment for the project in Ubuntu >= 18.04

$ sudo add-apt-repository ppa:avsm/ppa
$ sudo apt update
$ sudo apt install m4
$ sudo apt install rlwrap
$ sudo apt install opam
$ opam switch create bcc328 4.07.1
$ eval $(opam env)
$ opam install dune ppx_import ppx_deriving menhir

How to clean

$ dune clean

How to compile

$ dune build src/driver.exe

How to test the compiler

$ dune exec src/driver.exe

References

Recipes for OCamlLex

About

Trabalho pratico de compiladores UFOP 2019.1

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published