TY - GEN
T1 - Multi-purpose Syntax Definition with SDF3
AU - de Souza Amorim, Luís Eduardo
AU - Visser, Eelco
N1 - Publisher Copyright:
© 2020, The Author(s).
PY - 2020
Y1 - 2020
N2 - SDF3 is a syntax definition formalism that extends plain context-free grammars with features such as constructor declarations, declarative disambiguation rules, character-level grammars, permissive syntax, layout constraints, formatting templates, placeholder syntax, and modular composition. These features support the multi-purpose interpretation of syntax definitions, including derivation of type schemas for abstract syntax tree representations, scannerless generalized parsing of the full class of context-free grammars, error recovery, layout-sensitive parsing, parenthesization and formatting, and syntactic completion. This paper gives a high level overview of SDF3 by means of examples and provides a guide to the literature for further details.
AB - SDF3 is a syntax definition formalism that extends plain context-free grammars with features such as constructor declarations, declarative disambiguation rules, character-level grammars, permissive syntax, layout constraints, formatting templates, placeholder syntax, and modular composition. These features support the multi-purpose interpretation of syntax definitions, including derivation of type schemas for abstract syntax tree representations, scannerless generalized parsing of the full class of context-free grammars, error recovery, layout-sensitive parsing, parenthesization and formatting, and syntactic completion. This paper gives a high level overview of SDF3 by means of examples and provides a guide to the literature for further details.
KW - Parsing
KW - Programming language
KW - Syntax definition
UR - http://www.scopus.com/inward/record.url?scp=85091594415&partnerID=8YFLogxK
U2 - 10.1007/978-3-030-58768-0_1
DO - 10.1007/978-3-030-58768-0_1
M3 - Conference contribution
AN - SCOPUS:85091594415
SN - 9783030587673
T3 - Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
SP - 1
EP - 23
BT - Software Engineering and Formal Methods - 18th International Conference, SEFM 2020, Proceedings
A2 - de Boer, Frank
A2 - Cerone, Antonio
PB - Springer Science and Business Media Deutschland GmbH
T2 - 18th International Conference on Software Engineering and Formal Methods, SEFM 2020
Y2 - 14 September 2020 through 18 September 2020
ER -