aboutsummaryrefslogtreecommitdiffstats
path: root/csc/testing.csc
AgeCommit message (Collapse)AuthorFilesLines
2022-08-01Modify the project structure.Rose Hogenson1-91/+0
Now the lib directory contains what will eventually end up on the user's /usr/lib/csc. When I write make install, it will copy all of the .csc files from lib into the destination lib directory. This means I can start working on the standard library in lib/scheme.
2022-07-28Improve the strings API.Rose Hogenson1-23/+31
I'm just copying the go strings library API.
2022-07-20Perform argument conversion.Rose Hogenson1-4/+2
The point of argument conversion is to validate on each function call that the right number of arguments were passed, and to ensure that no function has more than 1 argument. This second condition makes CPS slightly simpler, and ensures that the arguments will all fit in locals. We take the strategy of allocating a vector for each function call. Ideally we would optimize away most of these allocations, but for now I just want it to work.
2022-07-03Add a diff library.Rose Hogenson1-5/+7
I was hesitant to add a diff library, but it was surprisingly easy. A straightforward application of dynamic programming.
2022-06-25More CPS.Rose Hogenson1-1/+1
2022-03-31Allow overriding the cmp function in assert-equal.Rose Hogenson1-4/+6
2022-01-11Move scheme compiler into a separate directory.Rose Hogenson1-0/+81