Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Writing a Lisp: String Interpolation (reinvanderwoerd.nl)
64 points by reinvdwoerd on April 20, 2017 | hide | past | favorite | 3 comments


This probably would have been a nice excuse to implement reader macros and implement it that way, it's kinda a shame to have it implemented in the interpreter since most of the joy of Lisp is how much of the language can be written in the language itself.


Good suggestion, I'll look into it.


heist (https://github.com/jcoglan/heist) a lisp interpreter in ruby also supports string interpolation. however, i think this is a side effect of how they implemented string escaping. like you want to support \r\n\t, etc. if you send strings into Kernel#eval you get this for free :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: