summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
AgeCommit message (Collapse)AuthorLines
2012-08-15Convert more core types to camel caseBrian Anderson-8/+8
2012-08-14Make most forms of explicit self work. By-value not implemented. Work on #2585.Michael Sullivan-23/+1
2012-08-14libsyntax: Parse "extern mod foo;"Patrick Walton-37/+100
2012-08-14libsyntax: Give a nice error message when view items are used anywhere other ↵Patrick Walton-0/+24
than the top of a module. This is a step on the way to parsing "extern mod foo;"
2012-08-14libsyntax: First steps toward parsing "extern mod std;"Patrick Walton-22/+37
2012-08-13libsyntax: Implement [int*3] syntax for fixed length vector typesPatrick Walton-1/+29
2012-08-13Stop parsing old operator overloading syntaxBrian Anderson-16/+1
2012-08-13libsyntax: Allow "use" to be used in place of "import"Patrick Walton-3/+9
2012-08-13libsyntax: Accept "1..3" as the preferred form of "1 to 3" in patternsPatrick Walton-1/+1
2012-08-13libsyntax: Refactor item parsing so that items and view items are parsed in ↵Patrick Walton-30/+113
the same function. This is a step on the way to "extern mod foo;" and replacing "import" with "use".
2012-08-13rustc: Make functional record and struct update use ".." instead of "with".Patrick Walton-2/+13
"with" is still accepted for backwards compatibility.
2012-08-13Fix method mode parsing bug. Closes #3191.Michael Sullivan-1/+0
2012-08-08libsyntax: Parse common enum fieldsPatrick Walton-52/+70
2012-08-08syntax: Stop supporting old impl syntaxBrian Anderson-59/+12
2012-08-08Convert impls to new syntaxBrian Anderson-5/+3
2012-08-08rustc: Do some plumbing work in preparation for common fields in enumsPatrick Walton-14/+15
2012-08-08rustc: Do some plumbing work on nested enumsPatrick Walton-45/+50
2012-08-07improve borrowck error messages to explain regions betterNiko Matsakis-1/+1
2012-08-07rustc: Parse variant structs; add a trivial test casePatrick Walton-18/+69
2012-08-07rustc: Box struct_defsPatrick Walton-2/+2
2012-08-07Implement static typeclass methods. Closes #3132.Michael Sullivan-17/+37
2012-08-07rustc: Split out struct bodies into a separate "struct_def" type in the ASTPatrick Walton-3/+13
2012-08-07rustc: Add stub support for struct variants to the ASTPatrick Walton-10/+11
2012-08-07syntax: Rename expr_alt to expr_matchBrian Anderson-2/+2
2012-08-07syntax: Fix parsing of inherent traitsBrian Anderson-1/+2
2012-08-07syntax: Make match arm parsing more restrictive againBrian Anderson-3/+3
Require comma separators for all expression types except the plain block
2012-08-06rustc: Parse and stub (broken) typechecking for bounded function typesPatrick Walton-14/+23
2012-08-06Disallow multiple constructors or destructors in the same classTim Chevalier-5/+25
Closes #2825
2012-08-06rustc: Implement pattern matching for structsPatrick Walton-62/+128
2012-08-06make `ref x` bindings produce region ptrs and fix various minor bugsNiko Matsakis-69/+85
we now detect inconsistent modes, binding names, and various other errors. typeck/trans integration is mostly done. borrowck not so much. more tests needed.
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-70/+70
2012-08-06Handle interpolated paths in pattern parsing. Fixes #3007.Eric Holk-2/+3
We might need to use is_ident_or_path in a for other places too.
2012-08-06rustc: Implement functional record update for structsPatrick Walton-3/+12
2012-08-05syntax: Stop parsing alts without arrowsBrian Anderson-6/+2
2012-08-05Switch alts to use arrowsBrian Anderson-193/+181
2012-08-03rustc: Merge fn& and fn in favor of fn&.Patrick Walton-11/+8
This is a step on the way to moving the function "proto" sigil out front.
2012-08-03rustc: Parse and typecheck repeating vector expressions; e.g. [ 0, ..512 ]Patrick Walton-31/+58
2012-08-03libsyntax: Fix trailing whitespacePatrick Walton-1/+1
2012-08-03rustc: Parse, serialize, and deserialize trait inheritancePatrick Walton-1/+11
2012-08-03rustc: Add the notion of inherited visibilityPatrick Walton-45/+61
2012-08-03rustc: Remove all fixed-length strings from our codebasePatrick Walton-1/+1
2012-08-02Purge placement new; Make borrowck know about unary move.Niko Matsakis-8/+1
cc #3071
2012-08-02Extend ast_map to know about method declarations in traits.Michael Sullivan-1/+1
2012-08-02Remove modes from map API and replace with regions.Niko Matsakis-1/+1
API is (for now) mostly by value, there are options to use it by reference if you like. Hash and equality functions must be pure and by reference (forward looking to the day when something like send_map becomes the standard map).
2012-08-02Allow `macro_rules! m { (...) => ... }`Paul Stansifer-2/+7
2012-08-02Allow interpolations of all the nt_*s.Paul Stansifer-10/+33
2012-08-01syntax: Remove 'ret'Brian Anderson-1/+1
2012-08-01Convert ret to returnBrian Anderson-130/+137
2012-08-01syntax: Allow any block-like expr to be used as alt arm w/o comma separatorBrian Anderson-20/+25
2012-08-01libsyntax: Use the keyword "copy" for copy-mode bindings instead of the +.Patrick Walton-16/+8
Mea culpa for introducing + in the first place.