summary refs log tree commit diff
path: root/src/libsyntax/print
AgeCommit message (Collapse)AuthorLines
2012-09-18Revert "replace explicit calls to vec::each with vec::each_ref, partially ↵Niko Matsakis-2/+2
demode str" This reverts commit 1be24f0758d3075d2e7f141f8831bb8a233ce86e. Not quite ready.
2012-09-18replace explicit calls to vec::each with vec::each_ref, partially demode strNiko Matsakis-2/+2
2012-09-18libcore: make a copyless io::BytesWriterErick Tryzelaar-21/+21
2012-09-18libsyntax: Remove 'unchecked_blk' from ASTBrian Anderson-1/+0
2012-09-14Have parser recognize static, self region.Niko Matsakis-24/+24
Fixes a bug in methods that &self couldn't be referenced in the body. Also fixes #2479.
2012-09-11Introduce auto adjustment table to subsume autoderef/autoref/borrowings.Niko Matsakis-11/+21
Fixes #3261 Fixes #3443
2012-09-11Convert 'use' to 'extern mod'. Remove old 'use' syntaxBrian Anderson-1/+1
2012-09-10Convert 'import' to 'use'. Remove 'import' keyword.Brian Anderson-1/+1
2012-09-10Make all moves explicit in libsyntaxTim Chevalier-8/+8
2012-09-10rustc: Make shape-based compare glue never called for comparison operators.Patrick Walton-15/+28
Only called for string patterns.
2012-09-07Convert all kind bounds to camel case. Remove send, owned keywords.Brian Anderson-4/+4
2012-09-07Convert 'again' to 'loop'. Remove 'again' keywordBrian Anderson-1/+1
2012-09-07Remove support for multiple traits in a single implTim Chevalier-6/+7
There was half-working support for them, but they were never fully implemented or even approved. Remove them altogether. Closes #3410
2012-09-07Implement &-patternsTim Chevalier-0/+4
Closes #2855
2012-09-07rustc: Add an "ne" method to the Eq trait, and implement it everywherePatrick Walton-0/+1
2012-09-06Refactor trans to replace lvalue and friends with Datum.Niko Matsakis-21/+30
Also: - report illegal move/ref combos whether or not ref comes first - commented out fix for #3387, too restrictive and causes an ICE
2012-09-04Parse 'loop' and 'again' the sameBrian Anderson-1/+3
2012-09-04libsyntax: "import" -> "use"Patrick Walton-13/+11
2012-08-31rustc: Implement "use mod"Patrick Walton-6/+9
2012-08-31Fix anon-extern-mod pretty print test.Graydon Hoare-3/+5
2012-08-29rustc: Make `<` and `=` into traitsPatrick Walton-3/+27
2012-08-29Allow extern mods to be anonymousTim Chevalier-1/+4
extern mod { f(); } is now allowed, and puts f in the enclosing scope. (Requires a link_name attribute to be really useful...)
2012-08-27Camel case various core constructorsBrian Anderson-5/+5
2012-08-27rustc: more pattern cleanupErick Tryzelaar-1/+1
2012-08-26Camel case the option typeBrian Anderson-94/+94
2012-08-25libsyntax: Accept ',' to separate struct fields. Closes #3263.Patrick Walton-1/+1
2012-08-25rustc: Implement foreign constants.Patrick Walton-0/+8
This is needed for a lot of Apple libraries, as Apple tends to put a lot of globals in dynamic libraries.
2012-08-24Remove match checkTim Chevalier-2/+1
2012-08-24fix some unused pattern binding warningsNiko Matsakis-1/+1
2012-08-24extend liveness to treat bindings more like other variablesNiko Matsakis-1/+3
This results in a lot of warnings in rustc. I left them in because many are bugs and we should fix our code, but Graydon asked that I not touch every file in the codebase.
2012-08-23Remove purity from fn_decl and move it out to containing AST elements.Michael Sullivan-18/+22
2012-08-23Parenthesize unary move exprs in prettyprinterTim Chevalier-1/+6
Closes #3220
2012-08-23Pretty-print macros with `()` instead of `{}`.Paul Stansifer-6/+8
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