Re: Status of ayacc and aflex?



Ludovic Brenta <ludovic@xxxxxxxxxxxxxxxxxx> writes:

Speaking of lexical analysis and recursive descent parsers, I'd like
to know whether anyone here has tried OpenToken[1] and would like to
comment on it.

[1] http://www.telepath.com/~dennison/Ted/OpenToken/OpenToken.html

I use it at work, but not as recusive descent; I write a grammar using
it.

I had to fix a couple bugs, and it can be confusing getting the
grammar to be unambiguous, but I like the resulting high-level code.

As with other grammar-oriented parsers, the error messages leave a lot
to be desired. If I ever find time, I'd like to try switching to using
it in a recursive descent way; that usually gives better error messages.

--
-- Stephe
.