aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChouser <chouser@n01se.net>2015-01-27 11:30:05 -0500
committerChouser <chouser@n01se.net>2015-01-30 12:54:43 -0500
commit44d4e31fc8387a52918992ed40bd4b20d7646f39 (patch)
treefaab8fbede1c27a989331aad3af24b1bd622fb1c
parent04e33074cc516fe4b79a6319c7a211002902a846 (diff)
downloadmal-44d4e31fc8387a52918992ed40bd4b20d7646f39.tar.gz
mal-44d4e31fc8387a52918992ed40bd4b20d7646f39.zip
Ocaml: Add step 5, TCO worked automatically in Ocaml
-rw-r--r--Makefile1
-rw-r--r--ocaml/Makefile2
l---------ocaml/step5_tco.ml1
3 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a0b2f7b..63fd693 100644
--- a/Makefile
+++ b/Makefile
@@ -34,6 +34,7 @@ EXCLUDE_TESTS += test^go^step5 # test completes, even at 100,000
EXCLUDE_TESTS += test^php^step5 # test completes, even at 100,000
EXCLUDE_TESTS += test^ruby^step5 # test completes, even at 100,000
EXCLUDE_TESTS += test^rust^step5 # no catching stack overflows
+EXCLUDE_TESTS += test^ocaml^step5 # test completes, even at 1,000,000
# interop tests now implemented yet
EXCLUDE_TESTS += test^cs^stepA test^java^stepA test^mal^stepA \
diff --git a/ocaml/Makefile b/ocaml/Makefile
index bad3f60..299b2c4 100644
--- a/ocaml/Makefile
+++ b/ocaml/Makefile
@@ -1,5 +1,5 @@
STEPS = step0_repl.ml step1_read_print.ml step2_eval.ml step3_env.ml \
- step4_if_fn_do.ml
+ step4_if_fn_do.ml step5_tco.ml
MODULES = types.ml reader.ml printer.ml env.ml core.ml
LIBS = str.cmxa
MAL_LIB = mal_lib.cmxa
diff --git a/ocaml/step5_tco.ml b/ocaml/step5_tco.ml
new file mode 120000
index 0000000..ab0ca0b
--- /dev/null
+++ b/ocaml/step5_tco.ml
@@ -0,0 +1 @@
+step4_if_fn_do.ml \ No newline at end of file