about summary refs log tree commit diff
path: root/src/comp/syntax/parse/eval.rs
AgeCommit message (Collapse)AuthorLines
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-2/+3
2011-11-24rustc: Add a path attribute for crate directivesHaitao Li-6/+14
The path information was an optional "filename" component of crate directive AST. It is now replaced by an attribute with metadata named "path". With this commit, a directive mod foo = "foo.rs"; should be written as: #[path = "foo.rs"] mod foo; Closes issue #906.
2011-11-23Remove last traces of auth keywordMarijn Haverbeke-1/+0
The reference now has an empty hole where the auth keyword used to be. Changing the keyword table seems to require manually sorting the keywords and putting them back into some kind of arcane interleaved order. I'll open an issue to actually fix this. Closes #1211
2011-11-17remove compile-command from local variable blocksNiko Matsakis-1/+0
2011-11-10Cleanup unused importsHaitao Li-1/+1
2011-10-29rustc: Support 'companion mod's for crates and directory modsBrian Anderson-5/+60
Under this scheme when parsing foo.rc the parser will also look for foo.rs to fill in the crate-level module, and when evaluating a directory module directive it will look for a .rs file with the same name as the directory.
2011-10-28rustc: Remove broken --depend flagBrian Anderson-6/+0
2011-09-12Kill trailing whitespace.Graydon Hoare-1/+1
2011-09-12Factor imports mindlessly.Graydon Hoare-9/+5
2011-09-12Pretty-print for new arg-mode syntaxMarijn Haverbeke-4/+4
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-5/+5
Long lines were fixed in a very crude way, as I'll be following up with another reformat in a bit.
2011-09-02Reformat. Issue #855Brian Anderson-28/+13
2011-09-01Rename std::istr to std::str. Issue #855Brian Anderson-1/+1
2011-09-01Remove std::str. Issue #855Brian Anderson-1/+0
2011-08-27Convert parser to istrs. Issue #855Brian Anderson-3/+3
2011-08-27Convert rustc::syntax::eval to istrs. Issue #855Brian Anderson-11/+12
2011-08-27Convert ast::ident to istr. Issue #855Brian Anderson-9/+21
2011-08-27Convert std::fs to istrs. Issue #855Brian Anderson-6/+9
2011-08-20ReformatBrian Anderson-8/+7
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-15The wonky for...in... whitespace was bothering me. Sorry!Lindsey Kuper-1/+1
2011-08-09Port the compiler to the ivec type [T] syntax.Erick Tryzelaar-9/+9
2011-08-02Compiler accepts input from stdin when source file is called "-"Brian Anderson-1/+2
2011-07-27Reformat for new syntaxMarijn Haverbeke-65/+62
2011-07-26Remove all uses of tuples from the compiler and stdlibMarijn Haverbeke-2/+2
2011-07-16Make clear the differentiation between char pos and byte pos in filemaps. ↵Josh Matthews-2/+5
Fix up error printing for files with multi-byte characters.
2011-07-15rustc: Remove a bunch of exterior vectorsPatrick Walton-3/+2
2011-07-11Pull lexer creation out of new_parserBrian Anderson-2/+2
This will allow custom lexers to be injected into the parser (for fuzzing)
2011-07-07rustc: Remove all exterior vectors from the ASTPatrick Walton-11/+9
2011-07-06rustc: Move crate directives over to interior vectorsPatrick Walton-4/+3
2011-07-06rustc: Revert the conversion to interior vectors due to heap corruptionPatrick Walton-3/+4
2011-07-06rustc: Move crate directives over to interior vectorsPatrick Walton-4/+3
2011-07-05Remove unused eval function. Issue #604Brian Anderson-17/+0
2011-07-05Move everything syntax-related to syntax/, break deps on rest of compilerMarijn Haverbeke-0/+124
src/comp/syntax is currently just a sub-module of rustc, but it will, in the near future, be its own crate. This includes: - The AST data structure - The parser - The pretty-printer - Visit, walk, and fold - The syntax extension system - Some utility stuff that should be in the stdlib* *) Stdlib extensions currently require a snapshot before they can be used, and the win build is very broken right now. This is temporary and will be cleaned up when one of those problems goes away. A lot of code was moved by this patch, mostly towards a more organized layout. Some package paths did get longer, and I guess the new layout will take some getting used to. Sorry about that! Please try not to re-introduce any dependencies in syntax/ on any of the other src/comp/ subdirs.