| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Continued sketching out code for checking states against preconditions. | Tim Chevalier | 2011-04-06 | 1 | -1/+1 |
| | | | | | | | | | | 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. | ||||
| * | Last pieces of self-call support. | Lindsey Kuper | 2011-04-05 | 1 | -0/+6 |
| | | | | | | | | | 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!). | ||||
| * | Make box prefix operator and box type carry mutability flag. | Graydon Hoare | 2011-04-04 | 1 | -2/+2 |
| | | |||||
| * | Started adding support for typestate checking. | Tim Chevalier | 2011-04-01 | 1 | -7/+7 |
| | | | | | | | | | | | | | | | | 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: Add a type annotation to tag items | Patrick Walton | 2011-03-31 | 1 | -7/+2 |
| | | |||||
| * | rustc: Make tag_ty_params() and substitute_ty_params() take def ids instead ↵ | Patrick Walton | 2011-03-31 | 1 | -3/+3 |
| | | | | | of ty_params, and to check in external crates | ||||
| * | rustc: Thread an item-to-type mapping throughout the typechecking and ↵ | Patrick Walton | 2011-03-30 | 1 | -0/+55 |
| | | | | | translation phases | ||||
| * | Beginnings of support for magical self prefix; nothing profound happening yet. | Lindsey Kuper | 2011-03-29 | 1 | -0/+1 |
| | | |||||
| * | Add expr_spawn, spawn parsing, folding, typechecking, ty_task | Brian Anderson | 2011-03-28 | 1 | -0/+3 |
| | | |||||
| * | Another go at changing compile-command, this time using RBUILD env var. | Graydon Hoare | 2011-03-25 | 1 | -1/+1 |
| | | |||||
| * | Revert "Bulk-edit compile commands in emacs chatter to point to assumed ↵ | Graydon Hoare | 2011-03-25 | 1 | -1/+1 |
| | | | | | | | build/ dir off src root." This reverts commit 846f2e2ba994268725f38c36fa12f1a09f21615c. | ||||
| * | Bulk-edit compile commands in emacs chatter to point to assumed build/ dir ↵ | Graydon Hoare | 2011-03-25 | 1 | -1/+1 |
| | | | | | off src root. | ||||
| * | rustc: Create a crate metadata cache | Patrick Walton | 2011-03-25 | 1 | -5/+1 |
| | | |||||
| * | Support for shorter error messages that are aware of objects' cnames. | Lindsey Kuper | 2011-03-22 | 1 | -6/+20 |
| | | |||||
| * | Add codegen for ports and chans | Brian Anderson | 2011-03-22 | 1 | -0/+6 |
| | | |||||
| * | Make floating-point operations work (neg, add, sub, mul, div, rem, | Tim Chevalier | 2011-03-21 | 1 | -0/+5 |
| | | | | | and comparison ops.) | ||||
| * | Started adding support for floating-point type, floating-point literals, and ↵ | Tim Chevalier | 2011-03-21 | 1 | -0/+3 |
| | | | | | logging of floats. Other operations on float probably don't work yet. | ||||
| * | Modify native_item_fn to handle trailing linkage names that differ from the ↵ | Graydon Hoare | 2011-03-20 | 1 | -1/+1 |
| | | | | | item name (used in win32 build of std.dll) | ||||
| * | rustc: Implement "mutable?". Add a test case and XFAIL it in rustboot for now. | Patrick Walton | 2011-03-18 | 1 | -23/+60 |
| | | |||||
| * | rustc: Switch mutability from being a type constructor to a field annotation | Patrick Walton | 2011-03-17 | 1 | -58/+100 |
| | | |||||
| * | rustc: Correctly report mutability when stringifying types | Patrick Walton | 2011-03-17 | 1 | -24/+24 |
| | | |||||
| * | rustc: Consider native types to be scalar | Patrick Walton | 2011-03-17 | 1 | -0/+1 |
| | | |||||
| * | rustc: Sort object methods when parsing textual types in the AST | Patrick Walton | 2011-03-17 | 1 | -0/+8 |
| | | |||||
| * | Switch all vases of vec += elt to vec += vec. Prohibit former in rustboot. ↵ | Graydon Hoare | 2011-03-16 | 1 | -5/+4 |
| | | | | | Tweak std lib vec fns in process. | ||||
| * | Merge remote branch 'brson/recursive-elseif' | Graydon Hoare | 2011-03-14 | 1 | -1/+1 |
| |\ | |||||
| | * | Merge branch 'master' into recursive-elseif | Brian Anderson | 2011-03-13 | 1 | -83/+12 |
| | |\ | | | | | | | | | | | | | | | | Conflicts: src/comp/middle/typeck.rs | ||||
| | * \ | Merge branch 'master' into recursive-elseif | Brian Anderson | 2011-03-07 | 1 | -190/+489 |
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/Makefile src/comp/front/ast.rs src/comp/front/parser.rs src/comp/middle/fold.rs src/comp/middle/trans.rs | ||||
| * | | | | Add ty_port and ty_chan to expr_ty function | Brian Anderson | 2011-03-14 | 1 | -11/+13 |
| | | | | | |||||
| * | | | | Add folding and type checking for ports and chans | Brian Anderson | 2011-03-14 | 1 | -0/+54 |
| | |_|/ |/| | | |||||
| * | | | Implement deep structural comparison through boxes and sequences. | Graydon Hoare | 2011-03-09 | 1 | -0/+8 |
| | | | | |||||
| * | | | Have the pretty-printer take a writer stream as argument | Marijn Haverbeke | 2011-03-09 | 1 | -80/+1 |
| | | | | | | | | | | | | | | | | It now uses a string writer to also fill in for middle.ty.ast_ty_to_str | ||||
| * | | | rustc: Make ann_to_type() fail if the node has no type. Miraculously, no ↵ | Patrick Walton | 2011-03-08 | 1 | -2/+2 |
| | | | | | | | | | | | | | test cases fail. | ||||
| * | | | rustc: Add a slot for explicit type parameter instantations to the ↵ | Patrick Walton | 2011-03-08 | 1 | -1/+1 |
| | |/ |/| | | | | | typechecker's AST annotation | ||||
| * | | Add a pretty-printer | Marijn Haverbeke | 2011-03-07 | 1 | -0/+2 |
| | | | | | | | | | | | Adds a -pp option to the compiler which will cause it to simply pretty-print the given file. | ||||
| * | | Construct the wrappers to native functions. Hello world now works :-) | Rafael Ávila de Espíndola | 2011-03-07 | 1 | -0/+7 |
| | | | |||||
| * | | Remove typestate workarounds | Brian Anderson | 2011-03-06 | 1 | -29/+13 |
| | | | |||||
| * | | Make ret and fail stmts have 0 out-edges, Closes #250. | Graydon Hoare | 2011-03-05 | 1 | -1/+1 |
| | | | |||||
| * | | Assortment of additional work on vec-append. Not done yet. | Graydon Hoare | 2011-03-03 | 1 | -0/+9 |
| | | | |||||
| * | | Revert "rustc: Add support for folding over tag types" as it's unnecessary. ↵ | Patrick Walton | 2011-03-03 | 1 | -9/+1 |
| | | | | | | | | | Oops. | ||||
| * | | rustc: Add support for folding over tag types | Patrick Walton | 2011-03-03 | 1 | -1/+9 |
| | | | |||||
| * | | Handle native types in calls. | Rafael Ávila de Espíndola | 2011-03-03 | 1 | -0/+10 |
| | | | |||||
| * | | Sketch out some more pieces of vec-append. | Graydon Hoare | 2011-03-02 | 1 | -0/+10 |
| | | | |||||
| * | | Add fold, typecheck and trans for expr_ext | Brian Anderson | 2011-03-02 | 1 | -0/+1 |
| | | | |||||
| * | | rustc: Mark tags that have subtypes with dynamic size as dynamic | Patrick Walton | 2011-02-28 | 1 | -0/+7 |
| | | | |||||
| * | | rustc: Make the tag info table keyed by both tag ID and type parameter. Also ↵ | Patrick Walton | 2011-02-25 | 1 | -2/+3 |
| | | | | | | | | | fix a bug that was causing all tags to compare equal. | ||||
| * | | Pass the abi of native functions all the way to codegen. | Rafael Ávila de Espíndola | 2011-02-25 | 1 | -11/+20 |
| | | | |||||
| * | | rustc: Perform type parameter substitutions when emitting glue for generic ↵ | Patrick Walton | 2011-02-24 | 1 | -1/+42 |
| | | | | | | | | | tags. Un-XFAIL generic-tag.rs. | ||||
| * | | Implement type descriptor binding. Un-XFAIL test/run-pass/generic-bind.rs. | Patrick Walton | 2011-02-23 | 1 | -0/+3 |
| | | | |||||
| * | | Handle the new ty_native_fn in type check. | Rafael Ávila de Espíndola | 2011-02-23 | 1 | -20/+87 |
| | | | |||||
| * | | Make a tag for iterness / fnness, teach many places about it. | Graydon Hoare | 2011-02-18 | 1 | -107/+136 |
| | | | |||||