about summary refs log tree commit diff
path: root/src/librustsyntax
AgeCommit message (Collapse)AuthorLines
2012-04-19Cleanup FIXMEs in syntax::ext::qquoteTim Chevalier-13/+7
Inline some one-off functions, add an error message, annotate a FIXME
2012-04-19Removed a FIXME from librustcsyntax/ext/build.rsTim Chevalier-3/+0
I removed a FIXME about cleaning up function names because I couldn't tell what needed cleaning up. If you know, please add a FIXME and a corresponding issue tracker issue that explains the problem!
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-171/+185
2012-04-18syntax: Begin moving functions from mod parser to mod classifyBrian Anderson-37/+41
2012-04-18syntax: Move some functions from parser to tokenBrian Anderson-46/+59
2012-04-18syntax: Extract prec mod from parser modBrian Anderson-40/+52
2012-04-17syntax: Add explicit exports in parser modsBrian Anderson-0/+37
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-10/+5
2012-04-15syntax: Remove unused lexer fieldBrian Anderson-2/+1
2012-04-15syntax: Cleanup in diagnosticBrian Anderson-7/+7
2012-04-15syntax: Limit exports in codemapBrian Anderson-0/+23
2012-04-15syntax: Some minor lexer refactoringBrian Anderson-3/+2
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-11/+7
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-208/+213
2012-04-15syntax: Cleanup attr module. Closes #1545Brian Anderson-182/+225
2012-04-13Annotate FIXMEs in syntax::ast and syntax::ast_utilTim Chevalier-39/+38
The main non-comment change was to change simple_path to path, as per a FIXME in ast.
2012-04-12Support general warnings and errors in lint pass via flags and attrs. Close ↵Graydon Hoare-6/+1
#1543.
2012-04-11Allow classes to implement ifacesTim Chevalier-7/+24
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-43/+175
2012-04-10Generic classes and generic class methods work cross-crateTim Chevalier-8/+27
Classes can have ty params now. So can methods inside classes. That was probably true before, but now it should still work if you call methods in a class that's defined in a different crate. Yay!
2012-04-06Re-rename option functionsTim Chevalier-5/+5
get_with_default (nee from_maybe) => get_default with_option (nee maybe) => map_default with_option_do (nee may) => iter As per discussion of 21be1379d561b6679a8a2ea47dce88f948c5acca
2012-04-06Remove support for old-style forMarijn Haverbeke-48/+13
Closes #1619
2012-04-06Convert old-style for loops to new-styleMarijn Haverbeke-97/+99
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-06rustc: Fail when there are multiple matches for 'use'Brian Anderson-3/+12
2012-04-05add static region and also fix regions to be contravariantNiko Matsakis-1/+5
2012-04-05Explicitly use version 0.2 of cratesBrian Anderson-3/+6
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-6/+6
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-29refactor to store the types during inference in tables in the fcxNiko Matsakis-3/+7
this is a step towards separating out the repr. of types during inference from the repr. in later stages.
2012-03-29rustc: Move ext to librustsyntaxBrian Anderson-1/+2801
2012-03-29rustc: Move attr, parse, print to rustsyntaxBrian Anderson-1/+5704
2012-03-29rustc: Move lexer and token to rustsyntaxBrian Anderson-0/+952
2012-03-29rustc: Move diagnostic to rustsyntaxBrian Anderson-0/+256
2012-03-29rustc: Move fold to rustsyntaxBrian Anderson-0/+773
2012-03-29rustc: Move interner to rustsyntaxBrian Anderson-0/+42
2012-03-29rustc: Move ast, ast_util, visit to rustsyntaxBrian Anderson-0/+1609
2012-03-29rustc: Move codemap to rustsyntaxBrian Anderson-0/+206
2012-03-29build: Introduce rustsyntax crateBrian Anderson-0/+5