From 30b04e4b2a90981570ae04095aeccd746ccdea6a Mon Sep 17 00:00:00 2001 From: Mel Date: Mon, 29 Dec 2025 00:58:21 +0100 Subject: Add first bootstrapping transpiler test Signed-off-by: Mel --- boot/tests/transpile/basic.cskt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 boot/tests/transpile/basic.cskt (limited to 'boot/tests/transpile') diff --git a/boot/tests/transpile/basic.cskt b/boot/tests/transpile/basic.cskt new file mode 100644 index 0000000..f904259 --- /dev/null +++ b/boot/tests/transpile/basic.cskt @@ -0,0 +1,16 @@ +the transpiler has to follow a simple pattern of +the files it creates to make viable c source. +here we check that the simplest possible file has +all of the expected parts needed. + +<<< + +main = fun () { +} + +>>> + +#include "boot/runtime/core.c" +void catskill_main(void) { +} +#include "boot/runtime/runtime.c" \ No newline at end of file -- cgit 1.4.1