Differences From Artifact [f7a981003352ec6b]:
- File
polemy/ast.d
- 2010-11-23 09:36:27 - part of checkin [b97bd4f713] on branch trunk - automatic AST to table encoder (user: kinaba) [annotate]
To Artifact [2e3f1e0044f7841f]:
- File
polemy/ast.d
- 2010-11-23 13:55:15 - part of checkin [2134cd44cc] on branch trunk - further clean-up for polemy2d (user: kinaba) [annotate]
89 { 89 {
90 Parameter[] params; 90 Parameter[] params;
91 AST funbody; 91 AST funbody;
92 92
93 mixin SimpleClass; 93 mixin SimpleClass;
94 } 94 }
95 95
> 96 /// List of AST Types
> 97
> 98 alias TypeTuple!(Int,Str,Var,Lay,Let,App,Fun) ListOfASTTypes;
> 99
96 /// Handy Generator for AST nodes. To use this, mixin EasyAst; 100 /// Handy Generator for AST nodes. To use this, mixin EasyAst;
97 101
98 /*mixin*/ 102 /*mixin*/
99 template EasyAST() 103 template EasyAST()
100 { 104 {
101 /// 105 ///
102 template genEast(T) 106 template genEast(T)