about summary refs log tree commit diff
path: root/src/libsyntax/print
AgeCommit message (Collapse)AuthorLines
2012-08-23`m1!{...}` -> `m1!(...)`Paul Stansifer-39/+39
2012-08-22Parse and typecheck moving out of enums (#2329)Ben Blum-0/+1
2012-08-22Merge find_linkage_attrs with find_linkage_metasTim Chevalier-6/+2
This gets rid of a gratuitous `match check`.
2012-08-22Change the log level to be an enum rather than an intTim Chevalier-4/+4
This allows for eliminating a match check.
2012-08-22intern identifiersPaul Stansifer-87/+92
2012-08-22Centralize ident interner generation.Paul Stansifer-5/+3
2012-08-17Make by-val explicit self actually work. Closes #2585.Michael Sullivan-6/+6
2012-08-17Pretty print explicit self types. Work on #2585.Michael Sullivan-17/+63
2012-08-15libsyntax: Fix wrong pretty printing of private fieldsPatrick Walton-4/+2
2012-08-15rustc: Perform some AST surgery to separate out class fields from methodsPatrick Walton-39/+23
2012-08-15rustc: Parse labeled loop, break, and againPatrick Walton-3/+12
2012-08-15rustc: "as Trait" can now be written "as @Trait".Patrick Walton-7/+7
There is also code for ~Trait and &Trait, but these are currently (incorrectly) synonyms for "as @Trait" and "as &Trait".
2012-08-15Convert more core types to camel caseBrian Anderson-4/+4
2012-08-14Convert more core types to camel caseBrian Anderson-7/+7
2012-08-14syntax: fixing pretty printing of brackets in match armsDaniel Patterson-2/+15
2012-08-14More attempts at fixing .. breakage.Graydon Hoare-1/+0
2012-08-13libsyntax: Accept "1..3" as the preferred form of "1 to 3" in patternsPatrick Walton-1/+1
2012-08-13rustc: Make functional record and struct update use ".." instead of "with".Patrick Walton-2/+6
"with" is still accepted for backwards compatibility.
2012-08-11syntax: better formatting of closures in pretty printer and more verbose ↵Daniel Patterson-21/+72
debugging messages
2012-08-08syntax: Pretty print impls with new syntaxBrian Anderson-7/+8
2012-08-08Convert impls to new syntaxBrian Anderson-3/+3
2012-08-08rustc: Do some plumbing work in preparation for common fields in enumsPatrick Walton-33/+39
2012-08-08rustc: Do some plumbing work on nested enumsPatrick Walton-12/+19
2012-08-07rustc: Parse variant structs; add a trivial test casePatrick Walton-2/+5
2012-08-07rustc: Box struct_defsPatrick Walton-1/+1
2012-08-07Implement static typeclass methods. Closes #3132.Michael Sullivan-15/+35
2012-08-07libsyntax: Break struct definitions out of classes internally in a few more ↵Patrick Walton-70/+75
places
2012-08-07rustc: Split out struct bodies into a separate "struct_def" type in the ASTPatrick Walton-6/+6
2012-08-07rustc: Add stub support for struct variants to the ASTPatrick Walton-11/+26
2012-08-07syntax: Rename expr_alt to expr_matchBrian Anderson-1/+1
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-3/+5
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-82/+82
2012-08-06rustc: Implement functional record update for structsPatrick Walton-2/+11
2012-08-05Switch alts to use arrowsBrian Anderson-273/+269
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-02Shift writer_util to a derived impl attached to the writer traitGraydon Hoare-2/+2
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-45/+47
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