| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-03-02 | Move src/comp to src/rustc | Graydon Hoare | -150/+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-25 | Correctly increment sess.byte_pos. | Kevin Atkinson | -2/+2 | |
| 2012-01-23 | Don't reset the chpos/byte_pos to 0 in new_parser_from_source_str. | Kevin Atkinson | -9/+6 | |
| This correctly fixes issue #1362. chpos/byte_pos are now the offsets within a particular file, but rather the offsets within a virtual file with is formed by combing all of the modules within a crate. Thus, resetting them to 0 causes an overlap and hence, bogus source locations. Fix #1362 by moving chpos/byte_pos to parse_sess so that new_parser_from_source_str has access to them and hence can chose an initial value that is not already been used in the crate. Note that the trigger for bug 1361 was that syntax/ext/expand.rs calls parse_expr_from_source_str (which calls new_parser_from_source_str) using the same codemap as the current crate (and hence causing overlap with files in the crate as new_parser_from_source_str resets the chpos/byte_pos to 0). | ||||
| 2012-01-18 | Remove '.' after nullary tags in patterns | Tim Chevalier | -2/+2 | |
| Does what it says on the tin. The next commit will remove support for this syntax. | ||||
| 2012-01-13 | Convert the objects used in the lexer and parser to records + impls | Marijn Haverbeke | -4/+4 | |
| 2012-01-03 | Allow tail expressions even in no_value blocks. Type checker | Niko Matsakis | -2/+2 | |
| will guarantee they have unit type. | ||||
| 2011-12-22 | Merge all 3 log syntaxes, tidy up residual misuses. | Graydon Hoare | -2/+2 | |
| 2011-12-22 | Register snapshots and switch logging over to use of log_full or #error / ↵ | Graydon Hoare | -3/+3 | |
| #debug. | ||||
| 2011-12-13 | Copy first batch of material from libstd to libcore. | Graydon Hoare | -2/+3 | |
| 2011-11-24 | rustc: Add a path attribute for crate directives | Haitao Li | -6/+14 | |
| 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 | 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-17 | remove compile-command from local variable blocks | Niko Matsakis | -1/+0 | |
| 2011-11-10 | Cleanup unused imports | Haitao Li | -1/+1 | |
| 2011-10-29 | rustc: Support 'companion mod's for crates and directory mods | Brian Anderson | -5/+60 | |
| 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-28 | rustc: Remove broken --depend flag | Brian Anderson | -6/+0 | |
| 2011-09-12 | Kill trailing whitespace. | Graydon Hoare | -1/+1 | |
| 2011-09-12 | Factor imports mindlessly. | Graydon Hoare | -9/+5 | |
| 2011-09-12 | Pretty-print for new arg-mode syntax | Marijn Haverbeke | -4/+4 | |
| 2011-09-12 | Reformat for new mode syntax, step 1 | Marijn Haverbeke | -5/+5 | |
| 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 | -28/+13 | |
| 2011-09-01 | Rename std::istr to std::str. Issue #855 | Brian Anderson | -1/+1 | |
| 2011-09-01 | Remove std::str. Issue #855 | Brian Anderson | -1/+0 | |
| 2011-08-27 | Convert parser to istrs. Issue #855 | Brian Anderson | -3/+3 | |
| 2011-08-27 | Convert rustc::syntax::eval to istrs. Issue #855 | Brian Anderson | -11/+12 | |
| 2011-08-27 | Convert ast::ident to istr. Issue #855 | Brian Anderson | -9/+21 | |
| 2011-08-27 | Convert std::fs to istrs. Issue #855 | Brian Anderson | -6/+9 | |
| 2011-08-20 | Reformat | Brian Anderson | -8/+7 | |
| This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[] | ||||
| 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 | -9/+9 | |
| 2011-08-02 | Compiler accepts input from stdin when source file is called "-" | Brian Anderson | -1/+2 | |
| 2011-07-27 | Reformat for new syntax | Marijn Haverbeke | -65/+62 | |
| 2011-07-26 | Remove all uses of tuples from the compiler and stdlib | Marijn Haverbeke | -2/+2 | |
| 2011-07-16 | Make clear the differentiation between char pos and byte pos in filemaps. ↵ | Josh Matthews | -2/+5 | |
| Fix up error printing for files with multi-byte characters. | ||||
| 2011-07-15 | rustc: Remove a bunch of exterior vectors | Patrick Walton | -3/+2 | |
| 2011-07-11 | Pull lexer creation out of new_parser | Brian Anderson | -2/+2 | |
| This will allow custom lexers to be injected into the parser (for fuzzing) | ||||
| 2011-07-07 | rustc: Remove all exterior vectors from the AST | Patrick Walton | -11/+9 | |
| 2011-07-06 | rustc: Move crate directives over to interior vectors | Patrick Walton | -4/+3 | |
| 2011-07-06 | rustc: Revert the conversion to interior vectors due to heap corruption | Patrick Walton | -3/+4 | |
| 2011-07-06 | rustc: Move crate directives over to interior vectors | Patrick Walton | -4/+3 | |
| 2011-07-05 | Remove unused eval function. Issue #604 | Brian Anderson | -17/+0 | |
| 2011-07-05 | Move everything syntax-related to syntax/, break deps on rest of compiler | Marijn Haverbeke | -0/+124 | |
| 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. | ||||
