@minas

Predictive Shift-Reduce Parsing for Hyperedge Replacement Grammars

, , and . Graph Transformation: 10th International Conference, ICGT 2017, Held as Part of STAF 2017, Marburg, Germany, July 18-19, 2017, Proceedings, volume 10373 of Lecture Notes in Computer Science, page 106--122. Cham, Springer International Publishing, (2017)
DOI: 10.1007/978-3-319-61470-0_7

Abstract

Graph languages defined by hyperedge replacement grammars can be NP-complete. We study predictive shift-reduce (PSR) parsing for a subclass of these grammars, which generalizes the concepts of SLR(1) string parsing to graphs. PSR parsers run in linear space and time. In comparison to the predictive top-down (PTD) parsers recently developed by the authors, PSR parsing is more efficient and more general, while the required grammar analysis is easier than for PTD parsing.

Links and resources

Tags

community

  • @minas
  • @dblp
@minas's tags highlighted