aboutsummaryrefslogtreecommitdiffstats
path: root/csc/loop-test.csc
AgeCommit message (Collapse)AuthorFilesLines
2022-08-01Modify the project structure.Rose Hogenson1-294/+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-26Fix a potential R7RS issue.Rose Hogenson1-216/+218
I was using the load procedure to load a program, but by a strict reading of R7RS, load can only handle expressions and definitions, not imports. So instead I'm defining each test as a library, and using the environment procedure to load them at runtime.
2022-07-24Fix a bug in loop with nested collect statements.Rose Hogenson1-0/+9
2022-07-24Improve the loop macro collect statement.Rose Hogenson1-0/+30
Now you can use multiple collect statements and they will all accumulate into the same variable. I think in common lisp you could collect into the same variable even with collect x into, but it's pretty unclear to me how to do that in Scheme. How would we know that they are the same variable?
2022-01-25Fix the bugs in loop.Rose Hogenson1-12/+157
It works! Sometimes it emits nested loops!
2022-01-22Add a loop macro.Rose Hogenson1-0/+108