Related articles |
---|
[2 earlier articles] |
Re: why use flex? rkrayhawk@aol.com (1999-01-31) |
Re: why use flex? tnaran@direct.ca (1999-02-01) |
Re: why use flex? colas@aye.inria.fr (1999-02-03) |
Re: why use flex? Marko.Makela@HUT.FI (Marko =?ISO-8859-1?Q?M=E4kel=E4?=) (1999-02-03) |
Re: why use flex? tnaran@direct.ca (1999-02-05) |
Re: why use flex? Theodore.Papadopoulo@sophia.inria.fr (Theodore.Papadopoulo) (1999-02-05) |
Re: why use flex? Marko.Makela@HUT.FI (Marko =?ISO-8859-1?Q?M=E4kel=E4?=) (1999-02-10) |
Re: why use flex? wvenable_net@iname.com (1999-02-15) |
Re: why use flex? dmitrik@my-dejanews.com (Dmitri Katchalov) (1999-02-16) |
From: | Marko =?ISO-8859-1?Q?M=E4kel=E4?= <Marko.Makela@HUT.FI> |
Newsgroups: | comp.compilers |
Date: | 10 Feb 1999 18:10:41 -0500 |
Organization: | Helsinki University of Technology, CS lab |
References: | 99-01-111 99-02-004 99-02-015 99-02-018 |
Keywords: | flex, yacc, C++ |
>>>>> "Travers" == Travers Naran <tnaran@direct.ca> writes:
Travers> Currently, one has to ask Flex/Bison to emit their scanners
Travers> and parsers with a prefix, which isn't that bad, but it makes
Travers> it difficult to, say, switch lexers at run-time for a source
Travers> code highlighting system.
Is there any freely available source code that demonstrates this?
Mr. Papadopoulo pointed out that C++ forbids putting objects into
unions. That is why I'm using object pointers (and NULL pointers in
error rules and for representing missing optional symbols). I'd also
like to see how exceptions could be used to recover from errors.
Marko Mäkelä
Return to the
comp.compilers page.
Search the
comp.compilers archives again.