aboutsummaryrefslogtreecommitdiffstats
path: root/csc/loop.csc
AgeCommit message (Collapse)AuthorFilesLines
2022-06-28Improve CPS.Rose Hogenson1-1/+2
Goodbye soup. Thanks to "Compiling with Continuations" by Appel.
2022-01-25Nitpick on loop style.Rose Hogenson1-3/+4
2022-01-25Use an exception for loop return.Rose Hogenson1-18/+12
This makes everything a lot easier, as it handles nested loops automatically. My brain wave was storing the returned values in a thunk.
2022-01-25Fix the bugs in loop.Rose Hogenson1-32/+73
It works! Sometimes it emits nested loops!
2022-01-24Finish the loop macro.Rose Hogenson1-157/+338
I also cleaned everything up a lot. Maybe there are still bugs because the test coverage is awful, but for now I'm happy to be done.
2022-01-22Add a loop macro.Rose Hogenson1-0/+194