diff options
author | filip <“filip.rabiega@gmail.com”> | 2025-04-22 18:38:38 +0200 |
---|---|---|
committer | filip <“filip.rabiega@gmail.com”> | 2025-04-22 18:59:19 +0200 |
commit | 2e893fd0df7dae8c4ae843d4a23acb098dd97aff (patch) | |
tree | 1f4a50da28d2e6ef04b2fc2b663790b42352f2ca /test/test_lexing.ml | |
parent | af76b11278204c25428c4f95ef51d4aa8f2a1e0e (diff) | |
download | chadprover-2e893fd0df7dae8c4ae843d4a23acb098dd97aff.tar.gz chadprover-2e893fd0df7dae8c4ae843d4a23acb098dd97aff.tar.bz2 chadprover-2e893fd0df7dae8c4ae843d4a23acb098dd97aff.zip |
added a functional parser
Diffstat (limited to 'test/test_lexing.ml')
-rw-r--r-- | test/test_lexing.ml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/test_lexing.ml b/test/test_lexing.ml new file mode 100644 index 0000000..04a0901 --- /dev/null +++ b/test/test_lexing.ml @@ -0,0 +1,7 @@ +open Chadprover.To_string +open Chadprover.Lexing.Lexer + +let _ = + let tokens = lex "a|b c && d i love sushi&!!!" in + let s = string_of_tokens tokens in + print_endline s |