about summary refs log tree commit diff
path: root/src/comp/syntax/ext/simplext.rs
AgeCommit message (Collapse)AuthorLines
2011-12-16reorder args to the various vec, option fns so blk comes lastNiko Matsakis-2/+2
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-1/+1
2011-11-30Box ast::path valuesMarijn Haverbeke-7/+7
It seems inefficient to copy them around. Let's measure whether that's actually > the case
2011-11-18Update stdlib, compiler, and tests to new kind systemMarijn Haverbeke-1/+1
This involved adding 'copy' to more generics than I hoped, but an experiment with making it implicit showed that that way lies madness -- unless enforced, you will not remember to mark functions that don't copy as not requiring copyable kind. Issue #1177
2011-11-17remove compile-command from local variable blocksNiko Matsakis-1/+0
2011-11-10Cleanup unused importsHaitao Li-4/+3
2011-10-25Update our code to new type parameter kind syntaxMarijn Haverbeke-1/+1
Closes #1067
2011-10-21Move hash table iteration over to block-taking functionsMarijn Haverbeke-8/+8
Issue #1056
2011-10-20Make fn denote a bare function. Convert fn to fn@ as neededBrian Anderson-6/+6
2011-10-10Adjust function signatures to allow for vecs being immediateMarijn Haverbeke-2/+2
Some code was relying on vectors being implicitly by-reference (as non-immediate value). This adds the necessary &&-sigils. Closes #1021
2011-10-07Give up on providing a by-value version of map, convert fold over toMarijn Haverbeke-3/+3
passing pointers by ref Issue #1008
2011-10-07Parse and typecheck by-value and by-ref arg specsMarijn Haverbeke-2/+2
Add sprinkle && throughout the compiler to make it typecheck again. Issue #1008
2011-09-24Vectors containing pinned kinds become pinnedBrian Anderson-1/+1
Otherwise they could be copied
2011-09-19Break fold's circular reference during unwindingBrian Anderson-2/+0
This converts the AST fold into a resource that breaks it's own circular reference (just a temporary workaround until GC), so that failure during fold will unwind correctly. Issue #936
2011-09-16Require body of else-less if expressions to be a value-less blockMarijn Haverbeke-1/+1
For consistency with other constructs that could not possibly return a value (say, loops).
2011-09-15Insert omitted semicolons for statementsMarijn Haverbeke-1/+1
2011-09-12Factor imports mindlessly.Graydon Hoare-26/+8
2011-09-12Pretty-print for new arg-mode syntaxMarijn Haverbeke-0/+2
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-60/+61
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
2011-09-02Reformat. Issue #855Brian Anderson-68/+59
2011-09-01Convert all uses of #ifmt to #fmt. Issue #855Brian Anderson-2/+2
2011-09-01Rename std::istr to std::str. Issue #855Brian Anderson-1/+1
2011-08-31Convert uses of #fmt to #ifmt. Issue #855Brian Anderson-5/+5
2011-08-27Convert misc compiler bits to istrs. Issue #855Brian Anderson-13/+12
2011-08-27Convert rustc::syntax::ext::base to istrs. Issue #855Brian Anderson-35/+38
2011-08-27Convert rest of the AST to istrs. Issue #855Brian Anderson-2/+3
2011-08-27Remove ast::identistr. Issue #855Brian Anderson-7/+6
2011-08-27Convert ast::ident to istr. Issue #855Brian Anderson-20/+19
2011-08-27Convert std::map::new_str_hash to istrs. Issue #855Brian Anderson-17/+29
2011-08-22Move functions from syntax::ast to syntax::ast_utilBrian Anderson-1/+1
This leaves syntax::ast just defining the AST, which strikes me as somewhat nicer
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