Skip to content

nikoulai/EdsgerCompiler

Repository files navigation

Compilers - NTUA

Implementation of compiler for Edsger programming language in OCaml, using ocamllex, ocamlyacc and LLVM.

Libraries: Go to folder libs/edsger_lib and run ./lib.sh to create lib.a (leave it there)

Makefile options:    
					make
					make clean
					make distclean
					make pack
					make count

Run:
		./Main.byte path/to/source.eds [-o] [-i] [-f] [-ast]
		
		-i: input in stdin and IR in stdout
		-f: input in stdin and final code in stdout
		-o: optimizations
		-ast: print ast tree in compilation

Outputs: path/to/{source,source.imm,source.asm}


Authors:
	Nikos Iliakis
	Aspa Skalidi

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published