Chris Lattner
|
fef3e71b42
|
stub out parsing of func declarations.
Swift SVN r95
|
2010-07-27 05:32:16 +00:00 |
|
Chris Lattner
|
7e0123c768
|
Kill off add/sub/mul/div as special AST nodes. Instead, + is just yet-another identifier token and BinaryExpr is a generalized infix call expression.
Swift SVN r88
|
2010-07-25 19:16:45 +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
|
1103ff5227
|
Implement basic parser support for brace expressions.
Swift SVN r69
|
2010-07-23 18:33:49 +00:00 |
|
Chris Lattner
|
aa126e87f9
|
add a new SemaType module, add parser support for tuples.
Add lexer support for ->. Expand the testcase.
Swift SVN r47
|
2010-07-21 07:17:43 +00:00 |
|
Chris Lattner
|
a3164a1a1a
|
add void type.
Swift SVN r35
|
2010-07-19 04:40:47 +00:00 |
|
Chris Lattner
|
3e53d83874
|
implement support for parenthesized expressions.
Swift SVN r19
|
2010-07-18 22:36:34 +00:00 |
|
Chris Lattner
|
3cd9e46705
|
add numeric constant support, we can now lex exciting stuff
like this:
// Comment.
var x : int;
var x2 = 4;
var x3 = 4+5;
Swift SVN r11
|
2010-07-18 19:01:18 +00:00 |
|
Chris Lattner
|
6236deaabc
|
implement lexer support for identifiers and our 2 keywords so far.
Swift SVN r10
|
2010-07-18 18:57:12 +00:00 |
|
Chris Lattner
|
80ba9c7e66
|
add some more punctuator characters and // comments.
Swift SVN r9
|
2010-07-18 01:44:13 +00:00 |
|
Chris Lattner
|
461f41edb1
|
start lexing trivial tokens, discard whitespace between them.
Swift SVN r8
|
2010-07-18 01:32:14 +00:00 |
|
Chris Lattner
|
db8e1301ff
|
Start setting up the lexer object.
Swift SVN r7
|
2010-07-18 01:14:09 +00:00 |
|
Chris Lattner
|
874badb51b
|
consolidate lexer stuff into the Parser lib.
Swift SVN r6
|
2010-07-18 00:50:29 +00:00 |
|