aboutsummaryrefslogtreecommitdiffstats
path: root/csc/linker-test.csc
AgeCommit message (Collapse)AuthorFilesLines
2022-07-26Fix a potential R7RS issue.Rose Hogenson1-63/+65
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-26Fix an issue with how the linker combined files.Rose Hogenson1-15/+23
I inserted jump statements into the bytecode at the beginning of each compilation unit, to jump to the init label. The point is that now the bytecode can be executed from start to finish, and assuming the libraries were ordered correctly, it will run the full program.
2022-07-25Re-write the linker.Rose Hogenson1-10/+49
2022-01-11Move scheme compiler into a separate directory.Rose Hogenson1-0/+24