3 ms·
Thanks. I'll cons this on to my list of parenthesis-free Lisps. The others were Lisp 2, CGOL, and Dylan. None of these was ever used much (AFAIK Lisp 2 wa
by DonaldFisk 6y ago
Thanks. I'll cons this on to my list of parenthesis-free Lisps. The others were Lisp 2, CGOL, and Dylan. None of these was ever used much (AFAIK Lisp 2 was never even implemented).
Lisp doesn't really have its own syntax, as it borrows the syntax it uses (and needs) to enter data. Its parser is just the read function. The special characters, e.g. open parenthesis, quote, hash, etc. are (or can be implemented as) read macros. Read macros can be used to add syntactic sugar if you want to, but there's really no need.
And finally, the bad old days of self-indenting Lisp programs and counting parentheses are over. The editors used for Lisp (predominantly EMACS and variants) autoindent code and then you stop noticing the parentheses and it looks to you much like Python, except more powerful.