aboutsummaryrefslogtreecommitdiff
path: root/src/comp/rustc.rc
Commit message (Collapse)AuthorAgeFilesLines
* rustc: lowercase the link and link::write modulesBrian Anderson2011-05-131-1/+1
|
* Slight adjustments to shape, rename to type_glue.rs.Graydon Hoare2011-05-131-1/+1
|
* Make the parser more careful about keywordsMarijn Haverbeke2011-05-131-1/+1
| | | | | | Keywords are now only recognized in contexts where they are valid. The lexer no longer recognizes them, all words are lexed as IDENT tokens, that get interpreted by the parser.
* Move capture checking into resolve.rsMarijn Haverbeke2011-05-131-1/+0
| | | | | Drops capture.rs. The new algorithm also checks for captures function arguments and obj fields.
* rustc: Beginnings of a "shape" module to convert types to shapesPatrick Walton2011-05-121-0/+1
|
* Downcase std modules again, move to :: for module dereferencingMarijn Haverbeke2011-05-121-5/+5
| | | | This should be a snapshot transition.
* Add meta info to rustc.rcBrian Anderson2011-05-101-0/+6
|
* rustc: Declare upcalls with real signatures; preparation for killing ↵Patrick Walton2011-05-091-0/+1
| | | | rust_native_rust_* stubs
* rustc: Add a Link module; move crate writing to it to slim down trans slightlyPatrick Walton2011-05-051-0/+1
|
* Add #env syntax extension for plucking strings out of the compilation ↵Graydon Hoare2011-05-041-0/+1
| | | | environment.
* Change collect_upvars from using fold to using walkMarijn Haverbeke2011-04-201-0/+1
|
* rustc: Cache the results of type_of()Patrick Walton2011-04-191-16/+16
|
* Remove effect system from src.Graydon Hoare2011-04-191-26/+0
|
* Implement the "attempted dynamic environment-capture" error in rustc.Rafael Ávila de Espíndola2011-04-111-0/+1
|
* Move to single-uint file-position representation.Marijn Haverbeke2011-04-091-0/+1
| | | | | | | | This makes passing them around cheaper. There is now a table (see front/codemap.rs) that is needed to transform such an uint into an actual filename/line/col location. Also cleans up the span building in the parser a bit.
* Implemented computing prestates and poststates for a few expression forms.Tim Chevalier2011-04-081-0/+4
| | | | | The typestate checker (if it's uncommented) now correctly rejects a trivial example program that has an uninitialized variable.
* Revise EBML reader APIMarijn Haverbeke2011-04-071-0/+2
| | | | New one is less stateful, easier to work with.
* Continued sketching out code for checking states against preconditions.Tim Chevalier2011-04-061-1/+5
| | | | | | | | | It's still sketchy. I added a typestate annotation field to statements tagged stmt_decl or stmt_expr, because a stmt_decl statement has a typestate that's different from that of its child node. This necessitated trivial changes to a bunch of other files all over to the compiler. I also added a few small standard library functions, some of which I didn't actually end up using but which I thought might be useful anyway.
* More work on typestate. Sketched out code for computing and checking ↵Tim Chevalier2011-04-061-0/+2
| | | | prestates and poststates. Still a long ways away.
* Re-enable typestate_check in build, was lost during merge. Sorry.Graydon Hoare2011-04-011-0/+1
|
* rustc: Get tag variants from the crate metadataPatrick Walton2011-04-011-0/+1
|
* Started adding support for typestate checking.Tim Chevalier2011-04-011-0/+3
| | | | | | | | | | | | | | | I added a new field to the ast "ann" type for typestate information. Currently, the field contains a record of a precondition bit vector and postcondition vector, but I tried to structure things so as to make it easy to change the representation of the typestate annotation type. I also had to add annotations to some syntactic forms that didn't have them before (fail, ret, be...), with all the boilerplate changes that that would imply. The main call to the typestate_check entry point is commented out and the actual pre-postcondition algorithm only has a few cases implemented, though the overall AST traversal is there. The rest of the typestate algorithm isn't implemented yet.
* rustc: Write out an index of definition info in crate metadataPatrick Walton2011-03-311-0/+2
|
* Tweak build command on rustc.Graydon Hoare2011-03-311-1/+1
|
* Teach trans to emit undefined references to 'use'd symbols. Can compile and ↵Graydon Hoare2011-03-291-0/+1
| | | | run a simple 'use std;' example now.
* Move all allocas to dedicated basic block at top of function, to keep frames ↵Graydon Hoare2011-03-281-0/+2
| | | | finite. Un-comment next size in nbody.rs.
* rustc: Parse types in external metadataPatrick Walton2011-03-281-0/+2
|
* rustc: Look up names in "use"d cratesPatrick Walton2011-03-251-0/+1
|
* rustc: Open "use"d crates; add a _vec.vec_from_buf() method along the way; ↵Patrick Walton2011-03-241-0/+1
| | | | XFAIL use-import-export.rs in rustc
* rustc: Switch over to using rustllvm.dll exclusively, ending the ↵Patrick Walton2011-03-231-12/+6
| | | | "Franken-LLVM" problem
* Revert 6fdb81fa17b3c7147a69edc5217c9f93ff485410, it is causing failures inRafael Ávila de Espíndola2011-03-161-1/+0
| | | | the bots.
* rustc: Open "use"d crates with the LLVM object file readerPatrick Walton2011-03-151-0/+1
|
* rustc: Add a stub crate reader module for "use" directivesPatrick Walton2011-03-151-0/+1
|
* Append 'svn' to version in dll name, hopefully to bring win32 up again.Graydon Hoare2011-03-151-1/+1
|
* rustc: Add Rust bindings to the LLVM object file libraryPatrick Walton2011-03-151-3/+9
|
* Bump LLVM version strings to 3.0svn, we're effectively tied to it now anyways.Graydon Hoare2011-03-141-3/+3
|
* rustc: Add some stub metadata to each cratePatrick Walton2011-03-111-0/+2
|
* Have the pretty-printer take a writer stream as argumentMarijn Haverbeke2011-03-091-0/+1
| | | | | It now uses a string writer to also fill in for middle.ty.ast_ty_to_str
* Remove old pretty-printer from rustcBrian Anderson2011-03-071-1/+0
|
* Add a pretty-printerMarijn Haverbeke2011-03-071-0/+5
| | | | | Adds a -pp option to the compiler which will cause it to simply pretty-print the given file.
* Begin an AST pretty-printerBrian Anderson2011-03-021-0/+1
|
* Begin implementing #fmt in rustcBrian Anderson2011-03-021-0/+1
|
* Factor crate expr evaluator out of parser, expand to simple scalars and ops, ↵Graydon Hoare2011-02-241-1/+1
| | | | if, alt.
* Tweak effect-checking rules in rustboot, remove/rewrite/re-auth impure cases ↵Graydon Hoare2011-01-211-0/+2
| | | | in trans.rs
* rustc: Move type logic out of typeck so trans doesn't look like it's calling ↵Patrick Walton2010-12-211-0/+1
| | | | into typeck
* rustc: First stab at a typecheckerPatrick Walton2010-11-191-0/+1
|
* Switch rustc to llvm 2.8 rather than 2.8svn on windows.Graydon Hoare2010-11-051-1/+1
|
* First pass on splitting stratum and opacity off of effects. WIP.Graydon Hoare2010-11-021-1/+1
|
* line length police; moved comp.util.bits to std.bitvDave Herman2010-10-211-1/+0
|
* created a first draft of the bit-set library needed for typestateDave Herman2010-10-201-0/+1
|