summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
AgeCommit message (Collapse)AuthorLines
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.
2012-08-01libsyntax: Fix a parsing problem with the temporary syntax for by-value ↵Patrick Walton-2/+2
pattern match bindings
2012-07-31rustc: Parse by-reference pattern bindings with the "ref" keywordPatrick Walton-59/+89
2012-07-31rustc: Implement unary move. Closes #917.Patrick Walton-6/+10
2012-07-31Introduce 'return', 'match' and 'module' as synonymsBrian Anderson-7/+21
2012-07-31rustc: Check self types in method lookup; allow required trait methods to ↵Patrick Walton-0/+1
have self types; write self types into metadata
2012-07-31syntax: More tweaks to make alt arrows parse and print correctlyBrian Anderson-41/+46
2012-07-31accept naked exprs with commas in pattern armsNiko Matsakis-2/+19
pretty printing will use them, but indentation is slightly off if the expr is long
2012-07-31Now you can use whatever delimiter you want to invoke syntax extensions.Paul Stansifer-17/+19
2012-07-31Change remaining "iface" occurrences to "trait"; deprecate "iface"Lindsey Kuper-0/+1