summary refs log tree commit diff
path: root/src/libsyntax/parse/lexer.rs
AgeCommit message (Collapse)AuthorLines
2012-12-12syntax: remove most code handling old-style syntax extensions.Graydon Hoare-5/+0
2012-12-04librustc: Remove all legacy pattern bindings from libsyntax and librustc. ↵Patrick Walton-2/+2
rs=refactoring
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-18Remove some unused code from lexerBrian Anderson-6/+2
2012-11-17Merge remote-tracking branch 'brson/codemap'Brian Anderson-41/+62
Conflicts: src/libsyntax/ext/source_util.rs
2012-11-16Remove unused types from codemapBrian Anderson-1/+1
2012-11-16Stop storing char positions in CodeMapBrian Anderson-18/+12
2012-11-16Change spans to use byte offsets instead of char offsetsBrian Anderson-8/+13
2012-11-15Add some comments to codemap and lexerBrian Anderson-0/+4
2012-11-15Refactor the lexer to use FilePos typesBrian Anderson-25/+43
2012-11-14Factor out some position management code in the lexerBrian Anderson-7/+7
2012-11-14Add types for character position and byte position in the codemapBrian Anderson-25/+25
2012-11-14Camel case all the codemap types except spanBrian Anderson-3/+3
2012-11-12Objectify the codemapBrian Anderson-4/+4
2012-11-12Remove CodeMap box typedef from codemapBrian Anderson-1/+1
2012-11-12Remove filemap box typedef from codemapBrian Anderson-3/+3
2012-11-12rustc: Implement floating point literal inference. r=nmatsakisPatrick Walton-1/+7
2012-10-15rustc: Merge module and type namespaces. r=brsonPatrick Walton-13/+13
2012-09-26turn ast::ident into a structErick Tryzelaar-6/+6
This will help with the auto_serialize2 migration. We have to change ident from a type alias to uint into a unique type. We need to use a struct instead of a "enum ident = token::str_num" because structs support constants, but newtypes do not.
2012-09-23core: Demode optionBrian Anderson-2/+2
2012-09-21libcore: De-mode strPatrick Walton-16/+19
2012-09-07Convert 'again' to 'loop'. Remove 'again' keywordBrian Anderson-1/+1
2012-09-07Add an ignore! macro, remove support for nested block comments, re: #2755.Graydon Hoare-12/+7
2012-09-04libsyntax: "import" -> "use"Patrick Walton-3/+3
2012-08-26Camel case the option typeBrian Anderson-12/+12
2012-08-24fix some unused pattern binding warningsNiko Matsakis-1/+1
2012-08-23`m1!{...}` -> `m1!(...)`Paul Stansifer-8/+8
2012-08-22Centralize ident interner generation.Paul Stansifer-7/+6
2012-08-15rustc: "as Trait" can now be written "as @Trait".Patrick Walton-13/+13
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-12/+12
2012-08-13libsyntax: Accept "1..3" as the preferred form of "1 to 3" in patternsPatrick Walton-1/+2
2012-08-08Convert impls to new syntaxBrian Anderson-2/+2
2012-08-06Convert alt to match. Stop parsing altBrian Anderson-12/+12
2012-08-05Switch alts to use arrowsBrian Anderson-72/+72
2012-08-03rustc: Parse and typecheck repeating vector expressions; e.g. [ 0, ..512 ]Patrick Walton-0/+4
2012-08-02Remove modes from map API and replace with regions.Niko Matsakis-1/+1
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-85/+87
2012-07-31Change remaining "iface" occurrences to "trait"; deprecate "iface"Lindsey Kuper-1/+1
2012-07-30Allow single quote to be escaped in strings.Paul Stansifer-0/+1
2012-07-30Change syntax extension syntax: `#m[...]` -> `m!{...}`.Paul Stansifer-8/+8
2012-07-30Work around bug #2935 by unautounboxing.Paul Stansifer-7/+9
2012-07-30Impl-ize interner.Paul Stansifer-11/+8
2012-07-26Make parsing about 0.3 seconds faster.Eric Holk-3/+3
2012-07-14Move the world over to using the new style string literals and types. Closes ↵Michael Sullivan-28/+28
#2907.
2012-07-12Accept prefix notation for writing the types of str/~ and friends.Michael Sullivan-7/+7
2012-07-09Allow defining token tree macros. They should work now!Paul Stansifer-2/+2
2012-07-09Switch 'cont' to 'again' everywhere. Close #2229.Graydon Hoare-1/+1
2012-07-05Start letting the parser catch interpolated ASTs.Paul Stansifer-2/+1
2012-07-05Some rearranging in perparation for MBE-style TT transcription.Paul Stansifer-109/+19
2012-07-05Comments only: change TODOs to FIXMEs and annotate themTim Chevalier-1/+2