Attribute grammar
From HaskellWiki
(Difference between revisions)
(Including contents from Books and tutorials#Attribute grammars, with straightforward modifications (some links are updates)) |
m (typographic correction) |
||
| Line 1: | Line 1: | ||
== Introduction == | == Introduction == | ||
| - | Especially for functional programmers (with | + | Especially for functional programmers (with Haskell examples) -- see |
Wouter Swierstra: [http://www.haskell.org/tmrwiki/WhyAttributeGrammarsMatter Why Attribute Grammars Matter] (published in [http://www.haskell.org/tmrwiki/IssueFour The Monad.Reader, Issue Four]). | Wouter Swierstra: [http://www.haskell.org/tmrwiki/WhyAttributeGrammarsMatter Why Attribute Grammars Matter] (published in [http://www.haskell.org/tmrwiki/IssueFour The Monad.Reader, Issue Four]). | ||
Revision as of 14:02, 5 June 2006
1 Introduction
Especially for functional programmers (with Haskell examples) -- see Wouter Swierstra: Why Attribute Grammars Matter (published in The Monad.Reader, Issue Four).
2 Portals or other rich resources
3 Tools
Utrecht University's Attribute Grammar System tools include also an attribute grammar compiler, UUAGC. The concept of attribute grammar was used in their Essential Haskell Compiler project, which gives us not only a working programming language, but also a good didactical material about using attribute grammars, e.g. in writing compilers.
Albeits these materials are self-contained, they reveal that the theory of attribute grammars is related to these concepts:
- circular programming
- catamorphism
