I once wrote a tiny DSL language. I used LISP (S-Expressions with parenthesis) because it semantically fit and made the parser much easier to write. I was laughed at and ridiculed by my peers. Everyone hated it that I had to attempt two other language styles just to compensate.
I had a chuckle seeing fe syntax is LISP like and I was like “See? I’m not the only one.” Many just can’t give LISP and S-Expressions their due regard. Same for Reverse Polish Notation. I was born on the wrong planet.
cpeterso|2 years ago
https://en.wikipedia.org/wiki/M-expression
drpixie|2 years ago
But I hate coding or reading prefix (list) or postfix (rpn, forth, etc) languages. Once wrote a substantial project is Postscript - works fine but note easy on the brain.
Guess it comes from just too much familiarity with infix notation!
packetlost|2 years ago
nine_k|2 years ago
unknown|2 years ago
[deleted]
lelanthran|2 years ago
After a few of these, you stop designing syntax: you just skip the syntax and directly read ASTs instead of whatever syntax you wasted your time on.
My next language is going to be a FORTH of some type .
packetlost|2 years ago
carapace|2 years ago
baq|2 years ago