|dynamic parsers re parser generators firstname.lastname@example.org (2002-03-31)|
|Re: dynamic parsers re parser generators email@example.com (2002-04-06)|
|Re: dynamic parsers re parser generators firstname.lastname@example.org (joel de guzman) (2002-04-13)|
|Date:||31 Mar 2002 23:41:35 -0500|
|Posted-Date:||31 Mar 2002 23:41:35 EST|
I used dynamic as a term to describe the behaviour of a parser that
can adapt to its input. One example of such an input is a phrase in
the grammar describing the input that follows. Example (although these
examples may refer to the lexical analysis part of a parsing process):
% line commented with default comment character
# line commented using the "new" comment character
Or another example:
"String using \\ as an escape character\n"
"String using % as an escape character%n"
Is there any parser generator/lexical analyzer that delivers this
functionality and produces C/C++ (portable) code?
[There was a lot of work in extensible languages in the 1970s, but I
don't know anyone doing it any more. It's technically not all that hard,
but turns out not to be very useful. -John]
Return to the
Search the comp.compilers archives again.