aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front/ast.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* | Parse function declarations.Rafael Ávila de Espíndola2011-02-041-3/+8
| |
* | Add most of the plumbing for native items and add support for parsing native ↵Rafael Ávila de Espíndola2011-02-021-2/+17
| | | | | | | | type declarations.
* | Add very minimal support for native modules. For now they must be empty.Rafael Ávila de Espíndola2011-02-011-0/+6
| |
* | Implement 'else if'Graydon Hoare2011-02-011-1/+1
| |
* | Add ty_type.Graydon Hoare2011-02-011-0/+1
|/
* Teach rustc to failBrian Anderson2011-01-281-0/+1
|
* Correctly handle "import foo = bar.zed;".Rafael Ávila de Espíndola2011-01-281-5/+3
|
* First step for supporting "case (foo.bar(?zed))": Change the ast ofRafael Ávila de Espíndola2011-01-271-1/+1
| | | | pat_tag to hold a path.
* Teach AST, parser, folder about iter items.Graydon Hoare2011-01-211-0/+1
|
* Adjust AST encoding, teach fold about linear for loops.Graydon Hoare2011-01-201-1/+1
|
* Teach ast and parser about linear for expressions.Graydon Hoare2011-01-201-0/+1
|
* One last refactoring of the import handling:Rafael Ávila de Espíndola2011-01-181-2/+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 Hoare2011-01-131-4/+3
| | | | handle the module-path/value-indexing distinction.
* Change mod_index_entry to point directly to items and view_items.Rafael Ávila de Espíndola2011-01-121-3/+45
|
* Add sufficient import support to compile some simple single-crate programs.Rafael Ávila de Espíndola2011-01-071-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índola2011-01-041-1/+2
|
* Add support for looking up a name introduced by a 'use'.Rafael Ávila de Espíndola2011-01-041-4/+8
| | | | | | | | | | 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 forRafael Ávila de Espíndola2011-01-041-11/+6
| | | | parsing regular items.
* Rename use_or_import to view_item.Rafael Ávila de Espíndola2011-01-041-3/+3
|
* Add def id to ast for obj fields.Graydon Hoare2010-12-301-0/+1
|
* Record the ast of uses and imports.Rafael Ávila de Espíndola2010-12-301-0/+14
|
* rustc: Move type logic out of typeck so trans doesn't look like it's calling ↵Patrick Walton2010-12-211-3/+2
| | | | into typeck
* rustc: Add bind expressions to the ASTPatrick Walton2010-12-201-0/+1
|
* Sketch trans_vtbl.Graydon Hoare2010-12-161-2/+2
|
* Add ty_obj to ast and parser.Graydon Hoare2010-12-141-0/+3
|
* Add obj items to AST and parser.Graydon Hoare2010-12-141-0/+11
|
* rustc: Add a definition ID to tag patternsPatrick Walton2010-12-121-1/+3
|
* rustc: Resolve pattern bindingsPatrick Walton2010-12-101-1/+2
|
* rustc: Add def ids to pattern bindingsPatrick Walton2010-12-101-1/+1
|
* First sketch of support for const items, not including most of trans.Graydon Hoare2010-12-091-0/+1
|
* Implement binop= forms. Un-XFAIL bitwise.rs.Graydon Hoare2010-12-081-0/+1
|
* rustc: Add def ids to variant arguments so we can turn them into function ↵Patrick Walton2010-12-031-1/+2
| | | | arguments later
* Parse layer and effect annotations.Graydon Hoare2010-12-031-7/+22
|
* rustc: Annotate variants with their types. This may be useful for trans!Patrick Walton2010-12-011-1/+1
|
* rustc: Resolve tag variant namesPatrick Walton2010-12-011-2/+7
|
* Tidy up structural types for rec, tup AST and typeck nodes.Graydon Hoare2010-11-301-3/+7
|
* rustc: Add def ids to variantsPatrick Walton2010-11-301-1/+2
|
* rustc: Implement the block syntax discussed on the mailing listPatrick Walton2010-11-291-0/+1
|
* Add ty_rec and parse it.Graydon Hoare2010-11-291-0/+1
|
* Change mutability into a type constructor.Graydon Hoare2010-11-291-1/+1
|
* Change from bool to tag ast.mutability.Graydon Hoare2010-11-291-2/+7
|
* Add ast.ty_mutable.Graydon Hoare2010-11-291-0/+1
|
* rustc: Assign definition IDs to type paramsPatrick Walton2010-11-241-1/+2
|
* rustc: Parse type-parametric typedefsPatrick Walton2010-11-241-1/+1
|
* rustc: Parse type-parametric tagsPatrick Walton2010-11-241-1/+1
|
* rustc: Parse type-parametric functionsPatrick Walton2010-11-241-1/+2
|
* rustc: Add patterns to foldPatrick Walton2010-11-241-5/+5
|
* rustc: Parse simple patternsPatrick Walton2010-11-241-0/+10
|
* rustc: Parse tag items. Currently segfaults in copy glue.Patrick Walton2010-11-241-0/+3
|
* Support mach types in rustc, enable 5 more tests.Graydon Hoare2010-11-221-0/+2
|