Disambiguation for SDF3 with Deep Priority Conflicts
SDF is a syntax definition formalism used to describe context-free grammars of programming languages. The key principle underlying the design of SDF is declarative syntax definition, so that the user does not need to understand the underlying parsing algorithm, unlike other formalisms such as Yacc. This disambiguation method is able to handle common cases of operator precedence, but the current semantics of priorities fails to disambiguate some other less usual operator precedence that can be found in OCaml or Haskell languages. We propose a new semantics for SDF priorities that generalize the current approach. We describe a possible implementation of a GLR parse-table generator compliant to our semantics, and tested in the Spoofax Language Workbench.
Disambiguation for SDF3 with Deep Priority Conflicts (beamer.pdf) | 180KiB |
Sun 30 Oct Times are displayed in time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
08:30 - 08:45 Day opening | Opening Parsing@SLE | ||
08:45 - 09:10 Talk | Disambiguation for SDF3 with Deep Priority Conflicts Parsing@SLE Timothée HaudebourgENS Rennes, Luis Eduardo de Souza AmorimDelft University of Technology, Netherlands, Eelco VisserDelft University of Technology, Netherlands File Attached | ||
09:10 - 09:35 Talk | Multiple input GLL parsing Parsing@SLE Elizabeth ScottRoyal Holloway University of London, Adrian JohnstoneRoyal Holloway University of London File Attached | ||
09:35 - 10:00 Demonstration | Demonstration: Modularly Parsing Naturally Embedded DSLs in Wyvern Parsing@SLE Jonathan AldrichCarnegie Mellon University |