Towards Abstract-Syntax-Preserving Grammar Migrations
Reusing a grammar written in one grammar formalism in a different grammar formalism typically requires a non-trivial migration. Several automatic migrations exist, but these are focused on preserving the surface (concrete) syntax (the set of sentences generated by the grammar). We have started the construction of grammar migrations that also preserve the underlying (abstract) syntactic structure. Concretely, we have constructed migrations from Xtext and LBNF to SDF3. We discuss challenges we observed in this construction, and discuss ideas for generalization.
Sun 25 OctDisplayed time zone: Eastern Time (US & Canada) change
15:30 - 17:00
|Towards Abstract-Syntax-Preserving Grammar Migrations|
Martijn Dwars Delft University of Technology, Jeffrey Goderie Delft University of Technology, Eduardo Amorim Delft University of Technology, Guido Wachsmuth Delft University of Technology, Eelco Visser Delft University of TechnologyFile Attached