OCaml implementation of the CiviC compiler for Compiler Construction course at UvA

Taddeus Kroes 45061a77b2 Added README il y a 12 ans
bin32 ee11dce399 Started on implementing CiviC compiler il y a 12 ans
doc ee11dce399 Started on implementing CiviC compiler il y a 12 ans
phases 28bb7272d4 Mostly fixed line numbers + added fancy error message il y a 12 ans
test 4f112ab59c Did a lot of stuff: il y a 12 ans
.gitignore 3747dc9846 Added C preprocessor to parser + quickfix to make code work il y a 12 ans
Makefile 28bb7272d4 Mostly fixed line numbers + added fancy error message il y a 12 ans
OCamlMakefile ee11dce399 Started on implementing CiviC compiler il y a 12 ans
README.md 45061a77b2 Added README il y a 12 ans
ast.ml 4f112ab59c Did a lot of stuff: il y a 12 ans
lexer.mll 28bb7272d4 Mostly fixed line numbers + added fancy error message il y a 12 ans
main.ml 28bb7272d4 Mostly fixed line numbers + added fancy error message il y a 12 ans
parser.cpp.mly 4f112ab59c Did a lot of stuff: il y a 12 ans
stringify.ml 4f112ab59c Did a lot of stuff: il y a 12 ans
stringify.mli ee11dce399 Started on implementing CiviC compiler il y a 12 ans
util.ml 4f112ab59c Did a lot of stuff: il y a 12 ans
util.mli 4f112ab59c Did a lot of stuff: il y a 12 ans

README.md

CiviCaml

CiviCaml is a compiler for the CiviC language, written in OCaml.

Issues & TODO

  • Advance newlines in multi-line comments.
  • Create arguments record to pass to phases, instead of separate variables (e.g. verbose -> args.verbose).
  • Clean up position getter in parser and remove C preprocessor.