about summary refs log tree commit diff
path: root/src/comp/syntax/ext/fmt.rs
AgeCommit message (Collapse)AuthorLines
2012-03-02Move src/comp to src/rustcGraydon Hoare-300/+0
2012-02-09Remove some pointless importsMarijn Haverbeke-2/+0
2012-02-03Make macro arg optional in syntax, again untested.Kevin Atkinson-0/+1
2012-02-03Add support for recognizing macro body, completely untested.Kevin Atkinson-1/+1
2012-02-03Change the type for the macro body to also store the span.Kevin Atkinson-1/+1
Note: the body is the part of the macro syntax between the {}.
2012-02-03Rename AST builders to use uniform naming scheme. Also add a few more.Kevin Atkinson-28/+14
2012-02-03Move useful ast building functions into their own module.Kevin Atkinson-39/+2
2012-01-31Change option::t to optionTim Chevalier-1/+1
Now that core exports "option" as a synonym for option::t, search-and- replace option::t with option. The only place that still refers to option::t are the modules in libcore that use option, because fixing this requires a new snapshot (forthcoming).
2012-01-18Remove '.' after nullary tags in patternsTim Chevalier-48/+48
Does what it says on the tin. The next commit will remove support for this syntax.
2012-01-11add a log_str() function and allow '%?' in fmt strings to use itNiko Matsakis-0/+2
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-22Register snapshots and switch logging over to use of log_full or #error / ↵Graydon Hoare-28/+32
#debug.
2011-12-16Switch fmt extension to reference extfmt that's in core.Graydon Hoare-7/+2
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-8/+8
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-1/+1
It seems inefficient to copy them around. Let's measure whether that's actually > the case
2011-11-17remove compile-command from local variable blocksNiko Matsakis-1/+0
2011-11-10Cleanup unused importsHaitao Li-1/+1
2011-11-10Add float support to #fmt. Fix #1014.Josh Matthews-0/+3
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-09-12Factor imports mindlessly.Graydon Hoare-5/+2
2011-09-12Pretty-print for new arg-mode syntaxMarijn Haverbeke-2/+2
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-31/+30
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-61/+52
2011-09-01Remove lots of estr code from rustc. Issue #855Brian Anderson-1/+1
2011-09-01Convert all uses of #ifmt to #fmt. Issue #855Brian Anderson-1/+1
2011-09-01Make #fmt and #ifmt synonymous. Issue #855Brian Anderson-0/+362
2011-09-01Remove the estr #fmt. Issue #855Brian Anderson-364/+0
2011-08-31Convert uses of #fmt to #ifmt. Issue #855Brian Anderson-12/+13
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-30/+31
2011-08-27Convert rustc::syntax::ext::base to istrs. Issue #855Brian Anderson-16/+17
2011-08-27Convert rest of the AST to istrs. Issue #855Brian Anderson-2/+2
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
2011-08-27Convert ast::ident to istr. Issue #855Brian Anderson-10/+10
2011-08-27Convert std::int to istrs. Issue #855Brian Anderson-5/+13
2011-08-20ReformatBrian Anderson-27/+30
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-18Remove seq_kind from ast::expr_vecBrian Anderson-2/+2
2011-08-18Remove or _-prefix all unused function argumentsMarijn Haverbeke-1/+1
This should make the compilation process a bit less noisy.
2011-08-16Port the compiler to the expr foo::<T> syntax.Erick Tryzelaar-4/+4
2011-08-16Port the compiler to the typaram foo<T> syntax.Erick Tryzelaar-1/+1
2011-08-16Rename std::ivec to std::vecBrian Anderson-4/+4
2011-08-16Continue migrating the std #fmt interface to ivecsBrian Anderson-1/+1
Only thing left is to remove some duplicate interfaces in std::extfmt::rt after the next snapshot
2011-08-15The wonky for...in... whitespace was bothering me. Sorry!Lindsey Kuper-5/+5
2011-08-15Add backtraces for syntax problems.Paul Stansifer-1/+1
2011-08-12Add an ivec interface to the #fmt library functionsBrian Anderson-4/+4
It will take a snapshot to finish the ivec conversion for #fmt
2011-08-12Remove std::vecBrian Anderson-1/+0
2011-08-12Begin removing vecs from #fmtBrian Anderson-9/+9
2011-08-09Port the compiler to the ivec type [T] syntax.Erick Tryzelaar-9/+9