Re:A different take on S-expressions
by velcrovan on Wednesday June 18, 2025 @02:18PM
(#44312113)
It gets worse/better. Since Racket allows you to hook your own reader in front of (or in place of) the default reader, you can have things like 2D syntax:
https://docs.racket-lang.org/2d/index.html
[ Parent
| on HN ]
That's amazing and terrible at the same time. I love it.
Truth be told, you can intercept the reader in Common Lisp, too, and here it actually makes some sense since the 2D value is immediately visually grokkable as an ASCII-art table. The proposed 2D sexpr notation does not have this.