| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | | Add native modules to resolve. With this hello world gets to typecheck. | Rafael Avila de Espindola | 2011-02-07 | 1 | -0/+2 | |
| | | | ||||||
| * | | Add support for | Rafael Avila de Espindola | 2011-02-07 | 1 | -1/+12 | |
| | | | | | | | | | native mod foo = "bar" ... | |||||
| * | | Parse function declarations. | Rafael Ávila de Espíndola | 2011-02-04 | 2 | -12/+37 | |
| | | | ||||||
| * | | Factor the parsing of "type foo" into parse_type_decl. | Rafael Ávila de Espíndola | 2011-02-04 | 1 | -9/+11 | |
| | | | ||||||
| * | | Add most of the plumbing for native items and add support for parsing native ↵ | Rafael Ávila de Espíndola | 2011-02-02 | 2 | -3/+51 | |
| | | | | | | | | | type declarations. | |||||
| * | | Add very minimal support for native modules. For now they must be empty. | Rafael Ávila de Espíndola | 2011-02-01 | 2 | -0/+25 | |
| | | | ||||||
| * | | Implement 'else if' | Graydon Hoare | 2011-02-01 | 2 | -11/+33 | |
| | | | ||||||
| * | | Add ty_type. | Graydon Hoare | 2011-02-01 | 1 | -0/+1 | |
| |/ | ||||||
| * | Teach rustc to fail | Brian Anderson | 2011-01-28 | 2 | -0/+7 | |
| | | ||||||
| * | Correctly handle "import foo = bar.zed;". | Rafael Ávila de Espíndola | 2011-01-28 | 2 | -12/+24 | |
| | | ||||||
| * | First step for supporting "case (foo.bar(?zed))": Change the ast of | Rafael Ávila de Espíndola | 2011-01-27 | 2 | -3/+4 | |
| | | | | | pat_tag to hold a path. | |||||
| * | Do better at parsing expr_paths with type arguments. | Graydon Hoare | 2011-01-24 | 1 | -19/+23 | |
| | | ||||||
| * | Switch from booleans to symbolic tags in a few places. | Graydon Hoare | 2011-01-24 | 1 | -23/+28 | |
| | | ||||||
| * | Teach parser to recognize ITER keyword as item-start. | Graydon Hoare | 2011-01-24 | 1 | -0/+1 | |
| | | ||||||
| * | Teach AST, parser, folder about iter items. | Graydon Hoare | 2011-01-21 | 2 | -8/+25 | |
| | | ||||||
| * | Adjust AST encoding, teach fold about linear for loops. | Graydon Hoare | 2011-01-20 | 2 | -12/+21 | |
| | | ||||||
| * | typo | Rafael Ávila de Espíndola | 2011-01-20 | 1 | -1/+1 | |
| | | ||||||
| * | Teach ast and parser about linear for expressions. | Graydon Hoare | 2011-01-20 | 2 | -28/+56 | |
| | | ||||||
| * | One last refactoring of the import handling: | Rafael Ávila de Espíndola | 2011-01-18 | 2 | -3/+4 | |
| | | | | | | | | | | | | | | * 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 | 2 | -38/+71 | |
| | | | | | 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 | 2 | -49/+53 | |
| | | ||||||
| * | Sketch support for reading multi-file crates in rustc. Add test, not yet ↵ | Graydon Hoare | 2011-01-10 | 1 | -32/+138 | |
| | | | | | working. | |||||
| * | Add sufficient import support to compile some simple single-crate programs. | Rafael Ávila de Espíndola | 2011-01-07 | 1 | -1/+0 | |
| | | | | | | This is likely not the final solution. It does repetitive work and doesn't produce errors for invalid but unused imports. In any case, I think it is a useful step. | |||||
| * | Add names from imports to the namespace. | Rafael Ávila de Espíndola | 2011-01-04 | 2 | -3/+7 | |
| | | ||||||
| * | Add support for looking up a name introduced by a 'use'. | Rafael Ávila de Espíndola | 2011-01-04 | 2 | -11/+24 | |
| | | | | | | | | | | | 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 | 2 | -30/+40 | |
| | | | | | parsing regular items. | |||||
| * | Rename use_or_import to view_item. | Rafael Ávila de Espíndola | 2011-01-04 | 2 | -8/+8 | |
| | | ||||||
| * | 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 | |
| | | ||||||
| * | Add def id to ast for obj fields. | Graydon Hoare | 2010-12-30 | 1 | -0/+1 | |
| | | ||||||
| * | Record the ast of uses and imports. | Rafael Ávila de Espíndola | 2010-12-30 | 2 | -21/+59 | |
| | | ||||||
| * | 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 | |
| | | ||||||
| * | rustc: Move type logic out of typeck so trans doesn't look like it's calling ↵ | Patrick Walton | 2010-12-21 | 1 | -3/+2 | |
| | | | | | into typeck | |||||
| * | rustc: Add bind expressions to the AST | Patrick Walton | 2010-12-20 | 1 | -0/+1 | |
| | | ||||||
| * | Sketch trans_vtbl. | Graydon Hoare | 2010-12-16 | 2 | -4/+5 | |
| | | ||||||
| * | rustc: Lex '_' as an underscore, not as an identifier | Patrick Walton | 2010-12-15 | 1 | -1/+4 | |
| | | ||||||
| * | Add ty_obj to ast and parser. | Graydon Hoare | 2010-12-14 | 2 | -7/+39 | |
| | | ||||||
| * | 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 | 2 | -26/+94 | |
| | | ||||||
| * | rustc: Add a definition ID to tag patterns | Patrick Walton | 2010-12-12 | 2 | -3/+5 | |
| | | ||||||
| * | rustc: Resolve pattern bindings | Patrick Walton | 2010-12-10 | 2 | -2/+22 | |
| | | ||||||
| * | rustc: Add def ids to pattern bindings | Patrick Walton | 2010-12-10 | 2 | -2/+2 | |
| | | ||||||
| * | 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 | |
| | | ||||||