aboutsummaryrefslogtreecommitdiff
path: root/src/comp/rustc.rc
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add the beginnings of an ast folder plus an empty module for resolve.Graydon Hoare2010-10-061-0/+2
|
* More work on trans, almost getting to the point of emitting an upcall.Graydon Hoare2010-09-241-0/+1
|
* Translate a bunch of the material (lltrans, llasm, abi) from rustboot to ↵Graydon Hoare2010-09-231-3/+8
| | | | rustc, and move files around.
* Move llvm-using code in rustc to trans module.Graydon Hoare2010-09-221-1/+6
|
* Add session, span tracking, error reporting, beginning of a function to ↵Graydon Hoare2010-09-011-0/+1
| | | | parse an item to rustc.
* Simplify lexer/parser structure to use stdio_reader.Graydon Hoare2010-08-181-1/+2
|
* Add mod token to rustc.Graydon Hoare2010-08-181-0/+1
|
* Add mod common to rustc.Graydon Hoare2010-08-181-0/+4
|
* Change indent on rustc.rc.Graydon Hoare2010-08-181-16/+17
|
* Fix symbol names on LLVM C library binding and library-name for LLVM.Graydon Hoare2010-08-181-3/+5
|
* Absent any deep overhauls to syntax or constant-handling, hack in the ↵Graydon Hoare2010-08-161-1/+17
| | | | ability to project a cexp var binding to a token in the parser. Use it in comp/rustc.rc and comp/lib/llvm.rs.
* Add mostly-empty AST module to rustc.Graydon Hoare2010-08-121-0/+1
|
* Start bringing in LLVM bindings.Graydon Hoare2010-07-121-0/+4
|
* Populate tree.Graydon Hoare2010-06-231-0/+20