4 ms·
Lisp was meant to be written with M-expressions instead of S-expressions anyway.
by rauli_ 5mo ago
Lisp was meant to be written with M-expressions instead of S-expressions anyway.
- reikonomusha 5mo agoFor a brief period of time over 60 years ago, yes. :)
- SideQuark 5mo agoM-expressions were never implemented and never used.
- Grosvenor 5mo agoExcept in mathematica - which isn’t formally a lisp, but practically it’s used like one a lot of the time.
- ux266478 5mo agoHaskell's syntax comes from ISWIM, which was motivated quite a lot by m-expressions.
- vincent-manis 5mo agoActually, 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.
- pfdietz 5mo agoIt'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.
- drob518 5mo agoIf 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.