News for hackers. Stuff that matters.
Re:Ask HN: Please Review My Metalanguage by UncleEntity on Thursday February 09, 2023 @05:26AM (#34721970)
Not really a fan of using ‘&’ as the concatenation operator instead of the traditional EBNF way. The examples show both ways with the TOKEN_SEP (? space I guess) not seeming to need it.

Also the string rules look like they don’t allow an empty string, maybe intentionally as that’s probably a bug in someone’s grammar.

About as far as I got on a quick glance, got distracted by the mathematical operators and other things like concatenation sharing the same tokens and started thinking how hard it would be to parse it.

There are no comments on this comment yet.