about summary refs log tree commit diff
path: root/src/comp/syntax/fold.rs
AgeCommit message (Collapse)AuthorLines
2011-07-13Prohibit trailing whitespace under 'tidy' script. Clean up all caught cases.Graydon Hoare-49/+49
2011-07-13box patterns, expect for the trans partMarijn Haverbeke-0/+1
2011-07-12Elide existing main function when building a test runner. Issue #428Brian Anderson-0/+1
This prevents any defined main function from colliding with the one synthesized for the test runner. This is not the best solution since it doesn't compile a function the user defined, but I don't think it's likely to be a problem in the near term.
2011-07-12rustc: Move ppaux away from exterior vectorsPatrick Walton-2/+0
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-9/+22
2011-07-11Move macro expansion to a separate phase, change macro syntax, and add ↵Paul Stansifer-2/+2
parse_sess to session.
2011-07-11Add nodes for embedding types and blocks in expressions for macros.Paul Stansifer-16/+6
2011-07-11rustc: Implement explicit global scope resolution via leading "::"; add a ↵Patrick Walton-1/+2
test case
2011-07-11Implement record patternsMarijn Haverbeke-0/+7
Closes #469.
2011-07-11Implement or-patterns in case clausesMarijn Haverbeke-1/+2
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-10Export noop_fold_expr so the fuzzer can use itJesse Ruderman-0/+1
2011-07-09Track the path as we fold over the AST looking for unit tests. Issue #428Brian Anderson-0/+1
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-20/+21
2011-07-06rustc: Move AST constraints to interior vectorsPatrick Walton-4/+5
2011-07-06rustc: Make meta items into interior vectorsPatrick Walton-2/+2
2011-07-06rustc: Move crate directives over to interior vectorsPatrick Walton-2/+2
2011-07-06rustc: Convert attribute in the AST to interior vectorsPatrick Walton-5/+5
2011-07-06rustc: Make AST paths use interior vectorsPatrick Walton-2/+3
2011-07-06Begin adding unit testing infrastructure to the compilerBrian Anderson-0/+1
Add a --test flag and a pass for transforming the AST to generate a test harness. Issue #428
2011-07-06Simplify AST for expr_anon_obj.Lindsey Kuper-2/+2
2011-07-06rustc: Revert the conversion to interior vectors due to heap corruptionPatrick Walton-10/+9
2011-07-06Temp commit on the way to making meta_item into an interior vectorPatrick Walton-2/+2
2011-07-06rustc: Move crate directives over to interior vectorsPatrick Walton-2/+2
2011-07-06rustc: Convert attribute in the AST to interior vectorsPatrick Walton-5/+5
2011-07-06rustc: Make AST paths use interior vectorsPatrick Walton-2/+3
2011-07-05Parse attributes for native items. Closes #609Brian Anderson-0/+3
2011-07-05Move everything syntax-related to syntax/, break deps on rest of compilerMarijn Haverbeke-0/+708
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.