about summary refs log tree commit diff
path: root/src/libsyntax/print/pprust.rs
AgeCommit message (Collapse)AuthorLines
2012-08-06Fix log_syntax of unexpanded code.Paul Stansifer-9/+32
2012-08-06rustc: Implement pattern matching for structsPatrick Walton-0/+18
2012-08-06make `ref x` bindings produce region ptrs and fix various minor bugsNiko Matsakis-2/+6
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-76/+76
2012-08-06rustc: Implement functional record update for structsPatrick Walton-2/+11
2012-08-05Switch alts to use arrowsBrian Anderson-249/+245
2012-08-03rustc: Merge fn& and fn in favor of fn&.Patrick Walton-1/+0
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-0/+16
2012-08-03rustc: Parse, serialize, and deserialize trait inheritancePatrick Walton-1/+6
2012-08-03rustc: Remove all fixed-length strings from our codebasePatrick Walton-2/+2
2012-08-02Purge placement new; Make borrowck know about unary move.Niko Matsakis-7/+0
cc #3071
2012-08-02Remove modes from map API and replace with regions.Niko Matsakis-6/+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-01Convert ret to returnBrian Anderson-34/+36
2012-08-01syntax: Allow any block-like expr to be used as alt arm w/o comma separatorBrian Anderson-7/+11
2012-07-31rustc: Parse by-reference pattern bindings with the "ref" keywordPatrick Walton-3/+7
2012-07-31rustc: Implement unary move. Closes #917.Patrick Walton-0/+1
2012-07-31syntax: More tweaks to make alt arrows parse and print correctlyBrian Anderson-1/+1
2012-07-31accept naked exprs with commas in pattern armsNiko Matsakis-4/+16
pretty printing will use them, but indentation is slightly off if the expr is long
2012-07-31Change remaining "iface" occurrences to "trait"; deprecate "iface"Lindsey Kuper-1/+1
2012-07-30Fix pretty-printing of consecutive idents.Paul Stansifer-4/+8
2012-07-30Change syntax extension syntax: `#m[...]` -> `m!{...}`.Paul Stansifer-2/+2
2012-07-30Pretty-print token trees.Paul Stansifer-13/+38
2012-07-30Feed the interner to the pretty-printer, in anticipation of pretty-printing ↵Paul Stansifer-4/+5
token trees.
2012-07-30Impl-ize interner.Paul Stansifer-1/+6
2012-07-27Start killing off obsolete/unused quoters, and fix long lines.Graydon Hoare-10/+1
2012-07-24rustc: Don't require that structs have constructorsPatrick Walton-11/+13
2012-07-23rustc: Max/min classes: Add struct literal syntaxPatrick Walton-9/+17
2012-07-19Revert "accept naked exprs with commas in pattern arms" due to ↵Patrick Walton-16/+4
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-4/+16
pretty printing will use them, but indentation is slightly off if the expr is long
2012-07-18syntax: Parse multiple trait refs in a single implementationPatrick Walton-4/+6
2012-07-18prevent regions from escaping in ifaces; remove &r.T syntaxNiko Matsakis-1/+1
2012-07-17Support attributes on class ctors and dtorsTim Chevalier-3/+9
Closes #2660
2012-07-16introduce an owned kind for data that contains no borrowed ptrsNiko Matsakis-0/+1
2012-07-14remove typestate from code, tests, and docsNiko Matsakis-85/+2
2012-07-14Get rid of ast::ty_vstore, which was only used for fixed length.Michael Sullivan-12/+4
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-254/+256
#2907.
2012-07-13Change the pretty printer to print vstores for strs in prefix notation.Michael Sullivan-16/+10
2012-07-13Front-end support for default impls in traits.Lindsey Kuper-1/+9
2012-07-12Pretty-print regions in slices correctlyTim Chevalier-2/+11
2012-07-12Fix region printing in the prettyprinterTim Chevalier-2/+2
2012-07-11infer when types are region parameterized rather than requiring /&Niko Matsakis-17/+5
- removes various fields from various variants in the AST - also update tests not to use this notation
2012-07-11We're going to have a hard time if we want to pretty-print token trees.Paul Stansifer-2/+25
2012-07-10Pretty print vectors as ~[] instead of []/~. Closes #2863.Michael Sullivan-10/+34
2012-07-10Don't pretty print unsafe pointers as carets, since #2826 is abandoned.Michael Sullivan-1/+1
2012-07-09syntax: Pretty-print view item attributesBrian Anderson-0/+1
2012-07-06First step on #2826, accept ^ for ty_ptr.Graydon Hoare-1/+1
2012-07-06For #2229, recognize 'again' in place of 'cont', final change pending snapshot.Graydon Hoare-1/+1
2012-07-06Plumbing and parsing for item-position macros.Eric Holk-0/+3
2012-07-05Change 'iface' to 'trait' internally; parse `trait` as `iface` synonymLindsey Kuper-5/+5
2012-07-03Revert "Remove rule requiring non-nil block-style statements to be ↵Brian Anderson-3/+5
semi-terminated" This reverts commit 0f5eaef5fb2443acd3ea67250c953839c3d04d38.