about summary refs log tree commit diff
path: root/src/librustsyntax/parse
AgeCommit message (Collapse)AuthorLines
2012-04-22syntax: Move is_lit to mod tokenBrian Anderson-11/+11
2012-04-22syntax: Remove unused BRACEQUOTE, IDX, LIT_BOOL tokensBrian Anderson-7/+0
2012-04-21syntax: Eliminate 'mutable' keyword. Closes #2254Brian Anderson-2/+2
2012-04-20Add new syntax for patterns that match the head constructor onlyTim Chevalier-9/+23
Adds a new kind of pattern C(*) where C is a constructor that may have any number of fields. This pattern matches any value constructed with C, without binding names for any of the fields. Closes #1701.
2012-04-19syntax: Move fn spanned into ast_utilBrian Anderson-9/+4
2012-04-19syntax: Extract some functions into mod commonBrian Anderson-206/+205
2012-04-19syntax: Extract attribute parsing to its own modBrian Anderson-114/+136
2012-04-19update syntax to include a slashNiko Matsakis-1/+6
2012-04-19make nominal types optionally parameterized by a self region.Niko Matsakis-9/+18
Issue #2201.
2012-04-19Annotate FIXMEs in parserTim Chevalier-29/+26
Also, get rid of two FIXMEs by refactoring some code, and moving the call_expr check for be expressions into typeck, where it seems to make more sense.
2012-04-19syntax: Funnel all words through a single keyword tableBrian Anderson-10/+52
2012-04-19Move some functions from pprust to classifyTim Chevalier-2/+47
As per a FIXME in syntax::parse::classify, move predicates on exprs and stmts into classify, out of pprust
2012-04-19Comments only: annotate FIXMEs in lexerTim Chevalier-2/+3
2012-04-18Fix [] on str to exclude the trailing null.Graydon Hoare-3/+4
2012-04-18syntax: Put the main parser interface in mod parseBrian Anderson-163/+11
2012-04-18syntax: Begin moving functions from mod parser to mod classifyBrian Anderson-35/+35
2012-04-18syntax: Move some functions from parser to tokenBrian Anderson-46/+59
2012-04-18syntax: Extract prec mod from parser modBrian Anderson-36/+44
2012-04-17syntax: Add explicit exports in parser modsBrian Anderson-0/+32
2012-04-17syntax: Remove extra 'mut' from bad word tableBrian Anderson-1/+1
2012-04-16rewrite region resolution so it takes place in typeckNiko Matsakis-4/+2
2012-04-15syntax: Remove unused lexer fieldBrian Anderson-2/+1
2012-04-15syntax: Some minor lexer refactoringBrian Anderson-2/+1
2012-04-15syntax: lexer doesn't need to store the src lengthBrian Anderson-6/+4
2012-04-15syntax: lexer doesn't need a codemapBrian Anderson-10/+6
2012-04-15syntax: Limit exports from lexerBrian Anderson-0/+2
2012-04-15syntax: Eliminate token's dependency on lexerBrian Anderson-17/+21
2012-04-15syntax: Move comment-extraction code to its own moduleBrian Anderson-192/+195
2012-04-15syntax: Cleanup attr module. Closes #1545Brian Anderson-1/+1
2012-04-13Annotate FIXMEs in syntax::ast and syntax::ast_utilTim Chevalier-6/+18
The main non-comment change was to change simple_path to path, as per a FIXME in ast.
2012-04-11Allow classes to implement ifacesTim Chevalier-3/+10
Introduce syntax like: iface animal { ... } class cat implements animal { ... } to allow classes to implement ifaces. Casting classes to ifaces is *not* yet supported. ifaces that a class implements are not yet included in metadata. The syntax is subject to change, and may go away completely if we decide to use duck typing to relate classes with ifaces (see http://smallcultfollowing.com/babysteps/blog/2012/04/10/declared-vs-duckish-typing/ )
2012-04-11rustsyntax: i64, not intBrian Anderson-1/+1
2012-04-11Fix name.Graydon Hoare-3/+3
2012-04-11Add vstore/evec/estr to compiler.Graydon Hoare-30/+113
2012-04-06Remove support for old-style forMarijn Haverbeke-32/+13
Closes #1619
2012-04-06Convert old-style for loops to new-styleMarijn Haverbeke-11/+13
Most could use the each method, but because of the hack used to disambiguate old- and new-style loops, some had to use vec::each. (This hack will go away soon.) Issue #1619
2012-04-05add static region and also fix regions to be contravariantNiko Matsakis-0/+2
2012-04-03Monomorphize class constructors, support generic classes and class methodsTim Chevalier-4/+18
Allow class methods to have type parameters (this is a change from the original classes proposal). Add test cases for classes with type parameters, and classes with methods that have their own type parameters.
2012-04-02Rename some core::option functionsTim Chevalier-1/+1
from_maybe => get_with_default maybe => with_option may => with_option_do I know these names are kind of ridiculous, but it's the best I could think of. Feel free to bikeshed. Closes #2081
2012-03-29rustc: Move attr, parse, print to rustsyntaxBrian Anderson-0/+2982
2012-03-29rustc: Move lexer and token to rustsyntaxBrian Anderson-0/+948