aboutsummaryrefslogtreecommitdiffstats
path: root/testdata
diff options
context:
space:
mode:
authorRose Hogenson <rhogenson@posteo.net>2023-05-01 07:56:42 -0700
committerRose Hogenson <rhogenson@posteo.net>2023-05-01 07:56:42 -0700
commita89d6c82e981fec7d6e4c975e083d2b9e04467ad (patch)
treed5445ceb797473dd45ac006c337d990e5dd6f0d4 /testdata
parent112ce5291da35e54c38c4ff1d7a2408a64a98e71 (diff)
downloadchromatopelma-a89d6c82e981fec7d6e4c975e083d2b9e04467ad.tar.zst
Rewrite most of the compiler.
This represents a major step back in terms of functionality, and amount of code. The latter I think constitutes a major win. Next steps are to reimplement syntax-rules, call/cc, and call-with-values.
Diffstat (limited to 'testdata')
-rw-r--r--testdata/exit.scheme3
1 files changed, 3 insertions, 0 deletions
diff --git a/testdata/exit.scheme b/testdata/exit.scheme
new file mode 100644
index 0000000..09fbdc2
--- /dev/null
+++ b/testdata/exit.scheme
@@ -0,0 +1,3 @@
+; expected result: exit with status 27.
+(import (csc builtins))
+(call-builtin exit 27)