diff options
Diffstat (limited to 'boot/tests/parse/basic.cskt')
| -rw-r--r-- | boot/tests/parse/basic.cskt | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/boot/tests/parse/basic.cskt b/boot/tests/parse/basic.cskt new file mode 100644 index 0000000..fcc6af0 --- /dev/null +++ b/boot/tests/parse/basic.cskt @@ -0,0 +1,14 @@ +very simple test to check if +the parser works at all. :) + +<<< + +main = fun () int { + return 1 + 2 +} + +>>> + +(expr (binary = (expr (name main)) (expr (function (returns (type name int)) (block + (return (expr (binary + (expr 1) (expr 2)))) +))))) \ No newline at end of file |
