| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-04-11 | Move ExtFmt compile-time functions into their own module | Brian Anderson | -1/+1 | |
| 2011-04-11 | Make ExtFmt call its own functions instead of others defined in std | Brian Anderson | -6/+4 | |
| 2011-04-11 | Move extfmt parsing into standard library | Brian Anderson | -210/+1 | |
| 2011-04-11 | Move the extfmt data model into the standard library. | Brian Anderson | -48/+30 | |
| 2011-04-09 | Fix codemap.lookup_pos | Marijn Haverbeke | -15/+12 | |
| Previously, it would place every single location in the first file of the crate that was parsed. | ||||
| 2011-04-09 | Move to single-uint file-position representation. | Marijn Haverbeke | -319/+374 | |
| 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. | ||||
| 2011-04-09 | Make lexer buffer the whole file | Marijn Haverbeke | -59/+66 | |
| This way, it won't have to go through a bunch of calls for each byte fetched. | ||||
| 2011-04-07 | Support for self-calls that take arguments. | Lindsey Kuper | -4/+11 | |
| Nicer parsing of self-calls (expr_self_method nodes inside expr_call nodes, rather than a separate expr_call_self) makes typechecking tractable. We can now write self-calls that take arguments and return values (see: test/run-pass/obj-self-*.rs). | ||||
| 2011-04-07 | Add a very basic crate-dump utility | Marijn Haverbeke | -0/+66 | |
| 'rustc -ls [cratelib]' will now dump out a list of symbols defined by the crate, as well as a short description of what they are. | ||||
| 2011-04-07 | Revise EBML reader API | Marijn Haverbeke | -191/+122 | |
| New one is less stateful, easier to work with. | ||||
| 2011-04-06 | Continued sketching out code for checking states against preconditions. | Tim Chevalier | -10/+11 | |
| 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. | ||||
| 2011-04-05 | Last pieces of self-call support. | Lindsey Kuper | -1/+1 | |
| The last few pieces of the hack that lets us use trans.trans_call() to translate self-calls, plus a fix for the parser buy that was preventing self-call expressions from getting past parsing. test/run-pass/obj-self.rs works now (as in it actually prints "hi!" twice!). | ||||
| 2011-04-05 | Further on the path toward self-awareness. | Lindsey Kuper | -2/+6 | |
| Mostly: * Merciless refactoring of trans.rs so that trans_call can work for self-calls as well as other kinds of calls Also: * Various changes to go with having idents, rather than exprs, in expr_call_self AST nodes * Added missing case for SELF token to token.to_str() | ||||
| 2011-04-04 | Make box prefix operator and box type carry mutability flag. | Graydon Hoare | -3/+7 | |
| 2011-04-01 | Support for passing native types through metadata/creader. | Graydon Hoare | -0/+2 | |
| 2011-04-01 | rustc: Get tag variants from the crate metadata | Patrick Walton | -6/+49 | |
| 2011-04-01 | Started adding support for typestate checking. | Tim Chevalier | -28/+31 | |
| 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. | ||||
| 2011-03-31 | rustc: Add a type annotation to tag items | Patrick Walton | -4/+5 | |
| 2011-03-31 | rustc: Use the path index. Speeds up compilation a lot. | Patrick Walton | -91/+48 | |
| 2011-03-31 | rustc: Write out a path index as well | Patrick Walton | -8/+7 | |
| 2011-03-31 | Couple minor bug fixes in creader, lib-bitv, int, rand, sort, sha1, uint and ↵ | Graydon Hoare | -0/+8 | |
| vec all work. | ||||
| 2011-03-31 | rustc: Use the crate index to look up defs | Patrick Walton | -29/+26 | |
| 2011-03-31 | rustc: Write out an index of definition info in crate metadata | Patrick Walton | -10/+9 | |
| 2011-03-31 | Remove redundant parser logic. | Brian Anderson | -33/+0 | |
| These cases are all dealt with in parse_expr_inner. | ||||
| 2011-03-31 | handle unterminated block comments and line comment at eof | Marijn Haverbeke | -4/+9 | |
| 2011-03-31 | Improve line comment positioning | Marijn Haverbeke | -6/+11 | |
| This involved making ast.variant spanned. | ||||
| 2011-03-31 | Support break and cont in pretty-printer | Marijn Haverbeke | -0/+2 | |
| 2011-03-31 | Add effect field to ast.ty_fn. | Marijn Haverbeke | -15/+13 | |
| Still not used, except by the pretty-printer. | ||||
| 2011-03-31 | Preserve comments when pretty-printing. | Marijn Haverbeke | -1/+83 | |
| The patch also includes a number of smaller fixes to the pretty-printer that were encountered on the way. | ||||
| 2011-03-30 | rustc: Read 'y' tags from external crates | Patrick Walton | -6/+10 | |
| 2011-03-30 | rustc: Thread an item-to-type mapping throughout the typechecking and ↵ | Patrick Walton | -7/+35 | |
| translation phases | ||||
| 2011-03-29 | rustc: Parse parameter IDs in external crate metadata. Un-XFAIL lib-bitv.rs. | Patrick Walton | -6/+12 | |
| 2011-03-29 | rustc: Partially resolve external module imports | Patrick Walton | -16/+16 | |
| 2011-03-29 | rustc: Tolerate def id tags inside module tags. Fixes metadata reading. | Patrick Walton | -32/+33 | |
| 2011-03-29 | Beginnings of support for magical self prefix; nothing profound happening yet. | Lindsey Kuper | -1/+19 | |
| 2011-03-29 | Ignore 'mutable foo' in plain field contexts. | Graydon Hoare | -0/+6 | |
| 2011-03-29 | rustc: Resolve external modules and native modules to definition IDs as well | Patrick Walton | -5/+8 | |
| 2011-03-29 | Teach trans to emit undefined references to 'use'd symbols. Can compile and ↵ | Graydon Hoare | -0/+39 | |
| run a simple 'use std;' example now. | ||||
| 2011-03-28 | Add expr_spawn, spawn parsing, folding, typechecking, ty_task | Brian Anderson | -0/+30 | |
| 2011-03-28 | rustc: Parse types in external metadata | Patrick Walton | -25/+72 | |
| 2011-03-28 | rustc: Populate the item types table with types of items from external ↵ | Patrick Walton | -2/+1 | |
| crates; remove the redundant typeck.ty_and_params type on the way | ||||
| 2011-03-28 | rustc: Resolve def ids in external crates | Patrick Walton | -4/+61 | |
| 2011-03-28 | rustc: Add support for calling LLVM intrinsics as native functions | Patrick Walton | -0/+4 | |
| 2011-03-27 | Add support for break and cont to rustc | Marijn Haverbeke | -0/+20 | |
| Testing proper cleanup is hampered by https://github.com/graydon/rust/issues/293 | ||||
| 2011-03-26 | Teach creader and metadata writer how to do ty.ty_type. | Graydon Hoare | -0/+1 | |
| 2011-03-25 | rustc: Add a function to look up external item info in the item info table | Patrick Walton | -4/+52 | |
| 2011-03-25 | Janitorial: move llvmext back to llvm module, as they're the same thing now. | Graydon Hoare | -7/+6 | |
| 2011-03-25 | rustc: Parse definition IDs from crates; add a function to parse unsigned ↵ | Patrick Walton | -5/+21 | |
| ints to the standard library | ||||
| 2011-03-25 | rustc: Look up names in "use"d crates | Patrick Walton | -5/+119 | |
| 2011-03-25 | Another go at changing compile-command, this time using RBUILD env var. | Graydon Hoare | -7/+7 | |
