Re:Show HN: Lisp with copying GC in 537 lines of C (plus Lis...
by mpirstitz on Sunday October 14, 2018 @08:25PM
(#18216469)
Here's my own attempt at implementing a somewhat readable copying GC in C - https://github.com/matp/tiny-lisp/blob/master/tiny-lisp.c#L1...
[ Parent
| on HN ]
Re:Show HN: Lisp with copying GC in 537 lines of C (plus Lis...
by krig on Monday October 15, 2018 @03:10AM
(#18217936)
Cool, that's an interesting solution! I tried hard to keep the GC implementation as straight-forward as possible, as a teaching aid, but I'll admit that debugging the GC was a bit of a struggle when roots weren't clearly indicated as such.