diff options
| author | Mel <mel@rnrd.eu> | 2025-07-04 03:27:27 +0200 |
|---|---|---|
| committer | Mel <mel@rnrd.eu> | 2025-07-04 03:27:27 +0200 |
| commit | 8f2e0f0202317cc27371d2833eb93b64230ac0e8 (patch) | |
| tree | e2b395c1abbdab5fe12d22b3847c7ce7373f4bd6 /boot/tests/parse | |
| parent | 8e0beabeb4efa50a3072ef805682c0f42b6c16a8 (diff) | |
| download | catskill-8f2e0f0202317cc27371d2833eb93b64230ac0e8.tar.zst catskill-8f2e0f0202317cc27371d2833eb93b64230ac0e8.zip | |
Test suite runner prototype for `catboot`
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'boot/tests/parse')
| -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 |
