| Age | Commit message (Collapse) | Author | Lines |
|
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.
|
|
|
|
Except for _task, which is still a keyword.
|
|
|
|
This should be a snapshot transition.
|
|
(Have fun mergining your stuff with this.)
|
|
Patrick observed excessive slowness when looking up positions
in rustc. This might help.
|
|
|
|
Previously, it would place every single location in the first
file of the crate that was parsed.
|
|
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.
|