aboutsummaryrefslogtreecommitdiff
path: root/src/comp/front/parser.rs
Commit message (Collapse)AuthorAgeFilesLines
* Move all non-decl/non-expr stmts to exprs.Graydon Hoare2011-02-141-58/+58
|
* Adjust commented-out diagnostic log statement in parser.rs.Graydon Hoare2011-02-141-1/+2
|
* Add parse support for expr_ext.Graydon Hoare2011-02-141-0/+11
|
* Expand expr_rec to take its optional trailing 'with' parameter.Graydon Hoare2011-02-141-9/+32
|
* Support indexing pat_lit.Graydon Hoare2011-02-101-0/+1
|
* Add pat_lit to ast, and support parsing it.Graydon Hoare2011-02-101-22/+21
|
* Parse effects and layers in a couple contexts; drop on floor as we have ↵Graydon Hoare2011-02-101-0/+10
| | | | nowhere to put them yet.
* Cleanup for 'be' statement and comments about future typestateBrian Anderson2011-02-101-1/+7
|
* Parse 'be' statement. Pass tailcall tests. No actual tailcalls yet.Brian Anderson2011-02-101-0/+7
|
* Add support forRafael Avila de Espindola2011-02-071-1/+12
| | | | native mod foo = "bar" ...
* Parse function declarations.Rafael Ávila de Espíndola2011-02-041-9/+29
|
* Factor the parsing of "type foo" into parse_type_decl.Rafael Ávila de Espíndola2011-02-041-9/+11
|
* Add most of the plumbing for native items and add support for parsing native ↵Rafael Ávila de Espíndola2011-02-021-1/+34
| | | | type declarations.
* Add very minimal support for native modules. For now they must be empty.Rafael Ávila de Espíndola2011-02-011-0/+19
|
* Implement 'else if'Graydon Hoare2011-02-011-10/+32
|
* Teach rustc to failBrian Anderson2011-01-281-0/+6
|
* Correctly handle "import foo = bar.zed;".Rafael Ávila de Espíndola2011-01-281-7/+21
|
* First step for supporting "case (foo.bar(?zed))": Change the ast ofRafael Ávila de Espíndola2011-01-271-2/+3
| | | | pat_tag to hold a path.
* Do better at parsing expr_paths with type arguments.Graydon Hoare2011-01-241-19/+23
|
* Switch from booleans to symbolic tags in a few places.Graydon Hoare2011-01-241-23/+28
|
* Teach parser to recognize ITER keyword as item-start.Graydon Hoare2011-01-241-0/+1
|
* Teach AST, parser, folder about iter items.Graydon Hoare2011-01-211-8/+24
|
* Adjust AST encoding, teach fold about linear for loops.Graydon Hoare2011-01-201-11/+20
|
* typoRafael Ávila de Espíndola2011-01-201-1/+1
|
* Teach ast and parser about linear for expressions.Graydon Hoare2011-01-201-28/+55
|
* One last refactoring of the import handling:Rafael Ávila de Espíndola2011-01-181-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 Hoare2011-01-131-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índola2011-01-121-46/+8
|
* Sketch support for reading multi-file crates in rustc. Add test, not yet ↵Graydon Hoare2011-01-101-32/+138
| | | | working.
* Add names from imports to the namespace.Rafael Ávila de Espíndola2011-01-041-2/+5
|
* Add support for looking up a name introduced by a 'use'.Rafael Ávila de Espíndola2011-01-041-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 forRafael Ávila de Espíndola2011-01-041-19/+34
| | | | parsing regular items.
* Rename use_or_import to view_item.Rafael Ávila de Espíndola2011-01-041-5/+5
|
* Split driver between parsing source files and crate files, by extension. Add ↵Graydon Hoare2011-01-031-1/+8
| | | | dummy function for crate files.
* Actually return the correct node from the parser.Graydon Hoare2011-01-031-2/+1
|
* Remove missed debug chatter.Graydon Hoare2011-01-031-1/+0
|
* Add restricted-parse mode, and parse bind expressions.Graydon Hoare2010-12-311-10/+68
|
* Parse local item decls.Graydon Hoare2010-12-311-6/+36
|
* Index tag and obj items in decl stmts.Graydon Hoare2010-12-311-0/+6
|
* Record the ast of uses and imports.Rafael Ávila de Espíndola2010-12-301-21/+45
|
* Parse 'import' directives in rustc.Rafael Ávila de Espíndola2010-12-241-0/+44
|
* Parse 'use' directives in rustc.Rafael Ávila de Espíndola2010-12-241-0/+47
|
* Sketch trans_vtbl.Graydon Hoare2010-12-161-2/+3
|
* Add ty_obj to ast and parser.Graydon Hoare2010-12-141-7/+36
|
* Move call_expr parse rule to the place where it needs to be to understand ↵Graydon Hoare2010-12-141-14/+13
| | | | complex calls.
* Add obj items to AST and parser.Graydon Hoare2010-12-141-26/+83
|
* rustc: Add a definition ID to tag patternsPatrick Walton2010-12-121-2/+2
|
* rustc: Resolve pattern bindingsPatrick Walton2010-12-101-1/+20
|
* rustc: Add def ids to pattern bindingsPatrick Walton2010-12-101-1/+1
|
* Fix another bug in expr_index parse rule.Graydon Hoare2010-12-091-1/+1
|