aboutsummaryrefslogtreecommitdiffstats
path: root/test/littlesemantics/little_interp.ml
diff options
context:
space:
mode:
authorlrg <lrg@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2006-10-20 10:38:22 +0000
committerlrg <lrg@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2006-10-20 10:38:22 +0000
commitf0198ebf9430d286ce7c9a53b703e967ce86481c (patch)
treeac069673f4a94e079bf12505c4f0a58baeea34ef /test/littlesemantics/little_interp.ml
parenteb7c8587f462adca878088ef5f610c81734efc70 (diff)
downloadcompcert-f0198ebf9430d286ce7c9a53b703e967ce86481c.tar.gz
compcert-f0198ebf9430d286ce7c9a53b703e967ce86481c.zip
interpreter for "little"
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@119 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
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");;