Re:Ask HN: Please Review My Metalanguage
by UncleEntity on Thursday February 09, 2023 @06:33AM
(#34722445)
> Using whitespace as an operator was just causing too much trouble and making the more complex grammars harder for a human to follow…
Something (it’s late and I don’t quite remember) I’ve been playing with lately defines a rule named ‘_’ as the whitespace token so the grammars are both easily read and clear. Be like:
Something (it’s late and I don’t quite remember) I’ve been playing with lately defines a rule named ‘_’ as the whitespace token so the grammars are both easily read and clear. Be like: