about summary refs log tree commit diff
path: root/src/comp/syntax/ext/fmt.rs
AgeCommit message (Collapse)AuthorLines
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
2011-07-28Change macro syntax to accept a single expr, not a sequence of exprs.Paul Stansifer-1/+5
2011-07-27Fix damage done by the pretty-printerMarijn Haverbeke-3/+3
2011-07-27Reformat for new syntaxMarijn Haverbeke-256/+226
2011-07-26Remove all uses of tuples from the compiler and stdlibMarijn Haverbeke-8/+9
2011-07-11rustc: Implement explicit global scope resolution via leading "::"; add a ↵Patrick Walton-1/+1
test case
2011-07-10Make #fmt work from inside std. Issue #175Brian Anderson-8/+12
At long last, this patch makes #fmt usable from inside the standard library. The way it does it us very hackish, but at least it works now.
2011-07-07rustc: Change lots of AST nodes to use interior vectorsPatrick Walton-14/+15
2011-07-06rustc: Make AST paths use interior vectorsPatrick Walton-6/+5
2011-07-06rustc: Revert the conversion to interior vectors due to heap corruptionPatrick Walton-5/+6
2011-07-06rustc: Make AST paths use interior vectorsPatrick Walton-6/+5
2011-07-05Move everything syntax-related to syntax/, break deps on rest of compilerMarijn Haverbeke-0/+372
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.