From 990db9b0d2e6f0b05446ab45d9a11c1fe93574b2 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 5 Jan 2025 18:46:28 +0800 Subject: Scheme stub --- .gitignore | 1 + Makefile | 2 ++ tau1.scm | 1 + tests/hello_world.e2s | 4 ++++ 4 files changed, 8 insertions(+) create mode 100644 .gitignore create mode 100644 Makefile create mode 100644 tau1.scm create mode 100644 tests/hello_world.e2s diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..877041a --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/tau1 diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..3b87ba1 --- /dev/null +++ b/Makefile @@ -0,0 +1,2 @@ +tau1: tau1.scm + csc -o tau1 tau1.scm diff --git a/tau1.scm b/tau1.scm new file mode 100644 index 0000000..94c5a7d --- /dev/null +++ b/tau1.scm @@ -0,0 +1 @@ +(display (read)) diff --git a/tests/hello_world.e2s b/tests/hello_world.e2s new file mode 100644 index 0000000..24b3426 --- /dev/null +++ b/tests/hello_world.e2s @@ -0,0 +1,4 @@ +(func main () () + (progn + (return-if-error (println "Hello, world!\n")) + (return))) -- cgit v1.2.3