Chris Lattner
|
9b42d1b273
|
enhance parenexpr to be tupleexpr. The grouping paren case is just a special case of a tuple literal with one child.
Swift SVN r81
|
2010-07-24 21:24:44 +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
|
64ecbb8a9c
|
Implement AST and trivial Sema support for brace expressions.
Swift SVN r70
|
2010-07-23 19:39:51 +00:00 |
|
Chris Lattner
|
58185415a1
|
now that we have name lookup, we can implement references to
other values. crazzay.
Swift SVN r67
|
2010-07-23 05:48:20 +00:00 |
|
Chris Lattner
|
a860fe44db
|
implement support for printing types, add them to -ast-dump
Swift SVN r58
|
2010-07-22 06:33:03 +00:00 |
|
Chris Lattner
|
34602d5d22
|
Make Expr::Kind public.
Swift SVN r57
|
2010-07-22 06:10:31 +00:00 |
|
Chris Lattner
|
c363b58ea1
|
Introduce TupleType, an AST representation of tuples.
Swift SVN r49
|
2010-07-22 01:58:01 +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
|
f36e4aa921
|
introduce Type ast node.
Swift SVN r33
|
2010-07-19 04:33:59 +00:00 |
|
Chris Lattner
|
66199fa090
|
implement a new IntegerLiteral ast node, add plumbing for
allocation of exprs from ASTContext.
Swift SVN r28
|
2010-07-19 00:42:30 +00:00 |
|
Chris Lattner
|
d3756f2627
|
Sketch out the new AST library, lets start with expressions.
Swift SVN r25
|
2010-07-19 00:05:11 +00:00 |
|