| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-03-02 | Move src/comp to src/rustc | Graydon Hoare | -134/+0 | |
| 2012-02-09 | Remove some pointless imports | Marijn Haverbeke | -2/+0 | |
| 2012-01-31 | Change option::t to option | Tim Chevalier | -3/+3 | |
| Now that core exports "option" as a synonym for option::t, search-and- replace option::t with option. The only place that still refers to option::t are the modules in libcore that use option, because fixing this requires a new snapshot (forthcoming). | ||||
| 2012-01-23 | Allow ast_fold_precursor to change the span. | Kevin Atkinson | -1/+1 | |
| This involved changing the prototype for the callbacks to thread the span though. A wrapper function, fold::wrap, can be used to wrap the old style callbacks. | ||||
| 2012-01-05 | rustc: Configure out #[test] functions when not testing | Brian Anderson | -20/+35 | |
| 2011-12-16 | reorder args to the various vec, option fns so blk comes last | Niko Matsakis | -10/+10 | |
| 2011-12-13 | Copy first batch of material from libstd to libcore. | Graydon Hoare | -1/+1 | |
| 2011-11-23 | Allow import directives in any block | Marijn Haverbeke | -1/+2 | |
| Closes #49 | ||||
| 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-10-29 | Add the ability to ignore tests by compiler config | Brian Anderson | -18/+12 | |
| [test] [ignore(cfg(target_os = "win32"))] | ||||
| 2011-10-10 | Adjust function signatures to allow for vecs being immediate | Marijn Haverbeke | -1/+1 | |
| 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 | -5/+5 | |
| passing pointers by ref Issue #1008 | ||||
| 2011-10-07 | Parse and typecheck by-value and by-ref arg specs | Marijn Haverbeke | -22/+21 | |
| Add sprinkle && throughout the compiler to make it typecheck again. Issue #1008 | ||||
| 2011-09-19 | Break fold's circular reference during unwinding | Brian Anderson | -2/+0 | |
| 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-12 | Factor imports mindlessly. | Graydon Hoare | -4/+2 | |
| 2011-09-12 | Reformat for new mode syntax, step 1 | Marijn Haverbeke | -13/+11 | |
| Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit. | ||||
| 2011-09-02 | Reformat. Issue #855 | Brian Anderson | -3/+4 | |
| 2011-08-27 | Convert ast::ident to istr. Issue #855 | Brian Anderson | -2/+2 | |
| 2011-08-25 | Support unchecked blocks | Tim Chevalier | -1/+1 | |
| 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-20 | Reformat | Brian Anderson | -1/+1 | |
| This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[] | ||||
| 2011-08-16 | Port the compiler to the typaram foo<T> syntax. | Erick Tryzelaar | -3/+3 | |
| 2011-08-16 | Rename std::ivec to std::vec | Brian Anderson | -10/+10 | |
| 2011-08-15 | The wonky for...in... whitespace was bothering me. Sorry! | Lindsey Kuper | -1/+1 | |
| 2011-08-09 | Port the compiler to the ivec type [T] syntax. | Erick Tryzelaar | -3/+3 | |
| 2011-07-27 | Fix damage done by the pretty-printer | Marijn Haverbeke | -3/+1 | |
| 2011-07-27 | Reformat for new syntax | Marijn Haverbeke | -78/+74 | |
| 2011-07-25 | Rename the block type to be blk also. Sorry. | Michael Sullivan | -2/+2 | |
| 2011-07-12 | rustc: Remove some useless std::vec imports | Patrick Walton | -1/+0 | |
| 2011-07-07 | rustc: Remove all exterior vectors from the AST | Patrick Walton | -5/+5 | |
| 2011-07-07 | rustc: Change lots of AST nodes to use interior vectors | Patrick Walton | -2/+2 | |
| 2011-07-06 | rustc: Make meta items into interior vectors | Patrick Walton | -6/+4 | |
| 2011-07-06 | rustc: Convert attribute in the AST to interior vectors | Patrick Walton | -2/+3 | |
| 2011-07-06 | rustc: Revert the conversion to interior vectors due to heap corruption | Patrick Walton | -7/+8 | |
| 2011-07-06 | Temp commit on the way to making meta_item into an interior vector | Patrick Walton | -6/+4 | |
| 2011-07-06 | rustc: Convert attribute in the AST to interior vectors | Patrick Walton | -2/+3 | |
| 2011-07-05 | Support conditional compilation of native items. Closes #610 | Brian Anderson | -5/+33 | |
| 2011-07-05 | Move everything syntax-related to syntax/, break deps on rest of compiler | Marijn Haverbeke | -2/+2 | |
| src/comp/syntax is currently just a sub-module of rustc, but it will, in the near future, be its own crate. This includes: - The AST data structure - The parser - The pretty-printer - Visit, walk, and fold - The syntax extension system - Some utility stuff that should be in the stdlib* *) Stdlib extensions currently require a snapshot before they can be used, and the win build is very broken right now. This is temporary and will be cleaned up when one of those problems goes away. A lot of code was moved by this patch, mostly towards a more organized layout. Some package paths did get longer, and I guess the new layout will take some getting used to. Sorry about that! Please try not to re-introduce any dependencies in syntax/ on any of the other src/comp/ subdirs. | ||||
| 2011-06-30 | Use attributes for conditional compilation in std.rc | Brian Anderson | -2/+20 | |
| 2011-06-30 | Conditionally compile items declared as statements. Issue #489 | Brian Anderson | -1/+30 | |
| 2011-06-30 | Add a pass to fold out items that do not belong in the current configuration | Brian Anderson | -0/+68 | |
| The parser needs to parse unconfigured items into the AST so that they can make the round trip back through the pretty printer, but subsequent passes shouldn't care about items not being translated. Running a fold pass after parsing is the lowest-impact way to make this work. The performance seems fine. Issue #489 | ||||
