about summary refs log tree commit diff
path: root/src/libsyntax
AgeCommit message (Collapse)AuthorLines
2012-08-22intern identifiersPaul Stansifer-515/+617
2012-08-22pre-intern some fixed names so they can be used as constantsPaul Stansifer-2/+20
2012-08-22Centralize ident interner generation.Paul Stansifer-31/+32
2012-08-22Eliminate many match checks in rustcTim Chevalier-2/+2
2012-08-21more sound treatment of fn& regions; change all & to be distinctNiko Matsakis-6/+7
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-17Parse explicit self in more places. Work on #2585.Michael Sullivan-54/+68
2012-08-17make borrowck more conservative around rvalues.Niko Matsakis-1/+12
this will require more temporaries, but is probably less magical. also, it means that borrowck matches trans better, so fewer crashes. bonus. Finally, stop warning about implicit copies when we are actually borrowing. Also, one test (vec-res-add) stopped failing due to #2587, and hence I added an xfail-test. Fixes #3217, #2977, #3067
2012-08-17Stop parsing `iface`.Lindsey Kuper-7/+1
2012-08-17Move select macro into another file, so it can be including in multiple tests.Eric Holk-1/+1
Fixing long lines.
2012-08-17Track spans better in the protocol compiler so we can get better error messages.Eric Holk-17/+34
2012-08-17Remove the class keywordBrian Anderson-5/+4
2012-08-16libsyntax: Make include_bin! generate fixed-length vectors.Patrick Walton-2/+2
This is so that we don't generate 170,000-line LLVM functions in Servo.
2012-08-16libsyntax: Fix parsing of "loop unsafe".Patrick Walton-1/+1
It was getting misparsed as a label.
2012-08-15libsyntax: Fix wrong pretty printing of private fieldsPatrick Walton-4/+2
2012-08-15Long linesBrian Anderson-2/+2
2012-08-15libsyntax: Parse tuple and unit structsPatrick Walton-44/+72
2012-08-15Modify pipec to not emit calls to some and noneBrian Anderson-4/+4
2012-08-15rustc: Fix long lines and trailing whitespacePatrick Walton-7/+6
2012-08-15rustc: Perform some AST surgery to separate out class fields from methodsPatrick Walton-150/+158
2012-08-15libsyntax: Parse nested enumsPatrick Walton-23/+34
2012-08-15rustc: Parse labeled loop, break, and againPatrick Walton-18/+48
2012-08-15rustc: "as Trait" can now be written "as @Trait".Patrick Walton-32/+32
There is also code for ~Trait and &Trait, but these are currently (incorrectly) synonyms for "as @Trait" and "as &Trait".
2012-08-15pipes: Rename the pipec-generated buffer to __BufferBrian Anderson-2/+2
Conforms to camel case convention and hides it away so it doesn't conflict with user code
2012-08-15Convert more core types to camel caseBrian Anderson-51/+51
2012-08-15Add trace_macros!Eric Holk-7/+51
2012-08-14Make autoserialize not generate alt checksTim Chevalier-2/+11
2012-08-14Convert more core types to camel caseBrian Anderson-12/+12
2012-08-14Make most forms of explicit self work. By-value not implemented. Work on #2585.Michael Sullivan-24/+2
2012-08-14libsyntax: Parse "extern mod foo;"Patrick Walton-37/+100
2012-08-14Merge pull request #3194 from dbp/prettyBrian Anderson-2/+15
Pretty printing brackets on match arms
2012-08-14Silence unused-variable warning.Graydon Hoare-1/+1
2012-08-14libsyntax: Give a nice error message when view items are used anywhere other ↵Patrick Walton-0/+24
than the top of a module. This is a step on the way to parsing "extern mod foo;"
2012-08-14libsyntax: First steps toward parsing "extern mod std;"Patrick Walton-22/+37
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: Implement [int*3] syntax for fixed length vector typesPatrick Walton-1/+29
2012-08-13core: Camel case some lesser-used modulesBrian Anderson-3/+3
2012-08-13Stop parsing old operator overloading syntaxBrian Anderson-38/+1
2012-08-13libsyntax: Allow "use" to be used in place of "import"Patrick Walton-3/+9
2012-08-13libsyntax: Accept "1..3" as the preferred form of "1 to 3" in patternsPatrick Walton-3/+4
2012-08-13libsyntax: Refactor item parsing so that items and view items are parsed in ↵Patrick Walton-30/+113
the same function. This is a step on the way to "extern mod foo;" and replacing "import" with "use".
2012-08-13Got the select macro working.Eric Holk-2/+10
2012-08-13rustc: Make functional record and struct update use ".." instead of "with".Patrick Walton-4/+19
"with" is still accepted for backwards compatibility.
2012-08-13Fix method mode parsing bug. Closes #3191.Michael Sullivan-1/+0
2012-08-11syntax: better formatting of closures in pretty printer and more verbose ↵Daniel Patterson-21/+72
debugging messages
2012-08-10report local ambiguity errors earlierEric Holk-6/+9
2012-08-08libsyntax: Parse common enum fieldsPatrick Walton-86/+115
2012-08-08syntax: Pretty print impls with new syntaxBrian Anderson-7/+8