4 ms·
>> consider writing a Haskell, not a Lisp. Has anyone written a Haskell (or subset) as a hobby project? I would think it would be much harder than writing a si
by blacksmythe 16y ago
>> consider writing a Haskell, not a Lisp.
Has anyone written a Haskell (or subset) as a hobby project? I would think it would be much harder than writing a simple Lisp, which seems to be designed so that simple versions can be written almost recurvisely, where more advanced functions are decomposed into a few primatives.
- theFco 16y agoI wrote a small compiler for a 'haskell' called HNH with type inference that generates C code, with a small runtime including GC. Everything is done very naively, but it's a hugely interesting excercise. You can find it in https://github.com/fferreira/hnh https://github.com/fferreira/hnh