Re:Parsing Algorithms
by tgv on Monday October 26, 2020 @04:06PM
(#24900712)
TBH, that's not a problem of LALR(1), or any of the other, more old fashioned methods. I've written an LL(1) parser generator that (generates a function that) parses modern awk, without semicolons, but with operator-less concatenation, and that can deal with tokens that can be keywords and identifiers (which is also needed for e.g. FORTRAN). As long as your language is deterministic, it can be expressed as an LR grammar, although legibility might suffer.
[ Parent
| on HN ]
There are no comments on this comment yet.