Electronic Notes in Theoretical Computer Science · 2008 · 59 citations · 34 references
ComputingComputer ScienceProgramming LanguagesSyntaxSystems ProgrammingAbstract Syntax TreesData-flow AnalysisDomain-specific LanguagesGrammarSpecification LanguagesSyntax AnalysisAttributesForwarding InterfacesForwarding SystemsPattern Matching
Attribute grammar specification languages, like many domain specific languages, offer significant advantages to their users, such as high-level declarative constructs and domain-specific analyses. Despite these advantages, attribute grammars are often not adopted to the degree that their proponents envision. One practical obstacle to their adoption is a perceived lack of both domain-specific and general purpose language features needed to address the many different aspects of a problem. Here we describe Silver, an extensible attribute grammar specification language, and show how it can be extended with general purpose features such as pattern matching and domain specific features such as collection attributes and constructs for supporting data-flow analysis of imperative programs. The result is an attribute grammar specification language with a rich set of language features. Silver is implemented in itself by a Silver attribute grammar and utilizes forwarding to implement the extensions in a cost-effective manner.
34
Semantics of context-free languages
Donald E. Knuth · Theory of Computing Systems · 1968 · 2K citations
Arie van Deursen, Paul Klint, Joost Visser · ACM SIGPLAN Notices · 2000 · 1.3K citations · Full text
Yacc : Yet Another Compiler Compiler
S. C. Johnson, Murray Hill · 1978 · 1.2K citations
Bryan Ford · 2004 · 409 citations
Computing, Computer Science, Natural Language Processing +16
Eugene E. Kohlbecker, Daniel P. Friedman, Matthias Felleisen et al. · 1986 · 309 citations