Chris Lattner
|
1afe647841
|
add basic sema support for funcdecl, not verifying types yet though.
Swift SVN r96
|
2010-07-27 05:38:12 +00:00 |
|
Chris Lattner
|
4a2ea23b23
|
Enhance the parser to parse infix decls. The AST it constructs is still not correct though. We have no way to represent function calls yet!
Swift SVN r80
|
2010-07-24 20:59:00 +00:00 |
|
Chris Lattner
|
94110869e0
|
add support for parsing attribute lists, and add the first attribute, infix=42. It is now parsed and slammed into the AST, but not used.
Swift SVN r79
|
2010-07-24 20:44:56 +00:00 |
|
Chris Lattner
|
769c4a034a
|
fix a bug in my refactoring.
Swift SVN r78
|
2010-07-24 20:13:26 +00:00 |
|
Chris Lattner
|
2bafb0e8fb
|
Introduce new NamedDecl and FuncDecl classes. The difference between the two is syntactic sugar, so most clients want NamedDecl. This doesn't implement FuncDecl yet, which isn't a high prio for me in the short term.
Swift SVN r77
|
2010-07-24 19:09:09 +00:00 |
|
Chris Lattner
|
ed1be4f17a
|
add printing support for Identifier, switch VarDecl to have an
identifier instead of a stringref.
Swift SVN r63
|
2010-07-23 03:50:09 +00:00 |
|
Chris Lattner
|
f7c8e53359
|
implement isa/dyncast and dumping support for exprs.
We can now parse and print this:
var x3 = 4+5*4+12/97;
into:
(vardecl 'x3'
(binary_expr
(binary_expr
(integer_literal 4)
(binary_expr
(integer_literal 5)
(integer_literal 4)))
(binary_expr
(integer_literal 12)
(integer_literal 97))))
Swift SVN r46
|
2010-07-19 06:52:08 +00:00 |
|
Chris Lattner
|
547b2a8003
|
implement vardecl dumping and Casting.h support for decls.
Swift SVN r45
|
2010-07-19 06:39:56 +00:00 |
|
Chris Lattner
|
340a7faa01
|
stub out Decl AST's.
Swift SVN r37
|
2010-07-19 04:59:13 +00:00 |
|