From 0d7cb228076354f893527bce2d426e21697832a9 Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Sat, 15 Jan 2022 22:40:01 -0800 Subject: Finish the macro expander. It works!! At least it passes all the test cases. Next I will: 1. finish the builtins, 2. add a conversion to IR2 in continuation passing style, 3. add a compiler from IR2 to bytecode, 4. and add an option to the frontend compiler to generate a standalone executable. --- csc/assert-test.csc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 csc/assert-test.csc (limited to 'csc/assert-test.csc') diff --git a/csc/assert-test.csc b/csc/assert-test.csc new file mode 100644 index 0000000..4341ac7 --- /dev/null +++ b/csc/assert-test.csc @@ -0,0 +1,14 @@ +(import (scheme base) + (only (csc testing) + assert-raises + test) + (csc assert)) + + +(test assert-raises + (assert-raises error-object? + (assert #f))) + + +(test assert-ok + (assert #t)) -- cgit v1.3.1