Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
First version of the OCaml port that compiles succesfully
  • Loading branch information
juusaw committed Mar 26, 2019
0 parents commit 17aea8b
Show file tree
Hide file tree
Showing 8 changed files with 1,369 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
ocamlyacc parser.mly
echo "open Syntax\n\n$(cat parser.mli)" > parser.mli
ocamllex Lexer.mll
ocamlc -o troll \
syntax.ml\
parser.mli parser.ml \
lexer.ml \
interpreter.mli interpreter.ml \
main.ml
Loading

0 comments on commit 17aea8b

Please sign in to comment.