| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-09-21 | Revert "Implement pattern ranges for all numeric types." | Marijn Haverbeke | -6/+0 | |
| This reverts commit ce0f054f9d56df4e60291fc2e1b89ce979cf374f. | ||||
| 2011-09-21 | Implement pattern ranges for all numeric types. | Josh Matthews | -0/+6 | |
| 2011-09-20 | Represent unique creation as a unop in the AST instead of its own expr | Brian Anderson | -3/+2 | |
| Like the box unop. Issue #409 | ||||
| 2011-09-20 | Parse unique box types | Brian Anderson | -0/+1 | |
| Issue #409 | ||||
| 2011-09-16 | Require body of else-less if expressions to be a value-less block | Marijn Haverbeke | -3/+3 | |
| For consistency with other constructs that could not possibly return a value (say, loops). | ||||
| 2011-09-15 | Add parens, as needed, around else-if conditions. | Jesse Ruderman | -1/+1 | |
| 2011-09-15 | Require the parameter that will be referenced to be noted | Marijn Haverbeke | -2/+10 | |
| Issue #918 | ||||
| 2011-09-15 | Add representation for by-ref let bindings | Marijn Haverbeke | -1/+3 | |
| Issue #918 | ||||
| 2011-09-15 | Ensure parens are wrapped around composite exprs in call/index/field pos | Marijn Haverbeke | -5/+10 | |
| This is needed to fix the second example in issue #919 | ||||
| 2011-09-15 | More thorough check for (.. 10).x in pretty-printer | Marijn Haverbeke | -5/+21 | |
| Closes #919 | ||||
| 2011-09-15 | Also handle fail and put in print_maybe_parens_discrim | Marijn Haverbeke | -2/+5 | |
| Closes #920 | ||||
| 2011-09-15 | Remove maybe_protect_block kludge from pretty-printer | Marijn Haverbeke | -86/+0 | |
| It is no longer needed. | ||||
| 2011-09-15 | Insert omitted semicolons for statements | Marijn Haverbeke | -2/+1 | |
| 2011-09-14 | Add syntax and representation for return-by-mutably-rooted-ref | Marijn Haverbeke | -2/+8 | |
| This will be used in the near future to decide what can safely be done with the returned reference. Issue #918 | ||||
| 2011-09-14 | Make most of the compiler aware of return-by-reference | Marijn Haverbeke | -3/+6 | |
| tyencode/tydecode still don't know about it. return_ref will be extended to take arguments anyway. | ||||
| 2011-09-14 | Rename ast::controlflow to ast::ret_style | Marijn Haverbeke | -2/+2 | |
| It will include information about returning by alias. | ||||
| 2011-09-13 | Properly pretty-print 10.x | Marijn Haverbeke | -1/+9 | |
| Closes #890 | ||||
| 2011-09-13 | Make pretty-printer wrap fail/ret/put in parens in call/index/field pos | Marijn Haverbeke | -10/+14 | |
| Closes #764 Closes #891 | ||||
| 2011-09-12 | Factor imports mindlessly. | Graydon Hoare | -23/+6 | |
| 2011-09-12 | Pretty-print for new arg-mode syntax | Marijn Haverbeke | -0/+4 | |
| 2011-09-12 | Switch pretty-printer to new arg-mode syntax | Marijn Haverbeke | -2/+2 | |
| 2011-09-12 | Reformat for new mode syntax, step 1 | Marijn Haverbeke | -137/+136 | |
| Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit. | ||||
| 2011-09-12 | Make the names of the arg mode tag reflect their (revised) meaning | Marijn Haverbeke | -4/+3 | |
| 2011-09-09 | Make the pretty printer disambiguatae blocks followed by vec expressions. | Jesse Ruderman | -2/+4 | |
| Semicolons are needed here now that postfix [] is used for vec indexing (the syntax change made in rev 518dc52f85c2efb67aaa1208c02e9a7e0bdaca49). | ||||
| 2011-09-02 | Rename ty_istr to ty_str. Issue #855 | Brian Anderson | -1/+1 | |
| 2011-09-02 | Reformat. Issue #855 | Brian Anderson | -326/+288 | |
| 2011-09-01 | Remove lots of estr code from rustc. Issue #855 | Brian Anderson | -2/+1 | |
| 2011-09-01 | Convert all uses of #ifmt to #fmt. Issue #855 | Brian Anderson | -19/+19 | |
| 2011-09-01 | Rename std::istr to std::str. Issue #855 | Brian Anderson | -12/+12 | |
| 2011-09-01 | Parse "",str as istrs. Pretty print istrs as "",str. Issue #855 | Brian Anderson | -8/+1 | |
| 2011-09-01 | Remove std::str. Issue #855 | Brian Anderson | -2/+0 | |
| 2011-08-31 | Convert uses of #fmt to #ifmt. Issue #855 | Brian Anderson | -22/+20 | |
| 2011-08-27 | Convert rustc::syntax::ast_util to istrs. Issue #855 | Brian Anderson | -6/+6 | |
| 2011-08-27 | Convert pretty-printer to istrs. Issue #855 | Brian Anderson | -318/+328 | |
| 2011-08-27 | Convert lexer to istrs. Issue #855 | Brian Anderson | -8/+13 | |
| 2011-08-27 | Convert rest of the AST to istrs. Issue #855 | Brian Anderson | -6/+10 | |
| 2011-08-27 | Convert ast::ident to istr. Issue #855 | Brian Anderson | -45/+59 | |
| 2011-08-27 | Convert std::io to istrs. Issue #855 | Brian Anderson | -7/+7 | |
| 2011-08-27 | Convert std::int to istrs. Issue #855 | Brian Anderson | -2/+2 | |
| 2011-08-27 | Convert std::uint to istrs. Issue #855 | Brian Anderson | -2/+3 | |
| 2011-08-25 | Support unchecked blocks | Tim Chevalier | -0/+5 | |
| This patch supports the syntax unchecked { ... } to disable purity checking within a block. Presumably it will only be used within a declared "pure fn". However, there is no checking that it doesn't occur elsewhere, and it would be harmless for it to do so. I went with Lindsey's suggestion for the syntax, but it's subject to change. This allows you to write code that uses predicates that call arbitrary Rust functions, but you must declare your intentions by wrapping it in an unchecked { ... } block. The test case run-pass/unchecked-predicates.rs demonstrates how to do that. | ||||
| 2011-08-24 | Change "pred" to "pure fn" (but still accept "pred") | Tim Chevalier | -1/+1 | |
| This is part 1 of changing the "pred" keyword to "pure fn". Right now, the compiler accepts both "pred" and "pure fn". | ||||
| 2011-08-23 | Fix pretty-printing of istr literals. Issue #855 | Brian Anderson | -1/+11 | |
| 2011-08-22 | Move functions from syntax::ast to syntax::ast_util | Brian Anderson | -6/+7 | |
| This leaves syntax::ast just defining the AST, which strikes me as somewhat nicer | ||||
| 2011-08-22 | Implement pattern guards | Marijn Haverbeke | -0/+8 | |
| The syntax is alt x { mypat where mycond { ... } } The condition may refer to any of the variables bound by the pattern. When a guard fails, pattern-matching continues with the next pattern. Closes #857 | ||||
| 2011-08-20 | Reformat | Brian Anderson | -219/+182 | |
| This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[] | ||||
| 2011-08-19 | Pretty-print new index syntax | Brian Anderson | -3/+2 | |
| 2011-08-19 | Pretty-print constrained types correctly | Brian Anderson | -1/+6 | |
| 2011-08-19 | Pretty-print parens around more things that need disambiguation | Brian Anderson | -7/+17 | |
| Ridiculous stuff like (ret 0) == (log "error") | ||||
| 2011-08-19 | Teach the pretty-printer to disambiguate 'if ret { }' et. al | Brian Anderson | -3/+15 | |
