about summary refs log tree commit diff
path: root/src/comp/syntax/ext
AgeCommit message (Collapse)AuthorLines
2011-12-28comp: minor cleanup.Erick Tryzelaar-1/+1
2011-12-22Register new snapshots, purge log_err and log_full in favour of log(...).Graydon Hoare-6/+6
2011-12-22Switch core macros to expand to log(level, ...).Graydon Hoare-4/+4
2011-12-22Register snapshots and switch logging over to use of log_full or #error / ↵Graydon Hoare-28/+32
#debug.
2011-12-22Revert all of yesterday's snapshots and try again. Cursed!Graydon Hoare-4/+4
2011-12-20Inject "core macros" into default syntax-expansion environment. Bit of a ↵Graydon Hoare-14/+25
kludge but enough to work on logging-via-macros.
2011-12-16Switch fmt extension to reference extfmt that's in core.Graydon Hoare-7/+2
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-16/+17
2011-12-07Change literal representation to not truncateMarijn Haverbeke-2/+2
Also shuffles around the organization of numeric literals and types, separating by int/uint/float instead of machine-vs-non-machine types. This simplifies some code. Closes #974 Closes #1252
2011-11-30Box ast::path valuesMarijn Haverbeke-11/+11
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-5/+0
2011-11-10Cleanup unused importsHaitao Li-10/+9
2011-11-10Add float support to #fmt. Fix #1014.Josh Matthews-0/+3
2011-10-25Update our code to new type parameter kind syntaxMarijn Haverbeke-1/+1
Closes #1067
2011-10-21Change the way block calls are parsed, mark them as block-calls.Marijn Haverbeke-1/+1
This makes it possible to omit the semicolon after the block, and will cause the pretty-printer to properly print such calls (if pretty-printing of blocks wasn't so broken). Block calls (with the block outside of the parentheses) can now only occur at statement level, and their value can not be used. When calling a block-style function that returns a useful value, the block must be put insde the parentheses. Issue #1054
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-9/+9
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-3/+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-51/+17
2011-09-12Pretty-print for new arg-mode syntaxMarijn Haverbeke-2/+4
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-110/+109
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-182/+153
2011-09-01Remove lots of estr code from rustc. Issue #855Brian Anderson-5/+4
2011-09-01Remove #ifmt. Issue #855Brian Anderson-2/+0
2011-09-01Convert all uses of #ifmt to #fmt. Issue #855Brian Anderson-4/+4
2011-09-01Make #fmt and #ifmt synonymous. Issue #855Brian Anderson-13/+15
2011-09-01Rename std::istr to std::str. Issue #855Brian Anderson-8/+8
2011-09-01Parse "",str as istrs. Pretty print istrs as "",str. Issue #855Brian Anderson-1/+1
2011-09-01Remove std::str. Issue #855Brian Anderson-1/+0
2011-09-01Remove various istr conversions. Issue #855Brian Anderson-10/+9
2011-09-01Remove the estr #fmt. Issue #855Brian Anderson-365/+0
2011-08-31Convert uses of #fmt to #ifmt. Issue #855Brian Anderson-32/+34
2011-08-30Convert #env to istrs. Temporarily disable usage in rustc. Issue #855Brian Anderson-1/+1
2011-08-30Add #ifmt extension, like #fmt but for istrs. Issue #855Brian Anderson-0/+364
2011-08-30Remove the %S istr conversion from #fmtBrian Anderson-2/+0
I want to do the #fmt transition a different way. Issue #855
2011-08-27Convert misc compiler bits to istrs. Issue #855Brian Anderson-47/+47
2011-08-27Convert rustc::syntax::ext::base to istrs. Issue #855Brian Anderson-82/+87
2011-08-27Convert rustc::driver::session to istrs. Issue #855Brian Anderson-5/+8
2011-08-27Convert pretty-printer to istrs. Issue #855Brian Anderson-1/+1
2011-08-27Convert parser to istrs. Issue #855Brian Anderson-1/+2
2011-08-27Convert rest of the AST to istrs. Issue #855Brian Anderson-14/+15
2011-08-27Support istrs in #fmt. Issue #855Brian Anderson-0/+2
The format string may be an istr and istr args may be used with %S