weiner@novavax.UUCP (Bob Weiner) (01/06/90)
In article <KIM.90Jan5113441@helios.enea.se> kim@helios.enea.se (Kim Wald`n) writes:
Try "The Eiffel Object-Oriented Parsing Library" by Philip Hucklesby and
Bertrand Meyer in proc. Technology of Object-Oriented Languages and Systems
(TOOLS'89), pp. 501-507, Paris, France, Nov. 1989.
The article describes a library of classes for lexical analysis and
parsing, along with a tool, yoocc ("Yes! and Object-Oriented Compiler
Compiler), making it possible to generate parsers, where the
syntactic and semantic parts are cleanly separated.
Could someone post more information on 'yoocc' and what it does beyond
the lexical/parser classes and Eiffel compiler presently sold with ISE's
Eiffel?
For most object-oriented languages, the complex inheritance
structures needed to achieve this flexibility prevents its use in
production quality compilers, due to bad performance.
In the strongly typed Eiffel language, it becomes feasible thanks to the
efficient implementation of multiple inheritance and dynamic bindning.
Does anybody have any hard evidence that parsers for significant
languages build in this way are at least comparable in performance to
yacc parsers of the same grammars?
--
Bob Weiner, Motorola, Inc., USENET: ...!gatech!uflorida!novavax!weiner
(407) 364-2087