| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2011-04-06 | Continued sketching out code for checking states against preconditions. | Tim Chevalier | -2/+2 | |
| 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 | 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-05 | Oops -- if we're going to use the pretty-printer, we need it to work. | Lindsey Kuper | -0/+5 | |
| 2011-04-01 | Started adding support for typestate checking. | Tim Chevalier | -8/+8 | |
| 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 | Add block_to_str and expr_to_str methods to the pprust module. | Brian Anderson | -0/+18 | |
| Since pprust is authed impure these can be used for debug logging. | ||||
| 2011-03-31 | rustc: Add a type annotation to tag items | Patrick Walton | -1/+1 | |
| 2011-03-31 | More stuff to go with the new expr_call_self AST node | Lindsey Kuper | -0/+7 | |
| 2011-03-31 | Improve line comment positioning | Marijn Haverbeke | -27/+64 | |
| This involved making ast.variant spanned. | ||||
| 2011-03-31 | Support break and cont in pretty-printer | Marijn Haverbeke | -0/+6 | |
| 2011-03-31 | Add effect field to ast.ty_fn. | Marijn Haverbeke | -4/+9 | |
| Still not used, except by the pretty-printer. | ||||
| 2011-03-31 | Preserve comments when pretty-printing. | Marijn Haverbeke | -786/+976 | |
| The patch also includes a number of smaller fixes to the pretty-printer that were encountered on the way. | ||||
| 2011-03-25 | Update pretty printer for ports, channels, send and receive | Brian Anderson | -1/+33 | |
| 2011-03-25 | Refactor ast.local to make room for initialization via recv | Brian Anderson | -2/+2 | |
| 2011-03-25 | make lexer unicode-aware for strings and char literals | Marijn Haverbeke | -1/+0 | |
| 2011-03-25 | fix pretty-printer | Marijn Haverbeke | -6/+10 | |
| A change in 54587bdccb7b6771cfc704a30fc0ef2c65824a15 (the vec appending overhaul) had broken it. (Apparently modifying a vec while iterating over it can corrupt memory.) | ||||
| 2011-03-21 | Started adding support for floating-point type, floating-point literals, and ↵ | Tim Chevalier | -0/+3 | |
| logging of floats. Other operations on float probably don't work yet. | ||||
| 2011-03-20 | Modify native_item_fn to handle trailing linkage names that differ from the ↵ | Graydon Hoare | -1/+5 | |
| item name (used in win32 build of std.dll) | ||||
| 2011-03-18 | rustc: Implement "mutable?". Add a test case and XFAIL it in rustboot for now. | Patrick Walton | -2/+4 | |
| 2011-03-17 | rustc: Switch mutability from being a type constructor to a field annotation | Patrick Walton | -25/+30 | |
| 2011-03-16 | Switch all vases of vec += elt to vec += vec. Prohibit former in rustboot. ↵ | Graydon Hoare | -7/+9 | |
| Tweak std lib vec fns in process. | ||||
| 2011-03-15 | rustc: Add an annotation for the crate definition to view_item_use | Patrick Walton | -1/+1 | |
| 2011-03-14 | Merge remote branch 'brson/recursive-elseif' | Graydon Hoare | -18/+10 | |
| 2011-03-14 | Make pretty-printer print 'with' clause in rec literals | Marijn Haverbeke | -1/+11 | |
| 2011-03-13 | Merge branch 'master' into recursive-elseif | Brian Anderson | -34/+84 | |
| Conflicts: src/comp/middle/typeck.rs | ||||
| 2011-03-09 | Add ty_obj case to pretty printer | Marijn Haverbeke | -16/+37 | |
| 2011-03-09 | Have the pretty-printer take a writer stream as argument | Marijn Haverbeke | -17/+36 | |
| It now uses a string writer to also fill in for middle.ty.ast_ty_to_str | ||||
| 2011-03-07 | Add partial pretty-printing for syntax extensions | Brian Anderson | -1/+10 | |
| 2011-03-07 | Add missing alt arm to expr_if pretty-printer | Brian Anderson | -0/+1 | |
| 2011-03-07 | Merge branch 'master' into recursive-elseif | Brian Anderson | -0/+915 | |
| Conflicts: src/Makefile src/comp/front/ast.rs src/comp/front/parser.rs src/comp/middle/fold.rs src/comp/middle/trans.rs | ||||
| 2011-03-07 | Add a pretty-printer | Marijn Haverbeke | -0/+923 | |
| Adds a -pp option to the compiler which will cause it to simply pretty-print the given file. | ||||
