about summary refs log tree commit diff
path: root/src/libsyntax/parse
AgeCommit message (Collapse)AuthorLines
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
2012-07-30Impl-ize interner.Paul Stansifer-27/+15
2012-07-30syntax: Fix semicolon printing. Closes #3036Brian Anderson-1/+1
2012-07-27Make macro-system type and constructor names more uniform; more comments.Graydon Hoare-42/+44
2012-07-27Start killing off obsolete/unused quoters, and fix long lines.Graydon Hoare-17/+2
2012-07-26Make parsing about 0.3 seconds faster.Eric Holk-13/+14
2012-07-26Change `#macro` to `macro_rules!` in some cases.Paul Stansifer-38/+29
2012-07-24rustc: Parse new-style impl declarationsPatrick Walton-34/+69
2012-07-24rustc: Don't require that structs have constructorsPatrick Walton-3/+5
2012-07-24Bugfix: make the parser handle the case where zero repetitions occur, by ↵Paul Stansifer-1/+2
handling parse results on the basis of what names the matcher expects to bind, not on what names are actually bound.
2012-07-23syntax: Expect the closing brace after struct literalsPatrick Walton-0/+1
2012-07-23rustc: Max/min classes: Add struct literal syntaxPatrick Walton-30/+55
2012-07-19Revert "accept naked exprs with commas in pattern arms" due to ↵Patrick Walton-19/+2
pretty-printing failures This reverts commit f712b2d76b1077a2241916cc3269aa1d83ce3088. In alt arms, the parser needs to do a little lookahead to determine whether it's looking at a record literal or a block. Also there are some indentation issues in the expected source.
2012-07-18accept 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-18Remove non-existent importsTim Chevalier-3/+3
2012-07-18syntax: Parse multiple trait refs in a single implementationPatrick Walton-10/+19
2012-07-18prevent regions from escaping in ifaces; remove &r.T syntaxNiko Matsakis-2/+1