about summary refs log tree commit diff
path: root/src/comp/syntax/ext/simplext.rs
AgeCommit message (Collapse)AuthorLines
2011-08-20ReformatBrian Anderson-67/+70
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-18More misc ivec->vec renamingBrian Anderson-1/+1
2011-08-18Remove seq_kind from ast::expr_vecBrian Anderson-6/+6
2011-08-18Remove or _-prefix all unused function argumentsMarijn Haverbeke-9/+9
This should make the compilation process a bit less noisy.
2011-08-16Port the compiler to the expr foo::<T> syntax.Erick Tryzelaar-3/+3
2011-08-16Port the compiler to foo<T> decl syntax.Erick Tryzelaar-2/+2
2011-08-16Port the compiler to the typaram foo<T> syntax.Erick Tryzelaar-24/+24
2011-08-16Rename std::ivec to std::vecBrian Anderson-22/+22
2011-08-15The wonky for...in... whitespace was bothering me. Sorry!Lindsey Kuper-8/+8
2011-08-15Use span stacks to track macro expansion for less troublesome error messages.Paul Stansifer-1/+6
2011-08-15Allow `[a, b, ..., c]` transcription patterns in MBE.Paul Stansifer-24/+42
2011-08-15Change `node_id`s when expanding, to avoid duplicates.Paul Stansifer-1/+4
2011-08-15Add a layer of boxing as a hack; this code can segfault otherwise.Paul Stansifer-5/+6
2011-08-15Check for nonconsistent macro names.Paul Stansifer-1/+11
2011-08-12Remove the last remaining vec expressions in rustcBrian Anderson-3/+3
2011-08-12Remove std::vecBrian Anderson-1/+0
2011-08-12Hide even more exports from std::vecBrian Anderson-2/+0
2011-08-12Remove vecs from simplextBrian Anderson-29/+21
2011-08-09Port the compiler to the ivec type [T] syntax.Erick Tryzelaar-10/+10
2011-08-02Allow patterns of the form `[a, b, c ...] to be matched and transcribed.Paul Stansifer-62/+80
2011-07-29Remove unreachable statementsMarijn Haverbeke-5/+5
2011-07-28Change macro syntax to accept a single expr, not a sequence of exprs.Paul Stansifer-42/+31
2011-07-27Reformat for new syntaxMarijn Haverbeke-431/+414
2011-07-26Oops, left whitespace.Paul Stansifer-1/+1
2011-07-26Add basic support for blocks and types in macros.Paul Stansifer-7/+123
2011-07-26Remove all uses of tuples from the compiler and stdlibMarijn Haverbeke-12/+10
2011-07-25Rename the block type to be blk also. Sorry.Michael Sullivan-2/+2
2011-07-22Implement Macro By Example.Paul Stansifer-179/+546
2011-07-13Prohibit trailing whitespace under 'tidy' script. Clean up all caught cases.Graydon Hoare-18/+18
2011-07-11Add elipses, reorganize the macro components into their own AST node.Paul Stansifer-32/+44
2011-07-11Move macro expansion to a separate phase, change macro syntax, and add ↵Paul Stansifer-74/+198
parse_sess to session.
2011-07-07rustc: Change lots of AST nodes to use interior vectorsPatrick Walton-10/+11
2011-07-06rustc: Make AST paths use interior vectorsPatrick Walton-2/+4
2011-07-06rustc: Revert the conversion to interior vectors due to heap corruptionPatrick Walton-4/+2
2011-07-06rustc: Make AST paths use interior vectorsPatrick Walton-2/+4
2011-07-05Move everything syntax-related to syntax/, break deps on rest of compilerMarijn Haverbeke-0/+144
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.