Title :
YooccLa: a parser generator for L-attributed grammars
Author :
Butler, Gerry ; Mingins, Christine
Author_Institution :
Sch. of Comput. Sci., Monash Univ., Clayton, Vic., Australia
Abstract :
Argues that a parser generator can be developed that: (1) can bring parser technology within the reach of more software engineers, (2) requires less knowledge of parser technology than most existing parser generators, and (3) can allow a parser to be used where a designer might otherwise have chosen a fully procedural solution. A parser generator, called YooccLa (Yes! An Object-Oriented Compiler Compiler with left-attributes), has been developed to achieve these goals. It reads a non-left-recursive LL grammar specified in an EBNF-like language, augmented with Eiffel features specifying semantic actions. For each grammar production, YooccLa produces a pair of classes for the Eiffel Parse library: a syntax class specifying the syntax to Eiffel Parse, and a construct class specifying the semantics
Keywords :
attribute grammars; compiler generators; object-oriented languages; object-oriented programming; software libraries; specification languages; EBNF-like language; Eiffel Parse library; Eiffel features; YooccLa; left-attributed grammars; nonleft-recursive LL grammar; object-oriented compiler compiler; parser generator; semantic actions; software engineering; syntax class; Application software; Chemical analysis; Chemical technology; Computer languages; Computer science; Design engineering; Knowledge engineering; Production; Software libraries; Text recognition;
Conference_Titel :
Technology of Object-Oriented Languages and Systems, 2000. TOOLS-Pacific 2000. Proceedings. 37th International Conference on
Conference_Location :
Sydney, NSW
Print_ISBN :
0-7695-0918-5
DOI :
10.1109/TOOLS.2000.891371