3 ms·
There's actually a long tradition of writing lisps in lisp. The language really lends itself to explorations into experimental language features. Of Course, C'
by jascii 4y ago
There's actually a long tradition of writing lisps in lisp. The language really lends itself to explorations into experimental language features.
Of Course, C's tend to be written in C too, so there's that..
- dgb23 4y agoProgramming languages tend to get programmed in programming languages. The cool part is really how concise this kind of code is in a lisp (from OP): https://github.com/turbopape/scheje/blob/master/src/scheje/interpreter.cljc https://github.com/turbopape/scheje/blob/master/src/scheje/i... It's kind of magical! If someone explained this code in say a programming lecture, they would be compelled to dress like a wizard.
- Jtsummers 4y agoNot dressed as a wizard, but there is a wizard on the cover of this book which has an entire chapter on writing an interpreter like that: https://mitpress.mit.edu/sites/default/files/sicp/full-text/book/book-Z-H-25.html#%_chap_4 https://mitpress.mit.edu/sites/default/files/sicp/full-text/...
- jgwil2 4y agoOr a fez.
- kkylin 4y agoLike this? https://ocw.mit.edu/courses/6-001-structure-and-interpretation-of-computer-programs-spring-2005/resources/7a-metacircular-evaluator-part-1/ https://ocw.mit.edu/courses/6-001-structure-and-interpretati...