3 ms·
As I said, you can make a version of Python that uses s-expressions without changing anything else about the language. You can even give that same treatment to
by eru 4y ago
As I said, you can make a version of Python that uses s-expressions without changing anything else about the language. You can even give that same treatment to C! Python is also perfectly capable of manipulating s-expressions at runtime. (It's much more of a hassle in C. But that's because almost everything is more of a hassle in C.)
Homoiconicity is fun, but it's not a very deep property of your favourite language.
See https://github.com/eratosthenesia/lispc https://github.com/eratosthenesia/lispc for someone making a C with s-expression syntax.
- iamnotsure 4y agoMy point was that LISP (1958) appeared earlier than Python (1991). What would be a deep property of a programming language?