summary refs log tree commit diff
path: root/src/libsyntax/parse
AgeCommit message (Collapse)AuthorLines
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-3/+3
2012-08-07syntax: Fix parsing of inherent traitsBrian Anderson-1/+2
2012-08-07syntax: Make match arm parsing more restrictive againBrian Anderson-5/+12
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-117/+117
2012-08-06Handle interpolated paths in pattern parsing. Fixes #3007.Eric Holk-2/+10
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-461/+445
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/+64
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-3/+3
2012-08-02Purge placement new; Make borrowck know about unary move.Niko Matsakis-8/+1
cc #3071
2012-08-02Revert "Remove "iface" from keyword table."Lindsey Kuper-1/+1
This reverts commit 51b9674ed7af96f31aa164215722710f8d3d9384.
2012-08-02Remove "iface" from keyword table.Lindsey Kuper-1/+1
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-7/+7
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-265/+276
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-60/+90
2012-07-31rustc: Implement unary move. Closes #917.Patrick Walton-7/+11
2012-07-31Introduce 'return', 'match' and 'module' as synonymsBrian Anderson-9/+23
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/+34
2012-07-31Change remaining "iface" occurrences to "trait"; deprecate "iface"Lindsey Kuper-1/+2
2012-07-31Avoid accidentally printing floating point numbers as `10.f`.Paul Stansifer-1/+7
2012-07-31Build fix: debug![ to debug!{Ben Blum-1/+1
2012-07-30libsyntax: Parse self types in methodsPatrick Walton-15/+160
2012-07-30Allow single quote to be escaped in strings.Paul Stansifer-0/+1
2012-07-30Change syntax extension syntax: `#m[...]` -> `m!{...}`.Paul Stansifer-34/+34
2012-07-30Work around bug #2935 by unautounboxing.Paul Stansifer-7/+9