about summary refs log tree commit diff
path: root/src/comp/syntax/print/pprust.rs
AgeCommit message (Collapse)AuthorLines
2011-07-16Make clear the differentiation between char pos and byte pos in filemaps. ↵Josh Matthews-2/+2
Fix up error printing for files with multi-byte characters.
2011-07-15rustc: Remove a bunch of exterior vectorsPatrick Walton-4/+3
2011-07-14rustc: Move much of metadata reading over to interior vectorsPatrick Walton-6/+6
2011-07-13Prohibit trailing whitespace under 'tidy' script. Clean up all caught cases.Graydon Hoare-4/+4
2011-07-13box patterns, expect for the trans partMarijn Haverbeke-0/+4
2011-07-12rustc: Move ppaux away from exterior vectorsPatrick Walton-6/+2
2011-07-12rustc: Complete the transition of pprust to interior vectorsPatrick Walton-67/+36
2011-07-12Update pretty-printing of '...' in record patterns to be ', _' insteadMarijn Haverbeke-1/+4
2011-07-11So... I can't spell 'ellipsis'.Paul Stansifer-1/+1
2011-07-11Add elipses, reorganize the macro components into their own AST node.Paul Stansifer-12/+39
2011-07-11Move macro expansion to a separate phase, change macro syntax, and add ↵Paul Stansifer-1/+1
parse_sess to session.
2011-07-11Fix pretty-printing of record patternsMarijn Haverbeke-3/+3
2011-07-11Implement record patternsMarijn Haverbeke-0/+16
Closes #469.
2011-07-11Implement or-patterns in case clausesMarijn Haverbeke-3/+6
You can now say expr_move(?dst, ?src) | expr_assign(?dst, ?src) { ... } to match both expr_move and expr_assign. The names, types, and number of bound names have to match in all the patterns. Closes #449.
2011-07-10Add a missing case so nbody.rs can ppJesse Ruderman-0/+1
2011-07-08Alias-ify some prettyprinting functionsTim Chevalier-3/+4
2011-07-08Nicer pretty-printing for anon objs. Closes #499.Lindsey Kuper-3/+50
(Incidentally, what's the right way to test changes to the pretty-printer? There has to be a better way than what I did, which was to log_err the results of expr_to_str as exprs passed through trans and glance at the output.)
2011-07-07rustc: Remove all exterior vectors from the ASTPatrick Walton-5/+5
2011-07-07rustc: Change lots of AST nodes to use interior vectorsPatrick Walton-18/+19
2011-07-06rustc: Move AST constraints to interior vectorsPatrick Walton-2/+2
2011-07-06rustc: Migrate core AST types to interior vectorsPatrick Walton-3/+23
2011-07-06rustc: Make AST tuple types use interior vectorsPatrick Walton-1/+1
2011-07-06rustc: Make meta items into interior vectorsPatrick Walton-3/+3
2011-07-06rustc: Convert attribute in the AST to interior vectorsPatrick Walton-3/+3
2011-07-06rustc: Make AST paths use interior vectorsPatrick Walton-5/+17
2011-07-06rustc: Make the various constraint-related types in middle::ty use interior ↵Patrick Walton-2/+7
vectors
2011-07-06Simplify AST for expr_anon_obj.Lindsey Kuper-1/+1
2011-07-06rustc: Revert the conversion to interior vectors due to heap corruptionPatrick Walton-30/+13
2011-07-06Temp commit on the way to making meta_item into an interior vectorPatrick Walton-3/+3
2011-07-06rustc: Convert attribute in the AST to interior vectorsPatrick Walton-3/+3
2011-07-06rustc: Make AST paths use interior vectorsPatrick Walton-5/+17
2011-07-06rustc: Make the various constraint-related types in middle::ty use interior ↵Patrick Walton-2/+7
vectors
2011-07-06Remove temporary stdlib placeholders, use actual stdlib functionsMarijn Haverbeke-6/+4
(Possible now that a snapshot took place.)
2011-07-05Change ast::meta_name_value to accept any literal, not just stringBrian Anderson-1/+1
This isn't useful for much of anything yet, since metadata::encoder doesn't know how to handle the non-string variants. Issue #611
2011-07-05Print remaining comments at end of *crate*, not module.Graydon Hoare-1/+1
2011-07-05Parse attributes for native items. Closes #609Brian Anderson-0/+2
2011-07-05Move everything syntax-related to syntax/, break deps on rest of compilerMarijn Haverbeke-0/+1473
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.