Comment by rauli_

21 hours ago

Lisp was meant to be written with M-expressions instead of S-expressions anyway.

If you want a Lisp that basically has M-expressions, try Dylan. It even started with an S-expression syntax initially and then converted to infix.

M-expressions were never implemented and never used.

  • Actually, variations on M-expressions have been created many times in the Lisp world. (Look what you can do with macros!) So far, none of them has caught on. The latest attempt for Scheme is SRFI-266, which creates a very nice infix expression sublanguage. If I were working on a team, I would encourage them to use this, but I don't know if it has enough traction to become widespread.

    • It's a common mistake to think that the syntax of Lisps are a problem. People solving the supposed problem then discover it wasn't something that needed to be solved.

  • Except in mathematica - which isn’t formally a lisp, but practically it’s used like one a lot of the time.