aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2025-01-05 18:46:28 +0800
committerRunxi Yu <me@runxiyu.org>2025-01-05 18:46:28 +0800
commit990db9b0d2e6f0b05446ab45d9a11c1fe93574b2 (patch)
tree356f8be3914cb289ba6ef904d4d0c12aae0fe363
parentAdd LICENSE (diff)
downloadtau1-990db9b0d2e6f0b05446ab45d9a11c1fe93574b2.tar.gz
tau1-990db9b0d2e6f0b05446ab45d9a11c1fe93574b2.tar.zst
tau1-990db9b0d2e6f0b05446ab45d9a11c1fe93574b2.zip
Scheme stub
-rw-r--r--.gitignore1
-rw-r--r--Makefile2
-rw-r--r--tau1.scm1
-rw-r--r--tests/hello_world.e2s4
4 files changed, 8 insertions, 0 deletions
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)))