about summary refs log tree commit diff
path: root/src/comp/syntax
AgeCommit message (Expand)AuthorLines
2012-01-11add a log_str() function and allow '%?' in fmt strings to use itNiko Matsakis-0/+2
2012-01-10Fold and re-evaluate expr in tag discriminant.Graydon Hoare-4/+17
2012-01-10Support explicit discriminant numbers on tag variants.Kevin Atkinson-4/+46
2012-01-10rustc: Accept "enum" in addition to "tag"Patrick Walton-4/+5
2012-01-10replace lambda with fn@Niko Matsakis-1/+5
2012-01-10rename sendfn to fn~, lambda to fn@Niko Matsakis-13/+16
2012-01-09Remove support for 'when' in alt-patterns from parserAustin Seipp-5/+1
2012-01-09Change all uses of 'when' in alt-patterns to 'if'Austin Seipp-4/+4
2012-01-09Remove proto_sugar and 'lambda' as keyword, commit to fn@.Graydon Hoare-15/+9
2012-01-09Make the parser accept 'if' as an alternative to 'when' in alt patterns.Austin Seipp-2/+6
2012-01-06Fix pretty-printing of ty params in iface methodsMarijn Haverbeke-3/+5
2012-01-05fix pretty printer to correctly insert parens for disambNiko Matsakis-35/+5
2012-01-05require a non-semi expr acting as a stmt to have unit return typeNiko Matsakis-15/+28
2012-01-05make parser handle parenthesized block-sugar exprs properlyNiko Matsakis-81/+114
2012-01-05Switch to new param kind bound syntaxMarijn Haverbeke-16/+14
2012-01-05Fix bad spans for ast::ty parsingMarijn Haverbeke-9/+6
2012-01-04Add visit_ty_params to visit.rsMarijn Haverbeke-7/+16
2012-01-03Allow tail expressions even in no_value blocks. Type checkerNiko Matsakis-30/+46
2012-01-03extend parser so that expressions that do not require semi-colonsNiko Matsakis-2/+2
2012-01-03rewrite to put blk as 2nd argNiko Matsakis-1/+1
2012-01-03minimal changes to permit fn blocks in exprNiko Matsakis-68/+64
2012-01-03Make syntax for impls less magicalMarijn Haverbeke-23/+18
2011-12-30add cap clause to pretty printer, with a testNiko Matsakis-2/+34
2011-12-29split proto from fn_decl, as not all fn_decls know the proto.Niko Matsakis-85/+89
2011-12-29Add support in lexer for utf8 identifiers. No NFKC logic in char yet.Graydon Hoare-2/+4
2011-12-28Merge pull request #1389 from erickt/masterGraydon Hoare-1/+1
2011-12-28Move the kind datatype to middle::tyMarijn Haverbeke-30/+0
2011-12-28Change representation of type params to handle interface boundsMarijn Haverbeke-38/+65
2011-12-28comp: minor cleanup.Erick Tryzelaar-1/+1
2011-12-23Go back to a single visit_fn function in visit.rsMarijn Haverbeke-49/+21
2011-12-23Get rid of visit_fn_block in visit.rsMarijn Haverbeke-23/+2
2011-12-23Check impls methods against the type of their iface.Marijn Haverbeke-9/+9
2011-12-23Parse `iface` items and interface references in `impl` items.Marijn Haverbeke-75/+110
2011-12-23Make ast::ty_method hold a fn_decl, rather than duplicating its fieldsMarijn Haverbeke-33/+14
2011-12-22Register new snapshots, purge log_err and log_full in favour of log(...).Graydon Hoare-17/+13
2011-12-22Switch core macros to expand to log(level, ...).Graydon Hoare-4/+4
2011-12-22Merge all 3 log syntaxes, tidy up residual misuses.Graydon Hoare-17/+12
2011-12-22Merge branch 'master' of github.com:graydon/rustGraydon Hoare-174/+147
2011-12-22Register snapshots and switch logging over to use of log_full or #error / #de...Graydon Hoare-64/+68
2011-12-22Work around unwinding bugMarijn Haverbeke-1/+2
2011-12-22Unify some data structures in syntax::ast that were doing the same thingMarijn Haverbeke-174/+146
2011-12-22Revert all of yesterday's snapshots and try again. Cursed!Graydon Hoare-4/+4
2011-12-22Merge branch 'master' of github.com:graydon/rustGraydon Hoare-18/+1
2011-12-22Remove trivial cast checkerMarijn Haverbeke-18/+1
2011-12-21More flailing on log syntax due to call-expr ambiguity in previous attempt.Graydon Hoare-2/+9
2011-12-21Out-of-order-code typo. Snapshot again.Graydon Hoare-1/+1
2011-12-21Switch log_expr to carrying a full expr:u32 for level. Add log_full variant t...Graydon Hoare-12/+38
2011-12-21upgrade kind checkNiko Matsakis-0/+1
2011-12-21update pprinter to understand ret type of block, add warningsNiko Matsakis-0/+5
2011-12-21Make { || ... } sugar for any type of closure, inferredNiko Matsakis-58/+103