Re: Status of ayacc and aflex?



Ludovic Brenta wrote:
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 its lexical-analysis functions a lot, for many different purposes. It works quite well enough for me. However, I can generally myself design the language to be analysed. I would not be surprised to find some awkward problems with languages that have been defined by others -- but that probably holds for any general lexical-scanner tool.

I very much like the absence of any "generator" step -- a simple "gnatmake" is enough to update the application after a change to the token structure.

I have not used the parsing functions in OpenToken; they did not exist when I started to use OpenToken, so I got into the habit of writing my parsers manually.

--
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
. @ .
.