Reputation: 120
I'm looking for lexical analysis and parser-generating utilities that are not Flex or Bison. Requirements:
I have my eye on ANTLR, although I have never used it. Comments to that effect are appreciated. Let me know what your favorite utilities are that meet these requirements, and why you would recommend them.
Upvotes: 5
Views: 1455
Reputation: 95324
NL text tends have to lots of ambiguity. If you want to parse natural langauge, I don't think any of the classic compiler-type parser generators (LALR, LL [including ANTLR]) will help you much, and compiler type parser generators typically don't handle this at all.
A GLR parser, which does handle ambiguity, may be of some use; bison offers this as an option.
Upvotes: 1
Reputation: 223003
Guile 2.0 (to be released in about a few days) has an LALR(1) parsing library.
Upvotes: 0