| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-11-24 | rustc: Add a path attribute for crate directives | Haitao Li | -4/+4 | |
| The path information was an optional "filename" component of crate directive AST. It is now replaced by an attribute with metadata named "path". With this commit, a directive mod foo = "foo.rs"; should be written as: #[path = "foo.rs"] mod foo; Closes issue #906. | ||||
| 2011-11-23 | Allow import directives in any block | Marijn Haverbeke | -1/+2 | |
| Closes #49 | ||||
| 2011-11-23 | Remove last traces of auth keyword | Marijn Haverbeke | -1/+0 | |
| The reference now has an empty hole where the auth keyword used to be. Changing the keyword table seems to require manually sorting the keywords and putting them back into some kind of arcane interleaved order. I'll open an issue to actually fix this. Closes #1211 | ||||
| 2011-11-21 | rustc: Remove abi from ast::native_mod | Haitao Li | -2/+1 | |
| 2011-11-17 | remove compile-command from local variable blocks | Niko Matsakis | -1/+0 | |
| 2011-11-16 | Use attributes for native module ABI and link name | Haitao Li | -2/+1 | |
| This patch changes how to specify ABI and link name of a native module. Before: native "cdecl" mod llvm = "rustllvm" {...} After: #[abi = "cdecl"] #[link_name = "rustllvm"] native mod llvm {...} The old optional syntax for ABI and link name is no longer supported. Fixes issue #547 | ||||
| 2011-11-16 | rustc: Use link_name attribute for native function | Haitao Li | -3/+2 | |
| Fixes issue #906 | ||||
| 2011-10-21 | Remove hack to break the AST fold cycle. Closes #998 | Brian Anderson | -38/+2 | |
| 2011-10-21 | Change the way block calls are parsed, mark them as block-calls. | Marijn Haverbeke | -2/+3 | |
| 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 | -5/+0 | |
| Closes #1056 | ||||
| 2011-10-20 | Make fn denote a bare function. Convert fn to fn@ as needed | Brian Anderson | -77/+80 | |
| 2011-10-10 | Adjust function signatures to allow for vecs being immediate | Marijn Haverbeke | -5/+5 | |
| Some code was relying on vectors being implicitly by-reference (as non-immediate value). This adds the necessary &&-sigils. Closes #1021 | ||||
| 2011-10-07 | Give up on providing a by-value version of map, convert fold over to | Marijn Haverbeke | -78/+76 | |
| passing pointers by ref Issue #1008 | ||||
| 2011-10-07 | Parse and typecheck by-value and by-ref arg specs | Marijn Haverbeke | -31/+31 | |
| Add sprinkle && throughout the compiler to make it typecheck again. Issue #1008 | ||||
| 2011-09-28 | Revert "Revert "Implement pattern ranges for all numeric types."" | Brian Anderson | -0/+1 | |
| 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-23 | Begin to support pattern matching on unique boxes | Brian Anderson | -0/+1 | |
| Issue #409 | ||||
| 2011-09-21 | Revert "Implement pattern ranges for all numeric types." | Marijn Haverbeke | -1/+0 | |
| This reverts commit ce0f054f9d56df4e60291fc2e1b89ce979cf374f. | ||||
| 2011-09-21 | Implement pattern ranges for all numeric types. | Josh Matthews | -0/+1 | |
| 2011-09-20 | Represent unique creation as a unop in the AST instead of its own expr | Brian Anderson | -1/+0 | |
| Like the box unop. Issue #409 | ||||
| 2011-09-19 | Break fold's circular reference during unwinding | Brian Anderson | -2/+7 | |
| This converts the AST fold into a resource that breaks it's own circular reference (just a temporary workaround until GC), so that failure during fold will unwind correctly. Issue #936 | ||||
| 2011-09-15 | Add representation for by-ref let bindings | Marijn Haverbeke | -1/+4 | |
| Issue #918 | ||||
| 2011-09-12 | Factor imports mindlessly. | Graydon Hoare | -2/+1 | |
| 2011-09-12 | Reformat for new mode syntax, step 1 | Marijn Haverbeke | -131/+129 | |
| Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit. | ||||
| 2011-09-10 | Fuzzer: move tys around in addition to exprs | Jesse Ruderman | -0/+1 | |
| 2011-08-25 | Support unchecked blocks | Tim Chevalier | -1/+2 | |
| 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-22 | Implement pattern guards | Marijn Haverbeke | -1/+3 | |
| 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-22 | Drop arguments on the caller side, not the callee | Marijn Haverbeke | -1/+0 | |
| This makes it easier for the caller to optimize the take/drop away for temporary values, and opens up new possibilities for alias handling. Breaks tail calls. | ||||
| 2011-08-20 | Reformat | Brian Anderson | -81/+77 | |
| This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[] | ||||
| 2011-08-18 | Remove seq_kind from ast::expr_vec | Brian Anderson | -2/+2 | |
| 2011-08-18 | Remove or _-prefix all unused function arguments | Marijn Haverbeke | -26/+26 | |
| This should make the compilation process a bit less noisy. | ||||
| 2011-08-16 | Port the compiler to the expr foo::<T> syntax. | Erick Tryzelaar | -3/+3 | |
| 2011-08-16 | Port the compiler to foo<T> decl syntax. | Erick Tryzelaar | -1/+1 | |
| 2011-08-16 | Port the compiler to the typaram foo<T> syntax. | Erick Tryzelaar | -1/+1 | |
| 2011-08-16 | Removing tasks, ports and chans from the compiler. | Eric Holk | -14/+0 | |
| 2011-08-16 | Rename std::ivec to std::vec | Brian Anderson | -34/+34 | |
| 2011-08-15 | The wonky for...in... whitespace was bothering me. Sorry! | Lindsey Kuper | -1/+1 | |
| 2011-08-15 | Add operator 'copy', translates as fall-through. | Graydon Hoare | -0/+3 | |
| 2011-08-15 | Use span stacks to track macro expansion for less troublesome error messages. | Paul Stansifer | -20/+30 | |
| 2011-08-15 | Rename a field (so that macros can mention it). | Paul Stansifer | -1/+1 | |
| 2011-08-15 | Change `node_id`s when expanding, to avoid duplicates. | Paul Stansifer | -8/+19 | |
| 2011-08-15 | rustc: Parse and typecheck unique pointers | Patrick Walton | -0/+1 | |
| 2011-08-15 | Add tuple patterns | Marijn Haverbeke | -0/+3 | |
| 2011-08-15 | Tuple fields are immutable | Marijn Haverbeke | -5/+1 | |
| 2011-08-15 | Tuple types back, not constructable yet | Marijn Haverbeke | -0/+7 | |
| 2011-08-10 | Introduce a ty_infer ast node and use it instead of option::t[ty]. | Michael Sullivan | -6/+3 | |
| 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-09 | Port the compiler to the ivec type [T] syntax. | Erick Tryzelaar | -3/+3 | |
| 2011-08-05 | rustc: Add inlineness to the fn decl instead | Patrick Walton | -0/+2 | |
| 2011-08-05 | Revert "rustc: Introduce the concept of inline to the AST" | Patrick Walton | -1/+1 | |
| This reverts commit 9b9170f9fe2e4701255a5bd0630c203409d8e934. | ||||
| 2011-08-05 | rustc: Introduce the concept of inline to the AST | Patrick Walton | -1/+1 | |
| 2011-08-01 | Partially implement destructuring locals | Marijn Haverbeke | -10/+8 | |
| 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. | ||||
