Art der Veröffentlichung: |
Artikel in Sammlung |
Autor: |
Frank Drewes, Berthold Hoffmann, Mark Minas |
Herausgeber: |
Francesco Parisi-Presicce, Bernhard Westfechtel |
Titel: |
Predictive Top-Down Parsing for Hyperedge Replacement Grammars |
Buch / Sammlungs-Titel: |
Graph Transformation |
Band: |
9151 |
Seite(n): |
19 – 34 |
Erscheinungsjahr: |
2015 |
Verleger: |
Springer International Publishing |
Abstract / Kurzbeschreibung: |
Graph languages defined by hyperedge replacement grammars can be NP-complete. We invent predictive top-down (PTD) parsers for a subclass of these grammars, similar to recursive descent parsers for string languages. The focus of this paper lies on the grammar analysis that computes neighbor edges of nonterminals, in analogy to the first and follow symbols used in SLL(1) parsing. The analysis checks whether a grammar is PTD parsable and yields all information for generating a parser that runs in linear space and quadratic time. |
ISBN: |
978-3-319-21144-2 |
Internet: |
http://dx.doi.org/10.1007/978-3-319-21145-9_2 |
Status: |
Reviewed |
Letzte Aktualisierung: |
05. 08. 2015 |