From: | bnm@indica.bbt.com (Brian N. Miller) |
Newsgroups: | comp.compilers |
Date: | 8 Jun 1996 18:27:49 -0400 |
Organization: | BroadBand Technologies, RTP NC |
References: | 96-06-010 |
Keywords: | OOP, WWW |
Oliver Plohmann <op@esec.ch> writes:
|I thought you could
|alternatively make up the parse tree of objects, like Statement,
|ConditionalBlock, Loop, etc.
...
|Does anybody know whether that kind of techiques are being applied
|meanwhile? Wat do you think about it? Bogus or not ?
Check out cppp (http://ftp.cs.brown.edu/software/catalog.html).
It applies OO to everything: scanning, parse tree construction,
semantic analysis, tree traversal, etc. Totally reusable and
customizable. The full implementation parses C++, but the
clearly separated core can be retargeted in an OO way to any
grammar. Requires lex and yacc under the hood.
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.