Hacker News new | ask | show | jobs
by zetalyrae 1116 days ago
>it is the feature of the code being represented the same way as the datastructures it manipulates.

Every language can do this. You just don't get QUOTE. But any compiler can implement QUOTE.

2 comments

Maybe? Many languages can possibly expose an AST abstraction that you can use to achieve the same results, but you will have to resort to a new syntax to make that work. Compare with https://taeric.github.io/CodeAsData.html, where you can take the normal syntax of a function, but use it to get something else.

That is to say, the "quote" form in lisp is far more than just a string template, which is what it often turns into in other languages. That, or you build up a bunch of structs that you don't normally see.

XD yeah. you can implement lisp in any language.