1989
DOI: 10.1145/71605.71607
|View full text |Cite
|
Sign up to set email alerts
|

The syntax definition formalism SDF—reference manual—

Abstract: SDF is a formalism for the definition of syntax which is comparable to BNF in some respects, but h_ as a wider scope in that it also covers the definition of lexical and abstract syntax. Its design and implementation are tailored towards the language designer who wants to develop new languages as well as implement existing ones in a highly interactive manner. It emphasizes comP,actness of syntax definitions by offering (a) a standard interface between lexical and context-free syntax; (b) a standard corresponde… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
168
0
1

Year Published

2000
2000
2014
2014

Publication Types

Select...
5
4

Relationship

1
8

Authors

Journals

citations
Cited by 224 publications
(169 citation statements)
references
References 17 publications
0
168
0
1
Order By: Relevance
“…An example of a grammar formalism that supports only limited composition is ANTLR [19]. In contrast, SDF2 [20] supports full context-free grammars based on a scannerless generalized LR parser, and composition support is much better: As an example, [21] demonstrates embedding SQL into Java. Disambiguation is necessary if the same syntactic form is used in the same location to represent different language concepts (i.e., must be parsed differently).…”
Section: Efficiently Entering (Textual) Codementioning
confidence: 99%
“…An example of a grammar formalism that supports only limited composition is ANTLR [19]. In contrast, SDF2 [20] supports full context-free grammars based on a scannerless generalized LR parser, and composition support is much better: As an example, [21] demonstrates embedding SQL into Java. Disambiguation is necessary if the same syntactic form is used in the same location to represent different language concepts (i.e., must be parsed differently).…”
Section: Efficiently Entering (Textual) Codementioning
confidence: 99%
“…In the Strafunski architecture, we provide support for one specific syntax definition formalism, namely SDF [5]. This is a suitable candidate for extending the capabilities of an otherwise Haskell-centred architecture for language processing.…”
Section: External Componentsmentioning
confidence: 99%
“…The corresponding instances of a Term class can be generated using the DrIFT preprocessing technology [17]. The algebraic datatypes might be derived from XML schemas (or DTDs) and syntax definitions in SDF [5]; see the generators Sdf2Haskell and Dtd2Haskell. There are further Haskell libraries: XmlLib for XML document processing (contributed by HaXML [16]) and ATermLib for data interchange.…”
mentioning
confidence: 99%
“…An application scenario for grammar refactoring is DeYACCification and modularisation which are useful in grammar reengineering in order to go from YACC-like pure BNF notation to a richer notation (cf. [15]) including constructs for extended BNF and modules as, for example, in SDF [8]. The steps to correct or to complete a grammar in grammar recovery can be modelled by constructing or destructing transformations.…”
Section: Integration With Transformationmentioning
confidence: 99%