In Part 1, I explained why my Scheme interpreter, Schetoo, has the ability to fail or restart any instruction. In Part 2, I showed how it automatically checks that instructions do all necessary checks before they have any side effects. Those two posts described raising exceptions with longjmp, but didn’t really explain how the interpreter catches exceptions.
Posts Tagged ‘garbage collection’
Posted by kernelbob on January 4, 2011
Posted by kernelbob on January 3, 2011
Posted by kernelbob on October 20, 2008
GC is hard. Let’s go shopping.
I’ve been working on my scheme interpreter a lot. But I don’t have much to show for it. What I do have, finally, is a working garbage collector (GC). GC is a real pain to debug. Every error shows up as a memory corruption bug.
Posted by kernelbob on September 11, 2008
I’m getting psyched about the idea of writing a Scheme interpreter. I’m wondering what’s the absolute minimum amount of C code you have to write to be able to bootstrap it.