aboutsummaryrefslogtreecommitdiffstats
path: root/csc/macros-test.csc
AgeCommit message (Collapse)AuthorFilesLines
2022-07-24Write a test for codegen.Rose Hogenson1-2/+1
I'm not sure yet how to test regalloc.
2022-07-03Add a diff library.Rose Hogenson1-38/+95
I was hesitant to add a diff library, but it was surprisingly easy. A straightforward application of dynamic programming.
2022-06-28Improve CPS.Rose Hogenson1-14/+15
Goodbye soup. Thanks to "Compiling with Continuations" by Appel.
2022-06-25Continue work on continuation passing style.Rose Hogenson1-1/+0
2022-04-22Remove the void type.Rose Hogenson1-5/+5
Why have void? We will just use #f.
2022-04-07Add libraries.Rose Hogenson1-3/+22
Gone is toplevel. Now everyone lives in a library.
2022-04-02Write a test for case-lambda.Rose Hogenson1-1/+13
I'm realizing that I should have started with builtin-exit and implemented the hard stuff later.
2022-03-31Improvements in macros and IR1.Rose Hogenson1-82/+14
We're omitting libraries for now, and I'll add them in later.
2022-03-03Write the compiler frontend.Rose Hogenson1-14/+92
2022-01-15Finish the macro expander.Rose Hogenson1-0/+152
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.
2022-01-14Write a first draft macro expander.Rose Hogenson1-0/+12
Committing it because it compiles. I have to write tests and debug it still.