Hacker News new | ask | show | jobs
by kanaka 4125 days ago
mal C implementation: https://github.com/kanaka/mal/tree/master/c

Caveat, no GC. Although that could probably be added easily using the Boehm GC. I plan to do so at some point assuming nobody beats me to it.

1 comments

oh sorry, i meant if we can have a tiny C, or C-like compiler implementation. :)

(although having a C implementation is awesome, even with the caveat)

lisps are great as an instruction on the subject because of the clean and elegant design, but a C compiler requires tackling all kinds of very nasty problems...

i'm sure it would be very valuable for people wanting to go even further with gaining a practical understanding of programming language/library implementation