about summary refs log tree commit diff
path: root/src/comp/front/codemap.rs
AgeCommit message (Collapse)AuthorLines
2011-07-05Move everything syntax-related to syntax/, break deps on rest of compilerMarijn Haverbeke-52/+0
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-15Reformat source tree (minus a couple tests that are still grumpy).Graydon Hoare-19/+13
2011-05-17Finally rename std::_xxx to std::xxxMarijn Haverbeke-4/+4
Except for _task, which is still a keyword.
2011-05-16Rewrite everything to use [] instead of vec() in value position.Graydon Hoare-2/+2
2011-05-12Downcase std modules again, move to :: for module dereferencingMarijn Haverbeke-4/+4
This should be a snapshot transition.
2011-05-06Rename std modules to be camelcasedMarijn Haverbeke-4/+4
(Have fun mergining your stuff with this.)
2011-04-22Switch to binary search in codemap.lookup_posMarijn Haverbeke-19/+15
Patrick observed excessive slowness when looking up positions in rustc. This might help.
2011-04-19replace error logging with log_err in stdlib and rustcMarijn Haverbeke-1/+1
2011-04-09Fix codemap.lookup_posMarijn Haverbeke-15/+12
Previously, it would place every single location in the first file of the crate that was parsed.
2011-04-09Move to single-uint file-position representation.Marijn Haverbeke-0/+65
This makes passing them around cheaper. There is now a table (see front/codemap.rs) that is needed to transform such an uint into an actual filename/line/col location. Also cleans up the span building in the parser a bit.