freenode/#sicl - IRC Chatlog
Search
19:46:41
shka_
beach: i like the sense of style already, i just finished the first chapter and it was enough to feel the sudden urge to write
4:37:00
beach
Yesterday, I again worked on code generation. I made progress on how to handle the CATCH-INSTRUCTION, but doing so required some reorganization of the different systems, so it is taking some time.
4:37:59
beach
The idea is to handle the CATCH-INSTRUCTION as a FUNCALL-INSTRUCTION, but not translate it. I need to keep the arbitrary number of successors until the very end, or at least that's the plan.
4:39:19
beach
But I will preprocess the CATCH-INSTRUCTION just as I do with the FUNCALL-INSTRUCTION, i.e. make it have no outputs, and instead have its values in the distinguished global-values location.
4:40:00
beach
I can do this in HIR which makes it possible to test the entire thing in the HIR interpreter, which is a good thing.
4:40:17
beach
But I then have to import another function into the environments during bootstrapping.
4:41:49
beach
When I am done with the CATCH-INSTRUCTION, I will do the same with the UNWIND-INSTRUCTION and the BIND-INSTRUCTION, i.e. I will either treat them as FUNCALL-INSTRUCTIONs, or translate them to one.