Changes between Version 2 and Version 3 of Commentary/Compiler/HsSynType
- Timestamp:
- 09/14/06 11:02:03 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Commentary/Compiler/HsSynType
v2 v3 3 3 = The {{{HsSyn}}} types = 4 4 5 The program is initially parsed into "'''{{{HsSyn}}}'''", a collection of data types that describe the full abstract syntax of Haskell. {{{HsSyn}}} is a pretty big collec iton of types: there are 52 data types when I last counted. Many are pretty trivial, but a few have a lot of constructors ({{{HsExpr}}} has 40). {{{HsSyn}}} represents Haskell its full glory, complete with all syntactic sugar.5 The program is initially parsed into "'''{{{HsSyn}}}'''", a collection of data types that describe the full abstract syntax of Haskell. {{{HsSyn}}} is a pretty big collection of types: there are 52 data types when I last counted. Many are pretty trivial, but a few have a lot of constructors ({{{HsExpr}}} has 40). {{{HsSyn}}} represents Haskell its full glory, complete with all syntactic sugar. 6 6 7 7 The {{{HsSyn}}} modules live in the [[GhcFile(compiler/hsSyn)]] directory. Each module declares a related group of declarations, ''and'' gives their pretty-printer.
