about summary refs log tree commit diff
path: root/src/comp/syntax/parse/lexer.rs
AgeCommit message (Collapse)AuthorLines
2011-09-12Factor imports mindlessly.Graydon Hoare-8/+2
2011-09-12Pretty-print for new arg-mode syntaxMarijn Haverbeke-7/+6
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-28/+30
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-78/+61
2011-09-01Convert all uses of #ifmt to #fmt. Issue #855Brian Anderson-5/+5
2011-09-01Rename std::istr to std::str. Issue #855Brian Anderson-28/+28
2011-09-01Remove std::str. Issue #855Brian Anderson-1/+0
2011-08-31Convert uses of #fmt to #ifmt. Issue #855Brian Anderson-8/+7
2011-08-27Convert rustc::syntax::codemap to istrs. Issue #855Brian Anderson-1/+1
2011-08-27Convert parser to istrs. Issue #855Brian Anderson-1/+1
2011-08-27Convert rustc::syntax::token to istrs. Issue #855Brian Anderson-1/+1
2011-08-27Convert lexer to istrs. Issue #855Brian Anderson-83/+104
2011-08-22Move functions from syntax::ast to syntax::ast_utilBrian Anderson-1/+1
This leaves syntax::ast just defining the AST, which strikes me as somewhat nicer
2011-08-20ReformatBrian Anderson-48/+44
This changes the indexing syntax from .() to [], the vector syntax from ~[] to [] and the extension syntax from #fmt() to #fmt[]
2011-08-16Remove dead send/recv operator tokens.Graydon Hoare-2/+0
2011-08-16Port the compiler to the expr foo::<T> syntax.Erick Tryzelaar-6/+6
2011-08-16Port the compiler to the typaram foo<T> syntax.Erick Tryzelaar-5/+5
2011-08-16Rename std::ivec to std::vecBrian Anderson-2/+2
2011-08-15The wonky for...in... whitespace was bothering me. Sorry!Lindsey Kuper-1/+1
2011-08-15Make spans into stacks (to store expansion backtraces).Paul Stansifer-1/+1
2011-08-12Rename std::ioivec to std::ioBrian Anderson-2/+2
2011-08-12Rename std::str::unsafe_from_bytes_ivec to unsafe_from_bytesBrian Anderson-4/+4
2011-08-12Convert all uses of unsafe_from_bytes to unsafe_from_bytes_ivecBrian Anderson-3/+3
2011-08-12Remove str::from_bytesBrian Anderson-3/+3
This is exactly the same as str::unsafe_from_bytes
2011-08-09Port the compiler to the ivec type [T] syntax.Erick Tryzelaar-13/+13
2011-07-29Remove unreachable statementsMarijn Haverbeke-1/+0
2011-07-27Make printing of comments inside bindings slightly less brokenMarijn Haverbeke-11/+1
2011-07-27Reformat for new syntaxMarijn Haverbeke-402/+377
2011-07-26Handle column-zero \n explicitly rather than looking for \n\n.Graydon Hoare-4/+1
2011-07-26Consume EOL after line comment.Graydon Hoare-0/+3
2011-07-26Remove all uses of tuples from the compiler and stdlibMarijn Haverbeke-9/+9
2011-07-25Recognize and preserve first blank line if first line of file.Graydon Hoare-5/+13
2011-07-25Adjust pp interface to that printing a crate (an reproducing ↵Graydon Hoare-2/+2
literals/comments) takes a reader, not just a filename. Fixes first big pp-fuzzer bug.
2011-07-25Make the lexer slightly less statefulMarijn Haverbeke-21/+18
2011-07-16Make clear the differentiation between char pos and byte pos in filemaps. ↵Josh Matthews-3/+9
Fix up error printing for files with multi-byte characters.
2011-07-15rustc: Remove a bunch of exterior vectorsPatrick Walton-12/+12
2011-07-14rustc: Move much of metadata reading over to interior vectorsPatrick Walton-3/+3
2011-07-13Prohibit trailing whitespace under 'tidy' script. Clean up all caught cases.Graydon Hoare-4/+4
2011-07-12rustc: Complete the transition of pprust to interior vectorsPatrick Walton-13/+12
2011-07-11Fix pretty-printing of literals again. Issue #672Brian Anderson-1/+6
The pos variable is one character beyond where I thought it was.
2011-07-11So... I can't spell 'ellipsis'.Paul Stansifer-1/+1
2011-07-11Add elipses, reorganize the macro components into their own AST node.Paul Stansifer-1/+9
2011-07-11Add nodes for embedding types and blocks in expressions for macros.Paul Stansifer-10/+16
2011-07-11Pull file reading out of the lexerBrian Anderson-9/+9
2011-07-11The lexer's get_mark_str should slice by byte position, not char. Closes #654Brian Anderson-3/+4
2011-07-05Move everything syntax-related to syntax/, break deps on rest of compilerMarijn Haverbeke-0/+758
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.