about summary refs log tree commit diff
path: root/src/comp
AgeCommit message (Collapse)AuthorLines
2011-08-16Removed trans_comm.rs from the compiler. Updating aio/sio to work with the ↵Eric Holk-356/+0
new chan and port system, started on a networking module for the standard library.
2011-08-16Make let bindings' scope start at their definitionMarijn Haverbeke-14/+56
Also, allow let bindings in a block to shadow each other.
2011-08-15The wonky for...in... whitespace was bothering me. Sorry!Lindsey Kuper-420/+420
2011-08-15rustc: Add a few type-related methods to unique pointers; add typestate supportPatrick Walton-1/+15
2011-08-15Remove a FIXME that I just made obsolete...Michael Sullivan-1/+1
2011-08-15Make bind glue do an llvm tail call to the target. Closes #2.Michael Sullivan-1/+1
Now, llvm probably won't actually *emit* a tail call with the compiler options and configuration we have, but this should punt it over to the more general "do tail calls" bug.
2011-08-15Make GEPi use InBoundsGEP.Michael Sullivan-1/+1
2011-08-15Pretty print lambda-blocks.Michael Sullivan-10/+41
2011-08-15Change arg typechecking procedure to make blocks more useful.Michael Sullivan-11/+28
2011-08-15Implement type inference for type-inferred blocks.Michael Sullivan-4/+14
2011-08-15Parse type inferred lambda-block expressions.Michael Sullivan-7/+41
2011-08-15Add operator 'copy', translates as fall-through.Graydon Hoare-7/+41
2011-08-15Implement an untyped version of the AST, with a coversion back to the typed ↵Paul Stansifer-0/+817
AST..
2011-08-15Use span stacks to track macro expansion for less troublesome error messages.Paul Stansifer-37/+63
2011-08-15Make spans into stacks (to store expansion backtraces).Paul Stansifer-50/+79
2011-08-15Allow `[a, b, ..., c]` transcription patterns in MBE.Paul Stansifer-24/+42
2011-08-15Rename a field (so that macros can mention it).Paul Stansifer-13/+13
2011-08-15Change `node_id`s when expanding, to avoid duplicates.Paul Stansifer-9/+23
2011-08-15Add a syntax extension to log syntax, for debugging macros.Paul Stansifer-3/+22
2011-08-15Add a layer of boxing as a hack; this code can segfault otherwise.Paul Stansifer-5/+6
2011-08-15Add backtraces for syntax problems.Paul Stansifer-64/+60
2011-08-15Check for nonconsistent macro names.Paul Stansifer-1/+11
2011-08-15Fix compilation of paths containing ".". Closes #821.Michael Sullivan-17/+12
2011-08-15rustc: Parse and typecheck unique pointersPatrick Walton-1/+14
2011-08-15rustc: Unbreak "3 as uint < 5u"Patrick Walton-49/+59
2011-08-15rustc: Accept <T> for type parameters in type and item declarationsPatrick Walton-4/+14
2011-08-15Removed spawn and task from the parser. Updated all the tests except for the ↵Eric Holk-0/+4
benchmarks.
2011-08-15Fix bad argument type of pprust::print_typeMarijn Haverbeke-29/+27
AST types are boxed, there's no need for every caller to do the unboxing
2011-08-15Add tuple patternsMarijn Haverbeke-35/+130
2011-08-15Make tuples constructableMarijn Haverbeke-11/+26
2011-08-15Tuple fields are immutableMarijn Haverbeke-138/+93
2011-08-15Tuple types back, not constructable yetMarijn Haverbeke-16/+278
2011-08-14Revert "Make [] and ~[] both construct ivecs"Brian Anderson-1/+1
This reverts commit 60e1cead9bab129b1937a11c71ab2ab2fd751792. The check-fast driver can't work with this commit. Need to wait until main taks ivecs
2011-08-12Eliminate autoderef on binops and unary negation.Michael Sullivan-99/+45
Autoderef on binops is basically unused, kind of silly, and complicates typechecking. There were only three instances of it in the compiler and the test drivers, two of which were of the form "*foo = foo + 1", which should be written as "*foo += 1" anyways.
2011-08-12Remove typestate workaround that's no longer necessaryTim Chevalier-4/+1
2011-08-12Small whitespace cleanups.Michael Sullivan-12/+5
2011-08-12Un-XFAIL do-while-body-failsTim Chevalier-1/+8
Made it work both with optimization enabled, and with optimization disabled. Huzzah!
2011-08-12Make [] and ~[] both construct ivecsBrian Anderson-1/+1
It's no longer possible to create an exterior vec
2011-08-12Remove the last remaining vec expressions in rustcBrian Anderson-8/+11
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-12Don't rely on binop autoderef in the compiler.Michael Sullivan-2/+2
2011-08-12Remove std::vecBrian Anderson-3/+0
2011-08-12Convert uint::parse_buf to ivecsBrian Anderson-5/+4
2011-08-12Remove vecs from std::getoptsBrian Anderson-6/+5
2011-08-12Remove ebmlivec moduleBrian Anderson-221/+221
2011-08-12Rename std::termivec to std::termBrian Anderson-5/+5
2011-08-12Remove vecs from std::sortBrian Anderson-5/+5
2011-08-12Convert std::run to ivecsBrian Anderson-3/+3
2011-08-12Hide even more exports from std::vecBrian Anderson-2/+0
2011-08-12Rename std::ioivec to std::ioBrian Anderson-59/+59