From 8f2e0f0202317cc27371d2833eb93b64230ac0e8 Mon Sep 17 00:00:00 2001 From: Mel Date: Fri, 4 Jul 2025 03:27:27 +0200 Subject: Test suite runner prototype for `catboot` Signed-off-by: Mel --- boot/tests/parse/basic.cskt | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 boot/tests/parse/basic.cskt (limited to 'boot/tests/parse/basic.cskt') 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 -- cgit 1.4.1