about summary refs log tree commit diff
path: root/src/comp/driver
AgeCommit message (Collapse)AuthorLines
2011-08-27Convert std::os to istrs. Issue #855Brian Anderson-1/+2
2011-08-27Convert std::io to istrs. Issue #855Brian Anderson-5/+8
2011-08-27Convert std::run to istrs. Issue #855Brian Anderson-13/+18
2011-08-27Convert std::getopts to istrs. Issue #855Brian Anderson-55/+61
2011-08-27Convert std::fs to istrs. Issue #855Brian Anderson-16/+19
2011-08-27Convert std::int to istrs. Issue #855Brian Anderson-4/+7
2011-08-26Deleting trailing whitespaceEric Holk-1/+1
2011-08-26Bugfix. `--pretty typed` requires expansion. Closes #691.Paul Stansifer-21/+14
2011-08-23Add kind-checking for assign-op, copy, ret, be, fail exprs. Fix caught ↵Graydon Hoare-1/+1
kinding-violations in rustc and libstd.
2011-08-22Drop arguments on the caller side, not the calleeMarijn Haverbeke-15/+13
This makes it easier for the caller to optimize the take/drop away for temporary values, and opens up new possibilities for alias handling. Breaks tail calls.
2011-08-20ReformatBrian Anderson-102/+97
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-18Print tag names in type error messages. Closes #834.Michael Sullivan-6/+6
2011-08-17Convert rustc main to ivecsBrian Anderson-4/+3
2011-08-16Port the compiler to the expr foo::<T> syntax.Erick Tryzelaar-17/+19
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-3/+3
2011-08-16Remove partial DPS back-endMarijn Haverbeke-5/+1
It won't be finished on the short term, and it's already bit-rotting fast. We can fetch this from git's autumn annals if we need it.
2011-08-16Rename std::ivec to std::vecBrian Anderson-9/+7
2011-08-15The wonky for...in... whitespace was bothering me. Sorry!Lindsey Kuper-5/+5
2011-08-15Fix compilation of paths containing ".". Closes #821.Michael Sullivan-17/+12
2011-08-12Remove std::vecBrian Anderson-1/+0
2011-08-12Remove vecs from std::getoptsBrian Anderson-6/+5
2011-08-12Convert std::run to ivecsBrian Anderson-3/+3
2011-08-12Rename std::ioivec to std::ioBrian Anderson-7/+7
2011-08-12Rename str::connect_ivec to str::connectBrian Anderson-3/+3
2011-08-12Rename str::split_ivec to str::splitBrian Anderson-2/+2
2011-08-12Convert uses of str::split to split_ivecBrian Anderson-3/+3
2011-08-12Rename std::str::unsafe_from_bytes_ivec to unsafe_from_bytesBrian Anderson-1/+1
2011-08-12Remove vecs from the rustc driverBrian Anderson-40/+42
2011-08-10rustc: Add a --gc switch for debugging and experimentationPatrick Walton-3/+7
2011-08-09Port the compiler to the ivec type [T] syntax.Erick Tryzelaar-2/+2
2011-08-03parse_crate_from_source_str takes a parse_sess, not codemapBrian Anderson-1/+1
This was causing problems when reading from stdin for subsequent passes that needed to generate node ids.
2011-08-03Fix pretty-printer to read from files againBrian Anderson-1/+5
I accidentally made the pretty-printer always read from stdin
2011-08-02Add a --no-trans command line optionBrian Anderson-5/+16
Runs all passes before translation. This will be used for pretty-printing tests to verify that the results are still probably valid Rust code.
2011-08-02Compiler accepts input from stdin when source file is called "-"Brian Anderson-10/+32
2011-07-29Remove unreachable statementsMarijn Haverbeke-1/+1
2011-07-28Show millisecond precision for time_passes timesMarijn Haverbeke-5/+4
Closes #713
2011-07-27Remove vestiges of "layers", insert skeletal do-nothing "kind" pass plus ↵Graydon Hoare-0/+3
cached calculation of kind for each type.
2011-07-27Fix damage done by the pretty-printerMarijn Haverbeke-3/+2
2011-07-27Reformat for new syntaxMarijn Haverbeke-402/+380
2011-07-25Adjust pp interface to that printing a crate (an reproducing ↵Graydon Hoare-2/+3
literals/comments) takes a reader, not just a filename. Fixes first big pp-fuzzer bug.
2011-07-25Add a pass that checks for unreachable alt armsMarijn Haverbeke-0/+2
2011-07-23Add `--expand` option to rustc to pretty-print expanded code.Paul Stansifer-7/+20
2011-07-21Make ty::ctxt be boxed.Michael Sullivan-1/+1
Arguably we should leave ty_ctxt as a bare rec and just always work with boxes of it. This winds up being simpler and prettier, though.
2011-07-19Beginnings of support for constrained typesTim Chevalier-4/+4
Programs with constrained types now parse and typecheck, but typestate doesn't check them specially, so the one relevant test case so far is XFAILed. Also rewrote all of the constraint-related data structures in the process (again), for some reason. I got rid of a superfluous data structure in the context that was mapping front-end constraints to resolved constraints, instead handling constraints in the same way in which everything else gets resolved.
2011-07-19Add a pass that finds all of the free variables.Michael Sullivan-2/+7
2011-07-16Make clear the differentiation between char pos and byte pos in filemaps. ↵Josh Matthews-1/+1
Fix up error printing for files with multi-byte characters.
2011-07-15Merge the stage1,2,3.mk files into a common definition in stageN.mk, more ↵Graydon Hoare-1/+1
rearrangement of host/target libs.
2011-07-15rustc: Introduce a stub destination-passing-style translation engine, ↵Patrick Walton-4/+10
accessible via the --dps switch for now
2011-07-15rustc: Remove a bunch of exterior vectorsPatrick Walton-7/+13