Re:Challenging LR Parsing
by ChrisSD on Wednesday September 16, 2020 @12:06PM
(#24493964)
That kind of thinking inevitably leads to S-expressions.
[ Parent
| on HN ]
You might be right about that. Maybe we need more bracket flexibility or something. Or something built for TOOLING - nobody just writes freeform anymore?
Or RPN
Maybe - REBOL was interesting in the functions are all RL to precedence and operators are all LR precedence. It's clean(-ish) without being too verbose/messy.
It's not perfect - just thought it was an interesting direction to ponder...