diff options
author | lrg <lrg@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2006-10-20 10:38:22 +0000 |
---|---|---|
committer | lrg <lrg@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2006-10-20 10:38:22 +0000 |
commit | f0198ebf9430d286ce7c9a53b703e967ce86481c (patch) | |
tree | ac069673f4a94e079bf12505c4f0a58baeea34ef /test/littlesemantics/little_interp.ml | |
parent | eb7c8587f462adca878088ef5f610c81734efc70 (diff) | |
download | compcert-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.ml | 4 |
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");; |