summary refs log tree commit diff
path: root/src/comp/util/common.rs
AgeCommit message (Collapse)AuthorLines
2012-01-18Remove '.' after nullary tags in patternsTim Chevalier-2/+2
Does what it says on the tin. The next commit will remove support for this syntax.
2012-01-05Merge branch 'master' into kmathStefan Plantikow-1/+1
Conflicts: src/libcore/float.rs
2012-01-05Moved generic float::min, max to core::math and cleaned up some importsStefan Plantikow-2/+1
2012-01-05Switch to new param kind bound syntaxMarijn Haverbeke-1/+1
And remove support for the old syntax
2011-12-22Register new snapshots, purge log_err and log_full in favour of log(...).Graydon Hoare-9/+9
2011-12-22Merge branch 'master' of github.com:graydon/rustGraydon Hoare-9/+0
2011-12-22Register snapshots and switch logging over to use of log_full or #error / ↵Graydon Hoare-11/+29
#debug.
2011-12-22Unify some data structures in syntax::ast that were doing the same thingMarijn Haverbeke-8/+0
As a preparation to removing some duplication in typeck.
2011-12-20removed math leftovers from stdStefan Plantikow-1/+1
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-3/+3
2011-11-22Only warn about unreachable range patterns when appropriateMarijn Haverbeke-186/+0
Also simplifies the literal-munging, and moves it into ast_util Closes #1170
2011-11-18Update stdlib, compiler, and tests to new kind systemMarijn Haverbeke-2/+2
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-8/+4
2011-10-25Update our code to new type parameter kind syntaxMarijn Haverbeke-2/+2
Closes #1067
2011-10-21Drop support for iter, put, and for-eachMarijn Haverbeke-11/+0
Closes #1056
2011-10-18Add a math module to the standard libMarijn Haverbeke-18/+11
I need some rudimentary stdlib stuff for the tutorial. Closes #1042
2011-10-12[Renaming] str_to_float is now float::from_str, float_to_str is now ↵David Rajchenbach-Teller-3/+3
float::to_str
2011-10-11[Move] Moved str_to_float, float_to_str from compiler to libDavid Rajchenbach-Teller-37/+3
2011-09-28Revert "Revert "Implement pattern ranges for all numeric types.""Brian Anderson-0/+172
This reverts commit a034f87146e60e1db2327c6f6807c47406a1bb0b. Conflicts: src/comp/middle/check_alt.rs src/comp/middle/trans_alt.rs src/comp/syntax/ast.rs src/comp/syntax/ast_util.rs src/comp/syntax/fold.rs src/comp/syntax/print/pprust.rs Conflicts: src/comp/middle/trans_alt.rs
2011-09-21Revert "Implement pattern ranges for all numeric types."Marijn Haverbeke-172/+0
This reverts commit ce0f054f9d56df4e60291fc2e1b89ce979cf374f.
2011-09-21Implement pattern ranges for all numeric types.Josh Matthews-0/+172
2011-09-12Factor imports mindlessly.Graydon Hoare-24/+7
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-20/+20
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-13/+10
2011-09-01Remove lots of estr code from rustc. Issue #855Brian Anderson-2/+2
2011-09-01Rename std::istr to std::str. Issue #855Brian Anderson-2/+2
2011-09-01Remove std::str. Issue #855Brian Anderson-1/+0
2011-08-27Convert rustc::util to istrs. Issue #855Brian Anderson-10/+10
2011-08-27Convert ast::ident to istr. Issue #855Brian Anderson-4/+4
2011-08-27Convert std::uint to istrs. Issue #855Brian Anderson-2/+3
2011-08-20ReformatBrian Anderson-4/+3
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-16Port the compiler to the expr foo::<T> syntax.Erick Tryzelaar-1/+1
2011-08-16Port the compiler to foo<T> decl syntax.Erick Tryzelaar-1/+1
2011-08-16Port the compiler to the typaram foo<T> syntax.Erick Tryzelaar-4/+4
2011-08-16Rename std::ivec to std::vecBrian Anderson-1/+1
2011-08-15The wonky for...in... whitespace was bothering me. Sorry!Lindsey Kuper-1/+1
2011-08-15Fix bad argument type of pprust::print_typeMarijn Haverbeke-1/+1
AST types are boxed, there's no need for every caller to do the unboxing
2011-08-15Tuple fields are immutableMarijn Haverbeke-8/+0
2011-08-12Rename std::ioivec to std::ioBrian Anderson-3/+3
2011-08-09Port the compiler to the ivec type [T] syntax.Erick Tryzelaar-5/+5
2011-08-03Do a bunch more typechecking for iters and for each loops.Michael Sullivan-1/+2
Closes #771. Closes #772. Closes #796.
2011-07-29Enable kind checking on typarams, fix kind constraints in library and comp.Graydon Hoare-1/+1
2011-07-28Show millisecond precision for time_passes timesMarijn Haverbeke-0/+22
Closes #713
2011-07-27Reformat for new syntaxMarijn Haverbeke-105/+78
2011-07-26Convert all code that uses walk.rs in the straightforward way to simple_visitMarijn Haverbeke-5/+5
Code that needs the keep_going functionality is still using walk. I will add an equivalent to visit.rs later.
2011-07-26Remove all uses of tuples from the compiler and stdlibMarijn Haverbeke-3/+3
2011-07-25Rename the block type to be blk also. Sorry.Michael Sullivan-3/+3
2011-07-14rustc: Move much of metadata reading over to interior vectorsPatrick Walton-3/+3
2011-07-13Make resolve and the typechecker check for a main fn of theTim Chevalier-1/+4
correct type This means if a non-library program leaves out the main program, the error gets caught earlier than link. Closes #626.