| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | One last refactoring of the import handling: | Rafael Ávila de Espíndola | 2011-01-18 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | * Create an import resolving stage. Currently this involves a copy of the ast, we can probably revisit this once we revisit doing full copies of the ast in general. * Don't repeat work. Once we resolve a import, put it on a hash table and use it next time we are asked for it. This solves a O(n^2) behaviour in degenerated cases. * Once import resolution is done, the target of an import is stored on the import itself. | |||||
| * | Change single-ident expr_ident to greedy/fat multi-ident expr_path, to ↵ | Graydon Hoare | 2011-01-13 | 1 | -34/+68 | |
| | | | | | handle the module-path/value-indexing distinction. | |||||
| * | Change mod_index_entry to point directly to items and view_items. | Rafael Ávila de Espíndola | 2011-01-12 | 1 | -46/+8 | |
| | | ||||||
| * | Sketch support for reading multi-file crates in rustc. Add test, not yet ↵ | Graydon Hoare | 2011-01-10 | 1 | -32/+138 | |
| | | | | | working. | |||||
| * | Add names from imports to the namespace. | Rafael Ávila de Espíndola | 2011-01-04 | 1 | -2/+5 | |
| | | ||||||
| * | Add support for looking up a name introduced by a 'use'. | Rafael Ávila de Espíndola | 2011-01-04 | 1 | -7/+16 | |
| | | | | | | | | | | | With this we go from "error: unresolved name: foo" to "unimplemented definition variant for: foo" in use foo; fn main(vec[str] args) { foo.bar(); } | |||||
| * | Refactor the view_item code so that it is similar to the code used for | Rafael Ávila de Espíndola | 2011-01-04 | 1 | -19/+34 | |
| | | | | | parsing regular items. | |||||
| * | Rename use_or_import to view_item. | Rafael Ávila de Espíndola | 2011-01-04 | 1 | -5/+5 | |
| | | ||||||
| * | Split driver between parsing source files and crate files, by extension. Add ↵ | Graydon Hoare | 2011-01-03 | 1 | -1/+8 | |
| | | | | | dummy function for crate files. | |||||
| * | Actually return the correct node from the parser. | Graydon Hoare | 2011-01-03 | 1 | -2/+1 | |
| | | ||||||
| * | Remove missed debug chatter. | Graydon Hoare | 2011-01-03 | 1 | -1/+0 | |
| | | ||||||
| * | Add restricted-parse mode, and parse bind expressions. | Graydon Hoare | 2010-12-31 | 1 | -10/+68 | |
| | | ||||||
| * | Parse local item decls. | Graydon Hoare | 2010-12-31 | 1 | -6/+36 | |
| | | ||||||
| * | Index tag and obj items in decl stmts. | Graydon Hoare | 2010-12-31 | 1 | -0/+6 | |
| | | ||||||
| * | Record the ast of uses and imports. | Rafael Ávila de Espíndola | 2010-12-30 | 1 | -21/+45 | |
| | | ||||||
| * | Parse 'import' directives in rustc. | Rafael Ávila de Espíndola | 2010-12-24 | 1 | -0/+44 | |
| | | ||||||
| * | Parse 'use' directives in rustc. | Rafael Ávila de Espíndola | 2010-12-24 | 1 | -0/+47 | |
| | | ||||||
| * | Sketch trans_vtbl. | Graydon Hoare | 2010-12-16 | 1 | -2/+3 | |
| | | ||||||
| * | Add ty_obj to ast and parser. | Graydon Hoare | 2010-12-14 | 1 | -7/+36 | |
| | | ||||||
| * | Move call_expr parse rule to the place where it needs to be to understand ↵ | Graydon Hoare | 2010-12-14 | 1 | -14/+13 | |
| | | | | | complex calls. | |||||
| * | Add obj items to AST and parser. | Graydon Hoare | 2010-12-14 | 1 | -26/+83 | |
| | | ||||||
| * | rustc: Add a definition ID to tag patterns | Patrick Walton | 2010-12-12 | 1 | -2/+2 | |
| | | ||||||
| * | rustc: Resolve pattern bindings | Patrick Walton | 2010-12-10 | 1 | -1/+20 | |
| | | ||||||
| * | rustc: Add def ids to pattern bindings | Patrick Walton | 2010-12-10 | 1 | -1/+1 | |
| | | ||||||
| * | Fix another bug in expr_index parse rule. | Graydon Hoare | 2010-12-09 | 1 | -1/+1 | |
| | | ||||||
| * | Fix bug in parse rule for expr_index. | Graydon Hoare | 2010-12-09 | 1 | -0/+5 | |
| | | ||||||
| * | Add 'unexpected' fn to parser. | Graydon Hoare | 2010-12-09 | 1 | -0/+6 | |
| | | ||||||
| * | First sketch of support for const items, not including most of trans. | Graydon Hoare | 2010-12-09 | 1 | -0/+22 | |
| | | ||||||
| * | Add missing case to parse_ty, un-XFAIL cast.rs. | Graydon Hoare | 2010-12-08 | 1 | -0/+1 | |
| | | ||||||
| * | Implement binop= forms. Un-XFAIL bitwise.rs. | Graydon Hoare | 2010-12-08 | 1 | -0/+22 | |
| | | ||||||
| * | rustc: Add def ids to variant arguments so we can turn them into function ↵ | Patrick Walton | 2010-12-03 | 1 | -9/+9 | |
| | | | | | arguments later | |||||
| * | Parse layer and effect annotations. | Graydon Hoare | 2010-12-03 | 1 | -3/+47 | |
| | | ||||||
| * | Add code to fail on non-exhaustive alt matching. Fix all cases this picked ↵ | Graydon Hoare | 2010-12-01 | 1 | -1/+6 | |
| | | | | | up in rustc. | |||||
| * | rustc: Annotate variants with their types. This may be useful for trans! | Patrick Walton | 2010-12-01 | 1 | -1/+2 | |
| | | ||||||
| * | rustc: Resolve tag variant names | Patrick Walton | 2010-12-01 | 1 | -14/+37 | |
| | | ||||||
| * | Tidy up structural types for rec, tup AST and typeck nodes. | Graydon Hoare | 2010-11-30 | 1 | -31/+30 | |
| | | ||||||
| * | rustc: Add def ids to variants | Patrick Walton | 2010-11-30 | 1 | -1/+2 | |
| | | ||||||
| * | rustc: Implement the block syntax discussed on the mailing list | Patrick Walton | 2010-11-29 | 1 | -18/+99 | |
| | | ||||||
| * | Add ty_rec and parse it. | Graydon Hoare | 2010-11-29 | 1 | -0/+17 | |
| | | ||||||
| * | Change mutability into a type constructor. | Graydon Hoare | 2010-11-29 | 1 | -18/+4 | |
| | | ||||||
| * | Change from bool to tag ast.mutability. | Graydon Hoare | 2010-11-29 | 1 | -12/+18 | |
| | | ||||||
| * | Add ast.ty_mutable. | Graydon Hoare | 2010-11-29 | 1 | -1/+13 | |
| | | ||||||
| * | rustc: Assign definition IDs to type params | Patrick Walton | 2010-11-24 | 1 | -1/+6 | |
| | | ||||||
| * | rustc: Parse type-parametric typedefs | Patrick Walton | 2010-11-24 | 1 | -2/+4 | |
| | | ||||||
| * | rustc: Parse type-parametric tags | Patrick Walton | 2010-11-24 | 1 | -8/+13 | |
| | | ||||||
| * | rustc: Parse type-parametric functions | Patrick Walton | 2010-11-24 | 1 | -2/+10 | |
| | | ||||||
| * | rustc: Don't require a semicolon after an "alt" statement | Patrick Walton | 2010-11-24 | 1 | -0/+6 | |
| | | ||||||
| * | rustc: Add patterns to fold | Patrick Walton | 2010-11-24 | 1 | -4/+10 | |
| | | ||||||
| * | rustc: Parse simple patterns | Patrick Walton | 2010-11-24 | 1 | -0/+77 | |
| | | ||||||
| * | rustc: Parse tag items. Currently segfaults in copy glue. | Patrick Walton | 2010-11-24 | 1 | -0/+49 | |
| | | ||||||