about summary refs log tree commit diff
path: root/src/comp/syntax/parse/token.rs
AgeCommit message (Collapse)AuthorLines
2012-03-02Move src/comp to src/rustcGraydon Hoare-199/+0
2012-02-12(core::str) move push_byte, push_bytes, pop_byte, and shift_byte into ↵Kevin Cantu-1/+1
str::unsafe
2012-02-09Remove some pointless importsMarijn Haverbeke-1/+0
2012-02-05Remove support for $(...) form of quasi-quotes, use #ast{...} instead.Kevin Atkinson-2/+0
2012-02-03Add support for parsing quasi-quotes, doesn't do anything useful yet.Kevin Atkinson-0/+11
2012-01-30Remove ternary operatorPaul Woolcock-2/+0
`expr_ternary`, `ternary_to_if`, and all parses & lexer definitions have been removed.
2012-01-19rustc: ";" to "," in enumsPatrick Walton-54/+54
2012-01-19rustc: "tag" -> "enum"Patrick Walton-2/+2
2012-01-18Remove '.' after nullary tags in patternsTim Chevalier-56/+56
Does what it says on the tin. The next commit will remove support for this syntax.
2012-01-13Convert the objects used in the lexer and parser to records + implsMarijn Haverbeke-4/+5
2011-12-13Copy first batch of material from libstd to libcore.Graydon Hoare-1/+1
2011-12-07Change literal representation to not truncateMarijn Haverbeke-47/+20
Also shuffles around the organization of numeric literals and types, separating by int/uint/float instead of machine-vs-non-machine types. This simplifies some code. Closes #974 Closes #1252
2011-11-17remove compile-command from local variable blocksNiko Matsakis-1/+0
2011-11-10Cleanup unused importsHaitao Li-3/+1
2011-10-07Make 1-1 parse againMarijn Haverbeke-1/+3
Issue #954 This is not a very elegant fix -- we should probably do something with constant folding to handle negative-int alt patterns in the future.
2011-09-12Factor imports mindlessly.Graydon Hoare-3/+1
2011-09-12Pretty-print for new arg-mode syntaxMarijn Haverbeke-0/+3
2011-09-12Reformat for new mode syntax, step 1Marijn Haverbeke-0/+3
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-62/+60
2011-09-01Rename std::istr to std::str. Issue #855Brian Anderson-3/+3
2011-09-01Remove std::str. Issue #855Brian Anderson-1/+0
2011-08-27Convert rustc::syntax::ast_util to istrs. Issue #855Brian Anderson-2/+2
2011-08-27Convert rustc::syntax::token to istrs. Issue #855Brian Anderson-64/+64
2011-08-27Convert lexer to istrs. Issue #855Brian Anderson-5/+10
2011-08-27Convert std::int to istrs. Issue #855Brian Anderson-3/+3
2011-08-27Convert std::uint to istrs. Issue #855Brian Anderson-1/+2
2011-08-25Change "pred" to "pure fn" within the compiler.Tim Chevalier-1/+1
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-0/+3
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-4/+0
2011-08-16Port the compiler to the expr foo::<T> syntax.Erick Tryzelaar-4/+4
2011-07-28:: is allowed to start an expression. Close #762.Josh Matthews-0/+1
2011-07-27Reformat for new syntaxMarijn Haverbeke-100/+113
2011-07-13Add some missing cases to token::can_begin_exprTim Chevalier-0/+4
2011-07-11So... I can't spell 'ellipsis'.Paul Stansifer-2/+2
2011-07-11Change "etc" syntax for record patterns from `{a:b ...}` to `{a:b, _}`.Paul Stansifer-0/+1
2011-07-11Add elipses, reorganize the macro components into their own AST node.Paul Stansifer-0/+1
2011-07-11Add nodes for embedding types and blocks in expressions for macros.Paul Stansifer-16/+8
2011-07-06Remove temporary stdlib placeholders, use actual stdlib functionsMarijn Haverbeke-1/+1
(Possible now that a snapshot took place.)
2011-07-05Move everything syntax-related to syntax/, break deps on rest of compilerMarijn Haverbeke-0/+202
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.