| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2012-03-02 | Move src/comp to src/rustc | Graydon Hoare | -152/+0 | |
| 2012-03-02 | restructure to better support method inlining | Niko Matsakis | -13/+6 | |
| 2012-03-02 | retool inline encoding to handle methods, fix tests | Niko Matsakis | -0/+9 | |
| 2012-02-24 | Encode/decode AST into metadata, re-instantiate inlined items | Niko Matsakis | -6/+26 | |
| 2012-02-22 | Stop normalizing patterns | Marijn Haverbeke | -8/+14 | |
| The check for whether a pat_ident is a variant or a binding is simple and fast. Normalizing patterns again and again is slow and error-prone (several places were forgetting to do it). | ||||
| 2012-02-13 | remove leading ::, new tests | Niko Matsakis | -1/+1 | |
| 2012-02-11 | correct fully qualified type names to include the crate; add tests (take 2) | Niko Matsakis | -1/+1 | |
| This reverts commit fc023d91c77f468211ba9f7681b4d2a6469aac74. | ||||
| 2012-02-11 | Revert prior commit until I have time to track down the valgrind error | Niko Matsakis | -1/+1 | |
| This reverts commit 2ec3a0b60833736a3c0d805768885b4392c36100. | ||||
| 2012-02-10 | correct fully qualified type names to include the crate; add tests | Niko Matsakis | -1/+1 | |
| fixes #1745 | ||||
| 2012-02-10 | put serializer into the build and encode full item paths | Niko Matsakis | -0/+14 | |
| 2012-02-09 | Remove some pointless imports | Marijn Haverbeke | -1/+0 | |
| 2012-02-09 | Monomorphize methods and bounded parameters | Marijn Haverbeke | -2/+2 | |
| Issue #1736 | ||||
| 2012-02-08 | Monomorphize resource and variant constructors | Marijn Haverbeke | -0/+8 | |
| Issue #1736 | ||||
| 2012-02-03 | Store item paths in ast_map, get rid of trans::local_ctxt | Marijn Haverbeke | -27/+42 | |
| The direct motivation for this was that the monomorphizer needs to be able to generate sane symbols for random items. The typechecker can probably also use this in the future to provide more useful error messages. | ||||
| 2012-01-31 | Require alts to be exhaustive | Tim Chevalier | -48/+4 | |
| middle::check_alt does the work. Lots of changes to add default cases into alts that were previously inexhaustive. | ||||
| 2012-01-19 | rustc: ";" to "," in enums | Patrick Walton | -7/+7 | |
| 2012-01-19 | rustc: "tag" -> "enum" | Patrick Walton | -1/+1 | |
| 2012-01-17 | Allow omission of the '.' after nullary tag patterns | Tim Chevalier | -2/+2 | |
| This commit allows patterns like: alt x { some(_) { ... } none { } } without the '.' after none. The parser suspends judgment about whether a bare ident is a tag or a new bound variable; instead, the resolver disambiguates. This means that any code after resolution that pattern-matches on patterns needs to call pat_util::normalize_pat, which consults an environment to do this disambiguation. In addition, local variables are no longer allowed to shadow tag names, so this required changing some code (e.g. renaming variables named "mut", and renaming ast::sub to subtract). The parser currently accepts patterns with and without the '.'. Once the compiler and libraries are changed, it will no longer accept the '.'. | ||||
| 2012-01-13 | Obj system? What obj system? | Marijn Haverbeke | -29/+0 | |
| Removes the obj system from the compiler. Closes #1484 | ||||
| 2012-01-11 | Implement std::map as an iface/impl instead of an obj | Marijn Haverbeke | -77/+3 | |
| 2012-01-05 | Switch to new param kind bound syntax | Marijn Haverbeke | -3/+3 | |
| And remove support for the old syntax | ||||
| 2012-01-05 | Add more item types to the ast_map so the test suite can build with debug info. | Josh Matthews | -0/+8 | |
| 2011-12-29 | split proto from fn_decl, as not all fn_decls know the proto. | Niko Matsakis | -3/+3 | |
| this will address the (crashing) new test added. | ||||
| 2011-12-23 | Go back to a single visit_fn function in visit.rs | Marijn Haverbeke | -3/+3 | |
| 2011-12-23 | Parse `iface` items and interface references in `impl` items. | Marijn Haverbeke | -1/+1 | |
| The (temporary) syntax is iface seq<T> { fn len() -> uint; fn iter(f: block(T)); } // The 'blah<T>' can be left of to default the name of the // impl to seq<T>. The 'of seq<T>' can be left off when // not implementing a named interface. impl blah<T> of seq<T> for [T] { fn len() -> uint { vec::len(self) } fn iter(f: block(T)) { for x in self { f(x); } } } | ||||
| 2011-12-22 | Unify some data structures in syntax::ast that were doing the same thing | Marijn Haverbeke | -3/+3 | |
| As a preparation to removing some duplication in typeck. | ||||
| 2011-12-21 | Make { || ... } sugar for any type of closure, inferred | Niko Matsakis | -4/+4 | |
| 2011-12-19 | Fix merge error and rebasing changes for debug information. | Josh Matthews | -0/+1 | |
| 2011-12-18 | Remove source line generation craziness. Ensure incorrect subprogram caches ↵ | Josh Matthews | -1/+11 | |
| are not conflated. Generate ast_map entries for object members and resource constructors and destructors. | ||||
| 2011-12-16 | Finish resolving and calling of crate-external impls | Marijn Haverbeke | -0/+4 | |
| Issue #1227 | ||||
| 2011-12-13 | Copy first batch of material from libstd to libcore. | Graydon Hoare | -1/+2 | |
| 2011-11-18 | Update stdlib, compiler, and tests to new kind system | Marijn Haverbeke | -4/+4 | |
| This involved adding 'copy' to more generics than I hoped, but an experiment with making it implicit showed that that way lies madness -- unless enforced, you will not remember to mark functions that don't copy as not requiring copyable kind. Issue #1177 | ||||
| 2011-11-17 | remove compile-command from local variable blocks | Niko Matsakis | -1/+0 | |
| 2011-11-16 | fix bug in shape where s_int/s_uint were not customized to platform | Niko Matsakis | -4/+4 | |
| 2011-11-16 | temporarily disable these tests b/c they crash rustc | Niko Matsakis | -4/+4 | |
| 2011-11-10 | Cleanup unused imports | Haitao Li | -1/+0 | |
| 2011-10-28 | Make shared kind the default only for generic functions | Marijn Haverbeke | -3/+3 | |
| You almost never want a function with pinned type params. For types, objects, resources, and tags, pinned types are actually often more sane. For most of these, shared rarely makes sense. Only tricky case is objs -- you'll have to think about the kinds you want there. Issue #1076 | ||||
| 2011-10-25 | Update our code to new type parameter kind syntax | Marijn Haverbeke | -5/+5 | |
| Closes #1067 | ||||
| 2011-10-21 | Move ast_util::pat_bindings over to new iter system. | Marijn Haverbeke | -4/+4 | |
| Issue #1056 | ||||
| 2011-10-21 | Move hash table iteration over to block-taking functions | Marijn Haverbeke | -14/+20 | |
| Issue #1056 | ||||
| 2011-10-07 | Parse and typecheck by-value and by-ref arg specs | Marijn Haverbeke | -1/+1 | |
| Add sprinkle && throughout the compiler to make it typecheck again. Issue #1008 | ||||
| 2011-09-15 | Move local numbering into ast_map.rs | Marijn Haverbeke | -17/+42 | |
| This further simplifies the alias pass, which is sorely needed. | ||||
| 2011-09-14 | Make ast_map.rs index function args, switch it over to simple_visitor | Marijn Haverbeke | -12/+16 | |
| 2011-09-12 | Factor imports mindlessly. | Graydon Hoare | -4/+2 | |
| 2011-09-12 | Reformat for new mode syntax, step 1 | Marijn Haverbeke | -17/+16 | |
| Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit. | ||||
| 2011-09-02 | Reformat. Issue #855 | Brian Anderson | -3/+3 | |
| 2011-08-27 | Convert ast::ident to istr. Issue #855 | Brian Anderson | -3/+3 | |
| 2011-08-22 | Move functions from syntax::ast to syntax::ast_util | Brian Anderson | -4/+6 | |
| This leaves syntax::ast just defining the AST, which strikes me as somewhat nicer | ||||
| 2011-08-20 | Reformat | Brian Anderson | -28/+27 | |
| This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[] | ||||
| 2011-08-18 | Remove or _-prefix all unused function arguments | Marijn Haverbeke | -1/+1 | |
| This should make the compilation process a bit less noisy. | ||||
