File Information
File: 05-lr/acl_arc_1_sum/cleansed_text/xml_by_section/abstr/91/e91-1012_abstr.xml
Size: 1,095 bytes
Last Modified: 2025-10-06 13:47:06
<?xml version="1.0" standalone="yes"?> <Paper uid="E91-1012"> <Title>Non-deterministic Recursive Ascent Parsing Ren~ Leermakers</Title> <Section position="1" start_page="0" end_page="0" type="abstr"> <SectionTitle> ABSTRACT </SectionTitle> <Paragraph position="0"> A purely functional implementation of LR-parsers is given, together with a simple correctness proof. It is presented as a generalization of the recursive descent parser. For non-LR grammars the time-complexity of our parser is cubic if the functions that constitute the parser are implemented as memo-functions, i.e. functions that memorize the results of previous invocations. Memo-functions also facilitate a simple way to construct a very compact representation of the parse forest. For LR(0) grammars, our algorithm is closely related to the recursive ascent parsers recently discovered by Kruseman Aretz \[1\] and Roberts \[2\]. Extended CF grammars (grammars with regular expressions at the right hand side) can be parsed with a simple modification of the LR-parser for normal CF grammars.</Paragraph> </Section> class="xml-element"></Paper>