about summary refs log tree commit diff
path: root/src/comp/driver
AgeCommit message (Collapse)AuthorLines
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
2011-07-14rustc: Move much of metadata reading over to interior vectorsPatrick Walton-7/+6
2011-07-14Flag --test implies '--cfg test'. Issue #428Brian Anderson-6/+53
So certain code can be conditionally compiled only when building for testing
2011-07-13Make resolve and the typechecker check for a main fn of theTim Chevalier-1/+8
correct type This means if a non-library program leaves out the main program, the error gets caught earlier than link. Closes #626.
2011-07-11Move macro expansion to a separate phase, change macro syntax, and add ↵Paul Stansifer-14/+23
parse_sess to session.
2011-07-11Only print up to six lines on error. Print ^~~~~ to highlight error span.Josh Matthews-0/+1
2011-07-08Add just enough logic to the driver so that we can link std statically.Rafael Ávila de Espíndola-2/+10
2011-07-08Move external crate/lib resolution to its own passBrian Anderson-0/+2
The scope of external crate reading is beyond the resolve pass now, as it builds up tables of information needed for several different purposes.
2011-07-08Move used_link_args from session to cstoreBrian Anderson-9/+2
2011-07-08Move used_libraries from session to cstoreBrian Anderson-21/+4
2011-07-08Move used_crate_files from session to cstoreBrian Anderson-17/+4