| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-03-22 | Clean up raw identifier handling when recovering tokens from AST. | Lymia Aluysia | -1/+1 | |
| 2018-03-18 | Initial implementation of RFC 2151, Raw Identifiers | Lymia Aluysia | -1/+1 | |
| 2018-03-02 | Replace Rc with Lrc for shared data | John Kåre Alsaker | -3/+4 | |
| 2017-08-30 | Make fields of `Span` private | Vadim Petrochenkov | -3/+3 | |
| 2017-06-26 | Add `LazyTokenStream`. | Jeffrey Seyfried | -1/+1 | |
| 2017-06-26 | Simplify `hygiene::Mark` application, and | Jeffrey Seyfried | -26/+34 | |
| remove variant `Token::SubstNt` in favor of `quoted::TokenTree::MetaVar`. | ||||
| 2017-06-08 | Speed up expansion. | Mark Simulacrum | -8/+9 | |
| This reduces duplication, thereby increasing expansion speed. | ||||
| 2017-05-12 | Fix some clippy warnings in libsyntax | Andre Bogus | -3/+3 | |
| This is mostly removing stray ampersands, needless returns and lifetimes. | ||||
| 2017-03-30 | Improve `Path` spans. | Jeffrey Seyfried | -8/+1 | |
| 2017-03-03 | Integrate `TokenStream`. | Jeffrey Seyfried | -16/+20 | |
| 2017-02-28 | Merge `repeat_idx` and `repeat_len`. | Jeffrey Seyfried | -17/+15 | |
| 2017-02-28 | Remove `Token::MatchNt`. | Jeffrey Seyfried | -3/+4 | |
| 2017-02-28 | Add `syntax::ext::tt::quoted::{TokenTree, ..}` and remove ↵ | Jeffrey Seyfried | -34/+17 | |
| `tokenstream::TokenTree::Sequence`. | ||||
| 2017-02-28 | Avoid `Token::{OpenDelim, CloseDelim}`. | Jeffrey Seyfried | -16/+22 | |
| 2017-02-28 | Remove `ext::tt::transcribe::tt_next_token`. | Jeffrey Seyfried | -149/+124 | |
| 2017-02-28 | Clean up `ext::tt::transcribe::TtFrame`, rename to `Frame`. | Jeffrey Seyfried | -57/+84 | |
| 2017-02-28 | Remove a `loop` in `ext::tt::transcribe`. | Jeffrey Seyfried | -32/+23 | |
| 2017-01-17 | Avoid interpolated token trees. | Jeffrey Seyfried | -1/+2 | |
| 2017-01-17 | Clean up `ext::tt::transcribe`. | Jeffrey Seyfried | -63/+33 | |
| 2017-01-17 | Refactor the parser to consume token trees. | Jeffrey Seyfried | -4/+7 | |
| 2016-11-04 | Remove field `TtReader::next_tok`. | Jeffrey Seyfried | -5/+0 | |
| 2016-11-03 | Move doc comment desugaring into the parser. | Jeffrey Seyfried | -27/+1 | |
| 2016-11-03 | Revert "macros: Improve `tt` fragments" | Jeffrey Seyfried | -13/+3 | |
| This reverts commit 41745f30f751364bdce14428b7d3ffa5dd028903. | ||||
| 2016-11-03 | Reduce the size of `Token` and make it cheaper to clone by refactoring | Jeffrey Seyfried | -13/+11 | |
| `Token::Interpolated(Nonterminal)` -> `Token::Interpolated(Rc<Nonterminal>)`. | ||||
| 2016-10-25 | Use `SmallVector` for `TtReader::stack`. | Nicholas Nethercote | -3/+4 | |
| This avoids 800,000 heap allocations when compiling html5ever. It requires tweaking `SmallVector` a little. | ||||
| 2016-10-19 | Improve `$crate`. | Jeffrey Seyfried | -29/+2 | |
| 2016-10-17 | Fix partially consumed tokens in macro matchers. | Jeffrey Seyfried | -0/+5 | |
| 2016-08-07 | Make metavariables hygienic. | Jeffrey Seyfried | -5/+5 | |
| 2016-07-23 | macros: Improve `tt` fragments | Jeffrey Seyfried | -3/+13 | |
| 2016-07-06 | Auto merge of #34652 - jseyfried:fix_expansion_perf, r=nrc | bors | -2/+2 | |
| Fix expansion performance regression **syntax-[breaking-change] cc #31645** This fixes #34630 by reverting commit 5bf7970 of PR #33943, which landed in #34424. By removing the `Rc<_>` wrapping around `Delimited` and `SequenceRepetition` in `TokenTree`, 5bf7970 made cloning `TokenTree`s more expensive. While this had no measurable performance impact on the compiler's crates, it caused an order of magnitude performance regression on some macro-heavy code in the wild. I believe this is due to clones of `TokenTree`s in `macro_parser.rs` and/or `macro_rules.rs`. r? @nrc | ||||
| 2016-07-04 | Revert "Change `fold_tt` and `fold_tts` to take token trees by value ↵ | Jeffrey Seyfried | -2/+2 | |
| (instead of by reference)" This reverts commit 5bf7970ac70b4e7781e7b2f3816720aa62fac6fd. | ||||
| 2016-07-03 | prefer `if let` to match with `None => {}` arm in some places | Zack M. Davis | -6/+3 | |
| This is a spiritual succesor to #34268/8531d581, in which we replaced a number of matches of None to the unit value with `if let` conditionals where it was judged that this made for clearer/simpler code (as would be recommended by Manishearth/rust-clippy's `single_match` lint). The same rationale applies to matches of None to the empty block. | ||||
| 2016-06-26 | Rollup merge of #33943 - jseyfried:libsyntax_cleanup, r=nrc | Jeffrey Seyfried | -2/+2 | |
| Miscellaneous low priority cleanup in `libsyntax`. | ||||
| 2016-06-26 | Rollup merge of #34385 - cgswords:tstream, r=nrc | Jeffrey Seyfried | -7/+7 | |
| syntax-[breaking-change] cc #31645 (Only breaking because ast::TokenTree is now tokenstream::TokenTree.) This pull request refactors TokenTrees into their own file as src/libsyntax/tokenstream.rs, moving them out of src/libsyntax/ast.rs, in order to prepare for an accompanying TokenStream implementation (per RFC 1566). | ||||
| 2016-06-23 | Move errors from libsyntax to its own crate | Jonathan Turner | -1/+1 | |
| 2016-06-21 | Refactored tokentrees into their own files in preparation for tokenstreams. ↵ | cgswords | -7/+7 | |
| Modified tests to point to the new file now. | ||||
| 2016-06-14 | Change `fold_tt` and `fold_tts` to take token trees by value (instead of by ↵ | Jeffrey Seyfried | -2/+2 | |
| reference) | ||||
| 2016-04-27 | Make some fatal lexer errors recoverable | mitaa | -1/+3 | |
| 2016-04-24 | syntax: Get rid of token::IdentStyle | Vadim Petrochenkov | -6/+6 | |
| 2016-02-18 | Remove unnecessary explicit lifetime bounds. | Corey Farwell | -11/+11 | |
| These explicit lifetimes can be ommitted because of lifetime elision rules. Instances were found using rust-clippy. | ||||
| 2016-02-11 | [breaking-change] don't glob export ast::KleeneOp variants | Oliver 'ker' Schneider | -2/+2 | |
| 2015-12-18 | Rollup merge of #30384 - nrc:diagnostics, r=@nikomatsakis | Manish Goregaokar | -4/+4 | |
| Should make it possible to add JSON or HTML errors. Also tidies up a lot. | ||||
| 2015-12-17 | Remove unused imports | Jeffrey Seyfried | -1/+1 | |
| 2015-12-17 | move error handling from libsyntax/diagnostics.rs to libsyntax/errors/* | Nick Cameron | -4/+4 | |
| Also split out emitters into their own module. | ||||
| 2015-12-15 | Generated code spans now point to callsite parameters (where applicable) | Daniel Campbell | -2/+2 | |
| 2015-11-06 | remove `Tt` prefix from TokenType variants | Oliver Schneider | -21/+21 | |
| [breaking change] | ||||
| 2015-09-24 | Cleanup interfaces of Name, SyntaxContext and Ident | Vadim Petrochenkov | -5/+5 | |
| Make sure Name, SyntaxContext and Ident are passed by value Make sure Idents don't serve as keys (or parts of keys) in maps, Ident comparison is not well defined | ||||
| 2015-08-15 | Fix span of invalid metavariable repetition | Jonas Schievink | -1/+1 | |
| 2015-07-28 | remove `get_ident` and `get_name`, make `as_str` sound | Oliver Schneider | -6/+4 | |
| 2015-04-21 | syntax: remove #![feature(box_syntax, box_patterns)] | Erick Tryzelaar | -2/+2 | |
