Multi-purpose Syntax Definition with SDF3

16Citations
Citations of this article
3Readers
Mendeley users who have this article in their library.

This article is free to access.

Abstract

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.

Cite

CITATION STYLE

APA

de Souza Amorim, L. E., & Visser, E. (2020). Multi-purpose Syntax Definition with SDF3. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 12310 LNCS, pp. 1–23). Springer Science and Business Media Deutschland GmbH. https://doi.org/10.1007/978-3-030-58768-0_1

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free