about summary refs log tree commit diff
path: root/src/comp/front
AgeCommit message (Collapse)AuthorLines
2011-01-13Change single-ident expr_ident to greedy/fat multi-ident expr_path, to ↵Graydon Hoare-38/+71
handle the module-path/value-indexing distinction.
2011-01-12Change mod_index_entry to point directly to items and view_items.Rafael Ávila de Espíndola-49/+53
2011-01-10Sketch support for reading multi-file crates in rustc. Add test, not yet ↵Graydon Hoare-32/+138
working.
2011-01-07Add sufficient import support to compile some simple single-crate programs.Rafael Ávila de Espíndola-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.
2011-01-04Add names from imports to the namespace.Rafael Ávila de Espíndola-3/+7
2011-01-04Add support for looking up a name introduced by a 'use'.Rafael Ávila de Espíndola-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(); }
2011-01-04Refactor the view_item code so that it is similar to the code used forRafael Ávila de Espíndola-30/+40
parsing regular items.
2011-01-04Rename use_or_import to view_item.Rafael Ávila de Espíndola-8/+8
2011-01-03Split driver between parsing source files and crate files, by extension. Add ↵Graydon Hoare-1/+8
dummy function for crate files.
2011-01-03Actually return the correct node from the parser.Graydon Hoare-2/+1
2011-01-03Remove missed debug chatter.Graydon Hoare-1/+0
2010-12-31Add restricted-parse mode, and parse bind expressions.Graydon Hoare-10/+68
2010-12-31Parse local item decls.Graydon Hoare-6/+36
2010-12-31Index tag and obj items in decl stmts.Graydon Hoare-0/+6
2010-12-30Add def id to ast for obj fields.Graydon Hoare-0/+1
2010-12-30Record the ast of uses and imports.Rafael Ávila de Espíndola-21/+59
2010-12-24Parse 'import' directives in rustc.Rafael Ávila de Espíndola-0/+44
2010-12-24Parse 'use' directives in rustc.Rafael Ávila de Espíndola-0/+47
2010-12-21rustc: Move type logic out of typeck so trans doesn't look like it's calling ↵Patrick Walton-3/+2
into typeck
2010-12-20rustc: Add bind expressions to the ASTPatrick Walton-0/+1
2010-12-16Sketch trans_vtbl.Graydon Hoare-4/+5
2010-12-15rustc: Lex '_' as an underscore, not as an identifierPatrick Walton-1/+4
2010-12-14Add ty_obj to ast and parser.Graydon Hoare-7/+39
2010-12-14Move call_expr parse rule to the place where it needs to be to understand ↵Graydon Hoare-14/+13
complex calls.
2010-12-14Add obj items to AST and parser.Graydon Hoare-26/+94
2010-12-12rustc: Add a definition ID to tag patternsPatrick Walton-3/+5
2010-12-10rustc: Resolve pattern bindingsPatrick Walton-2/+22
2010-12-10rustc: Add def ids to pattern bindingsPatrick Walton-2/+2
2010-12-09Fix another bug in expr_index parse rule.Graydon Hoare-1/+1
2010-12-09Fix bug in parse rule for expr_index.Graydon Hoare-0/+5
2010-12-09Add 'unexpected' fn to parser.Graydon Hoare-0/+6
2010-12-09Fix token span tracking in lexer.Graydon Hoare-3/+7
2010-12-09First sketch of support for const items, not including most of trans.Graydon Hoare-0/+23
2010-12-08Add missing case to parse_ty, un-XFAIL cast.rs.Graydon Hoare-0/+1
2010-12-08Implement binop= forms. Un-XFAIL bitwise.rs.Graydon Hoare-1/+24
2010-12-03rustc: Add def ids to variant arguments so we can turn them into function ↵Patrick Walton-10/+11
arguments later
2010-12-03Parse layer and effect annotations.Graydon Hoare-10/+69
2010-12-03Change 'stratum' to the friendlier term 'layer'.Graydon Hoare-2/+2
2010-12-01Add code to fail on non-exhaustive alt matching. Fix all cases this picked ↵Graydon Hoare-1/+6
up in rustc.
2010-12-01rustc: Annotate variants with their types. This may be useful for trans!Patrick Walton-2/+3
2010-12-01rustc: Resolve tag variant namesPatrick Walton-16/+44
2010-11-30Tidy up structural types for rec, tup AST and typeck nodes.Graydon Hoare-34/+37
2010-11-30rustc: Add def ids to variantsPatrick Walton-2/+4
2010-11-29rustc: Implement the block syntax discussed on the mailing listPatrick Walton-18/+100
2010-11-29Add ty_rec and parse it.Graydon Hoare-0/+18
2010-11-29Change mutability into a type constructor.Graydon Hoare-19/+5
2010-11-29Change from bool to tag ast.mutability.Graydon Hoare-14/+25
2010-11-29Add ast.ty_mutable.Graydon Hoare-1/+14
2010-11-24rustc: Assign definition IDs to type paramsPatrick Walton-2/+8
2010-11-24rustc: Parse type-parametric typedefsPatrick Walton-3/+5