aboutsummaryrefslogtreecommitdiffstats
path: root/test/littlesemantics/little_interp.ml
diff options
context:
space:
mode:
Diffstat (limited to 'test/littlesemantics/little_interp.ml')
-rw-r--r--test/littlesemantics/little_interp.ml4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/littlesemantics/little_interp.ml b/test/littlesemantics/little_interp.ml
new file mode 100644
index 00000000..de861419
--- /dev/null
+++ b/test/littlesemantics/little_interp.ml
@@ -0,0 +1,4 @@
+
+try
+ Little_syntax.main Little_lex.token (Lexing.from_channel stdin)
+with Parsing.Parse_error -> print_string("parsing_error\n");;