about summary refs log tree commit diff
path: root/src/comp/syntax
AgeCommit message (Collapse)AuthorLines
2011-08-12Begin removing vecs from #fmtBrian Anderson-9/+9
2011-08-10Introduce a ty_infer ast node and use it instead of option::t[ty].Michael Sullivan-35/+30
This actually basically makes things worse, since we get less nice type system guarentees but it will make doing type inferred blocks a fair deal less painful. I'm not /really/ happy about this...
2011-08-10Eliminate the last vestiges of init_recv.Michael Sullivan-2/+1
2011-08-10Remove dead keywords from parser.Graydon Hoare-2/+0
2011-08-10Some trivial cleanup.Michael Sullivan-30/+1
2011-08-09Remove support for the ivec T[] syntax.Erick Tryzelaar-34/+15
2011-08-09Port the compiler to the ivec type [T] syntax.Erick Tryzelaar-211/+212
2011-08-09Change the ivec type syntax to [T].Erick Tryzelaar-14/+8
This preserves the old syntax for now.
2011-08-08Add new arg-passing mode 'move' denoted with '-T'. Translate as ↵Graydon Hoare-1/+4
pass-by-value, doesn't deinit source yet nor get proper analysis in typestate, alias passes.
2011-08-05rustc: Parse "inline". Also write it into metadata.Patrick Walton-13/+20
2011-08-05rustc: Add inlineness to the fn decl insteadPatrick Walton-0/+8
2011-08-05Revert "rustc: Introduce the concept of inline to the AST"Patrick Walton-34/+25
This reverts commit 9b9170f9fe2e4701255a5bd0630c203409d8e934.
2011-08-05rustc: Introduce the concept of inline to the ASTPatrick Walton-25/+34
2011-08-04rustc: Generate shapesPatrick Walton-0/+4
2011-08-03Make the pretty printer put trailing newlines at the end of files.Michael Sullivan-0/+3
2011-08-03Add #concat_idents[] and #ident_to_str[]Paul Stansifer-8/+53
2011-08-03parse_crate_from_source_str takes a parse_sess, not codemapBrian Anderson-2/+1
This was causing problems when reading from stdin for subsequent passes that needed to generate node ids.
2011-08-03Pretty-print kinds of type paramsBrian Anderson-0/+9
2011-08-03Disambiguate unop statements in pretty-printer. Closes #674Brian Anderson-1/+44
2011-08-03Make ast::pat_bindings an iteratorMarijn Haverbeke-15/+21
And use it to get rid of some repetetive code
2011-08-02Pretty-print fn constraints more correctishBrian Anderson-5/+27
2011-08-02Don't pp extra lines after block open when preserving whitespace. Closes #759Brian Anderson-1/+15
2011-08-02Allow patterns of the form `[a, b, c ...] to be matched and transcribed.Paul Stansifer-62/+80
2011-08-02Use ioivec::read_whole_file_str in a few placesBrian Anderson-4/+2
2011-08-02Compiler accepts input from stdin when source file is called "-"Brian Anderson-7/+34
2011-08-01Partially implement destructuring localsMarijn Haverbeke-29/+43
You can now say let {bcx, val} = some_result_returner(); Similar for loop variables. Assigning to such variables is not safe yet. Function arguments also remain a TODO.
2011-07-31Get rid of walk.rsMarijn Haverbeke-462/+0
And we're down to a single AST walker again
2011-07-29Enable kind checking on typarams, fix kind constraints in library and comp.Graydon Hoare-2/+2
2011-07-29Remove unreachable statementsMarijn Haverbeke-23/+13
2011-07-29Parse anonymous objs in statement positionMarijn Haverbeke-32/+21
Closes #761
2011-07-29Remove support for obj dtorsMarijn Haverbeke-58/+8
2011-07-28The names 'outer' and 'inner' make more sense than 'self' and 'with'.Lindsey Kuper-15/+13
(Also, some formatting and long-string cleanup.)
2011-07-28Thread kinds into the type system. Don't quite activate yet, since it breaks ↵Graydon Hoare-2/+2
stdlib and snapshot isn't ready to compile modified stdlib.
2011-07-28Change macro syntax to accept a single expr, not a sequence of exprs.Paul Stansifer-67/+69
2011-07-28Parse, store and print type parameter kind constraints.Graydon Hoare-3/+12
2011-07-28:: is allowed to start an expression. Close #762.Josh Matthews-0/+1
2011-07-27Remove vestiges of "layers", insert skeletal do-nothing "kind" pass plus ↵Graydon Hoare-17/+5
cached calculation of kind for each type.
2011-07-27Stop outputting spurious spaces in ivec types and empty mutable vecsMarijn Haverbeke-2/+9
(in the pretty-printer)
2011-07-27Remove superfluous spaces in pretty-printing of loopsMarijn Haverbeke-11/+5
(And extra parens around else-if tests)
2011-07-27Make the pretty-printer output whitespace before obj drop clauseMarijn Haverbeke-1/+5
2011-07-27Improve pretty-printing of constraintsMarijn Haverbeke-13/+15
(Methods still don't seem to have constraints associated with them. Method types do, so I guess this is a TODO.)
2011-07-27Make printing of comments inside bindings slightly less brokenMarijn Haverbeke-14/+3
2011-07-27No longer allow 'case' keyword before patternsMarijn Haverbeke-4/+0
2011-07-27Fix damage done by the pretty-printerMarijn Haverbeke-24/+20
2011-07-27Reformat for new syntaxMarijn Haverbeke-5942/+5587
2011-07-27Update the parser to accept the new syntaxMarijn Haverbeke-155/+59
2011-07-27Output native_name field for native mods when neededMarijn Haverbeke-0/+5
2011-07-27Have the pretty-printer parentesize unary ops when neededMarijn Haverbeke-3/+13
2011-07-27Update the pretty-printer to output the new syntaxMarijn Haverbeke-20/+19
2011-07-27Parenthesize ivec types as neededMarijn Haverbeke-0/+8