| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-11-02 | Make 'lambda(...) -> ...' parse as a type | Marijn Haverbeke | -22/+9 | |
| 2011-10-29 | rustc: Support 'companion mod's for crates and directory mods | Brian Anderson | -8/+65 | |
| Under this scheme when parsing foo.rc the parser will also look for foo.rs to fill in the crate-level module, and when evaluating a directory module directive it will look for a .rs file with the same name as the directory. | ||||
| 2011-10-29 | stdlib: Make io failures recoverable by returning a result | Brian Anderson | -4/+19 | |
| 2011-10-28 | rustc: Remove broken --depend flag | Brian Anderson | -9/+0 | |
| 2011-10-28 | rustc: Extract error reporting from codemap | Brian Anderson | -13/+42 | |
| 2011-10-28 | Make shared kind the default only for generic functions | Marijn Haverbeke | -34/+30 | |
| You almost never want a function with pinned type params. For types, objects, resources, and tags, pinned types are actually often more sane. For most of these, shared rarely makes sense. Only tricky case is objs -- you'll have to think about the kinds you want there. Issue #1076 | ||||
| 2011-10-28 | Move to blocks, rather than fn@s, in parser.rs | Marijn Haverbeke | -16/+17 | |
| 2011-10-28 | Move to short type parameter keywords | Marijn Haverbeke | -7/+7 | |
| Issue #1076 | ||||
| 2011-10-28 | Start accepting short keywords for parameter kinds | Marijn Haverbeke | -3/+5 | |
| This is a pre-snapshot commit to be able to implement #1076 without the bootstrap compiler getting in my way. | ||||
| 2011-10-27 | Use the std::term color constants in the codemap | Brian Anderson | -3/+3 | |
| Exported constants work now. Woo! | ||||
| 2011-10-25 | Update our code to new type parameter kind syntax | Marijn Haverbeke | -13/+13 | |
| Closes #1067 | ||||
| 2011-10-25 | Remove support for @/~-style type param kind annotation | Marijn Haverbeke | -9/+2 | |
| Issue #1067 | ||||
| 2011-10-25 | Step one towards new type param kind syntax | Marijn Haverbeke | -3/+7 | |
| Issue #1067 Needs a snapshot to finalize. | ||||
| 2011-10-21 | Remove hack to break the AST fold cycle. Closes #998 | Brian Anderson | -38/+2 | |
| 2011-10-21 | Be more careful when parsing block calls | Marijn Haverbeke | -1/+2 | |
| Previously, the parser would try to interpret this as a block call: if true {} // No semicolon {|i, am, a, block|}; Which, though unlikely, might come up in practice. | ||||
| 2011-10-21 | Change the way block calls are parsed, mark them as block-calls. | Marijn Haverbeke | -27/+37 | |
| This makes it possible to omit the semicolon after the block, and will cause the pretty-printer to properly print such calls (if pretty-printing of blocks wasn't so broken). Block calls (with the block outside of the parentheses) can now only occur at statement level, and their value can not be used. When calling a block-style function that returns a useful value, the block must be put insde the parentheses. Issue #1054 | ||||
| 2011-10-21 | Drop support for iter, put, and for-each | Marijn Haverbeke | -65/+15 | |
| Closes #1056 | ||||
| 2011-10-21 | Move ast_util::pat_bindings over to new iter system. | Marijn Haverbeke | -16/+10 | |
| Issue #1056 | ||||
| 2011-10-21 | Remove last uses of iterators from stdlib | Marijn Haverbeke | -3/+1 | |
| Issue #1056 | ||||
| 2011-10-21 | Move hash table iteration over to block-taking functions | Marijn Haverbeke | -8/+8 | |
| Issue #1056 | ||||
| 2011-10-21 | Support Ruby-style block argument syntax | Marijn Haverbeke | -12/+21 | |
| Issue #1054 | ||||
| 2011-10-20 | Remove temporary fn# syntax | Brian Anderson | -15/+4 | |
| 2011-10-20 | Don't allow fn@ items | Brian Anderson | -3/+0 | |
| fn@ is intended to be caputring but isn't implemented. | ||||
| 2011-10-20 | Merge ast::proto_shared and ast::proto_closure | Brian Anderson | -12/+16 | |
| Now they are both just proto_shared and proto_shared takes an argument indicating that it is sugared as 'lambda' | ||||
| 2011-10-20 | Rename ast::proto_fn to ast::proto_shared | Brian Anderson | -8/+7 | |
| 2011-10-20 | Make fn denote a bare function. Convert fn to fn@ as needed | Brian Anderson | -159/+164 | |
| 2011-10-20 | Parse obj methods as proto_bare | Brian Anderson | -10/+8 | |
| I don't know if this is the right thing to do, but it works and it lets 'fn' always mean proto_bare | ||||
| 2011-10-20 | Split parsing of fn proto between types, items and anons | Brian Anderson | -6/+30 | |
| The meaning of various fn incantations is going to get temporarily confusing | ||||
| 2011-10-20 | Fix the problem with check-fast randomly failing | Brian Anderson | -0/+12 | |
| Trans has been assuming that tag node id's are unique across crates and they are not so, depending on which way the wind is blowing, it would choose to use a crate-local tag variant instead of the correct one from std. No test case since I can't come up with a reliable one that compiles in a reasonable amount of time. | ||||
| 2011-10-19 | Fail nicer when the parser doesn't find an expected string literal | Brian Anderson | -2/+4 | |
| Closes #1028 | ||||
| 2011-10-18 | Introduce fn@ as a synonym for fn | Brian Anderson | -0/+3 | |
| 2011-10-12 | make native functions markable as unsafe and incorporate that | Niko Matsakis | -6/+9 | |
| into the type check | ||||
| 2011-10-12 | make treatment of unchecked/unsafe blocks more uniform | Niko Matsakis | -9/+11 | |
| also repair various errors in the parser related to such blocks. rename checked_blk to default_blk to reflect the fact that it inherits its purity from the surrounding context. | ||||
| 2011-10-12 | Add unsafe blocks, unsafe functions, and two rudimentary tests | Niko Matsakis | -1/+2 | |
| related to them | ||||
| 2011-10-12 | Extend the unchecked block stuff to allow unsafe blocks as well. | Niko Matsakis | -20/+38 | |
| 2011-10-12 | expand purity to include unsafe | Niko Matsakis | -0/+6 | |
| 2011-10-11 | Introduce ast::proto_bare | Brian Anderson | -2/+11 | |
| Issue #1022 | ||||
| 2011-10-11 | Add a temporary syntax for bare functions | Brian Anderson | -8/+22 | |
| Bare functions will be represented as 'fn#' until they're implemented. Then we'll switch it over to just 'fn'. Issue #1022 | ||||
| 2011-10-10 | Adjust function signatures to allow for vecs being immediate | Marijn Haverbeke | -8/+8 | |
| Some code was relying on vectors being implicitly by-reference (as non-immediate value). This adds the necessary &&-sigils. Closes #1021 | ||||
| 2011-10-07 | Make 1-1 parse again | Marijn Haverbeke | -34/+76 | |
| Issue #954 This is not a very elegant fix -- we should probably do something with constant folding to handle negative-int alt patterns in the future. | ||||
| 2011-10-07 | Give up on providing a by-value version of map, convert fold over to | Marijn Haverbeke | -81/+79 | |
| passing pointers by ref Issue #1008 | ||||
| 2011-10-07 | Parse and typecheck by-value and by-ref arg specs | Marijn Haverbeke | -76/+73 | |
| Add sprinkle && throughout the compiler to make it typecheck again. Issue #1008 | ||||
| 2011-10-06 | Ignore && and + before argument names. | Marijn Haverbeke | -1/+7 | |
| Issue #1008 | ||||
| 2011-10-03 | rustc: Implement C stack stdcall | Patrick Walton | -0/+6 | |
| 2011-09-28 | rustc: Add a new "C stack cdecl" native ABI | Patrick Walton | -1/+9 | |
| 2011-09-28 | Revert "Revert "Implement pattern ranges for all numeric types."" | Brian Anderson | -3/+18 | |
| This reverts commit a034f87146e60e1db2327c6f6807c47406a1bb0b. Conflicts: src/comp/middle/check_alt.rs src/comp/middle/trans_alt.rs src/comp/syntax/ast.rs src/comp/syntax/ast_util.rs src/comp/syntax/fold.rs src/comp/syntax/print/pprust.rs Conflicts: src/comp/middle/trans_alt.rs | ||||
| 2011-09-27 | Patch to error instead of crashing when parsing unmatched double quotes | Wade Mealing | -0/+7 | |
| Patch to error and fail instead of using all available memory then crashing to detect the error condition of an unmatched double quote before the end of a file. I couldn't get it to show nice error messages, so this may not be the ideal fix. A test case for this situation has also been added. | ||||
| 2011-09-26 | Make return-by-ref function headers pretty-print safely | Marijn Haverbeke | -1/+1 | |
| Closes #972 | ||||
| 2011-09-24 | Reduce and clarify abuse of 'pure' in interner | Jesse Ruderman | -3/+9 | |
| 2011-09-24 | Mark some fns as pure so type_is_unique_box doesn't need to be unchecked | Jesse Ruderman | -2/+2 | |
