| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2015-12-15 | Move built-in syntax extensions to a separate crate | Seo Sanghyeon | -73/+0 | |
| 2015-11-26 | Add syntax support for attributes on expressions and all syntax | Marvin Löbel | -0/+1 | |
| nodes in statement position. Extended #[cfg] folder to allow removal of statements, and of expressions in optional positions like expression lists and trailing block expressions. Extended lint checker to recognize lint levels on expressions and locals. | ||||
| 2015-11-06 | remove `Tt` prefix from TokenType variants | Oliver Schneider | -4/+4 | |
| [breaking change] | ||||
| 2015-09-08 | Allow tracking issues for lang features. | Huon Wilson | -0/+1 | |
| This is similar to the libs version, which allow an `issue` field in the `#[unstable]` attribute. cc #28244 | ||||
| 2015-07-28 | remove `get_ident` and `get_name`, make `as_str` sound | Oliver Schneider | -2/+2 | |
| 2015-03-28 | cleanup: Remove unused braces in use statements | Richo Healey | -1/+1 | |
| 2015-02-27 | Replace MacExpr / MacPat / MacItems with MacEager | Keegan McAllister | -1/+1 | |
| MacEager is a MacResult implementation for the common case where you've already built each form of AST that you might return. Fixes #17637. Based on #18814. This is a [breaking-change] for syntax extensions: * MacExpr::new becomes MacEager::expr. * MacPat::new becomes MacEager::pat. * MacItems::new becomes MacEager::items. It takes a SmallVector directly, not an iterator. | ||||
| 2015-02-24 | Implement `<T>::method` UFCS expression syntax. | Eduard Burtescu | -1/+1 | |
| 2015-02-18 | Replace all uses of `&foo[]` with `&foo[..]` en masse. | Niko Matsakis | -1/+1 | |
| 2015-02-16 | Address the other cases of #22234; fix #22234. | Felix S. Klock II | -0/+9 | |
| The other cases: `concat_idents!`, `log_syntax!`, and `trace_macros!`, (these macros, with `asm!`, are handled (eagerly) in feature_gate.rs). | ||||
| 2015-02-06 | Update to last version, remove "[]" as much as possible | GuillaumeGomez | -1/+1 | |
| 2015-02-06 | Libsyntax has been updated | GuillaumeGomez | -3/+1 | |
| 2015-02-06 | Replace the get method by the deref one on InternedString | GuillaumeGomez | -1/+3 | |
| 2015-01-07 | use slicing sugar | Jorge Aparicio | -1/+1 | |
| 2015-01-07 | Replace full slice notation with index calls | Nick Cameron | -1/+1 | |
| 2014-12-21 | Fallout of std::str stabilization | Alex Crichton | -1/+1 | |
| 2014-11-06 | Support parenthesized paths `Foo(A,B) -> C` that expand to `Foo<(A,B),C>`. ↵ | Niko Matsakis | -3/+1 | |
| These paths also bind anonymous regions (or will, once HRTB is fully working). Fixes #18423. | ||||
| 2014-10-28 | Use PascalCase for token variants | Brendan Zabarauskas | -5/+5 | |
| 2014-10-26 | Use standard capitalisation for TokenTree variants | Brendan Zabarauskas | -2/+2 | |
| 2014-10-26 | Rename TokenTree variants for clarity | Brendan Zabarauskas | -2/+2 | |
| This should be clearer, and fits in better with the `TTNonterminal` variant. Renames: - `TTTok` -> `TTToken` - `TTDelim` -> `TTDelimited` - `TTSeq` -> `TTSequence` | ||||
| 2014-09-14 | syntax: fix fallout from using ptr::P. | Eduard Burtescu | -4/+3 | |
| 2014-08-27 | Implement generalized object and type parameter bounds (Fixes #16462) | Niko Matsakis | -2/+2 | |
| 2014-06-14 | rustc: Obsolete the `@` syntax entirely | Alex Crichton | -1/+1 | |
| This removes all remnants of `@` pointers from rustc. Additionally, this removes the `GC` structure from the prelude as it seems odd exporting an experimental type in the prelude by default. Closes #14193 [breaking-change] | ||||
| 2014-06-11 | syntax: Move the AST from @T to Gc<T> | Alex Crichton | -1/+1 | |
| 2014-05-24 | core: rename strbuf::StrBuf to string::String | Richo Healey | -2/+2 | |
| [breaking-change] | ||||
| 2014-05-22 | libstd: Remove all uses of `~str` from `libstd` | Patrick Walton | -1/+1 | |
| 2014-05-06 | librustc: Remove `~EXPR`, `~TYPE`, and `~PAT` from the language, except | Patrick Walton | -1/+1 | |
| for `~str`/`~[]`. Note that `~self` still remains, since I forgot to add support for `Box<self>` before the snapshot. How to update your code: * Instead of `~EXPR`, you should write `box EXPR`. * Instead of `~TYPE`, you should write `Box<Type>`. * Instead of `~PATTERN`, you should write `box PATTERN`. [breaking-change] | ||||
| 2014-04-16 | syntax: unify all MacResult's into a single trait. | Huon Wilson | -4/+4 | |
| There's now one unified way to return things from a macro, instead of being able to choose the `AnyMacro` trait or the `MRItem`/`MRExpr` variants of the `MacResult` enum. This does simplify the logic handling the expansions, but the biggest value of this is it makes macros in (for example) type position easier to implement, as there's this single thing to modify. By my measurements (using `-Z time-passes` on libstd and librustc etc.), this appears to have little-to-no impact on expansion speed. There are presumably larger costs than the small number of extra allocations and virtual calls this adds (notably, all `macro_rules!`-defined macros have not changed in behaviour, since they had to use the `AnyMacro` trait anyway). | ||||
| 2014-04-10 | libstd: Implement `StrBuf`, a new string buffer type like `Vec`, and | Patrick Walton | -2/+4 | |
| port all code over to use it. | ||||
| 2014-03-22 | Migrate all users of opt_vec to owned_slice, delete opt_vec. | Huon Wilson | -2/+2 | |
| syntax::opt_vec is now entirely unused, and so can go. | ||||
| 2014-03-20 | Removing imports of std::vec_ng::Vec | Alex Crichton | -1/+0 | |
| It's now in the prelude. | ||||
| 2014-03-20 | rename std::vec_ng -> std::vec | Daniel Micay | -1/+1 | |
| Closes #12771 | ||||
| 2014-03-12 | Changed lists of lifetimes in ast and ty to use Vec instead of OptVec. | Felix S. Klock II | -1/+2 | |
| There is a broader revision (that does this across the board) pending in #12675, but that is awaiting the arrival of more data (to decide whether to keep OptVec alive by using a non-Vec internally). For this code, the representation of lifetime lists needs to be the same in both ScopeChain and in the ast and ty structures. So it seemed cleanest to just use `vec_ng::Vec`, now that it has a cheaper empty representation than the current `vec` code. | ||||
| 2014-03-01 | libsyntax: Mechanically change `~[T]` to `Vec<T>` | Patrick Walton | -2/+2 | |
| 2014-02-18 | Avoid returning original macro if expansion fails. | Douglas Young | -2/+2 | |
| Closes #11692. Instead of returning the original expression, a dummy expression (with identical span) is returned. This prevents infinite loops of failed expansions as well as odd double error messages in certain situations. | ||||
| 2014-02-14 | Refactored ast_map and friends, mainly to have Paths without storing them. | Eduard Burtescu | -2/+1 | |
| 2014-02-02 | librustc: Fix merge fallout. | Patrick Walton | -1/+4 | |
| 2014-01-18 | syntax::ext: replace span_fatal with span_err in many places. | Huon Wilson | -2/+8 | |
| This means that compilation continues for longer, and so we can see more errors per compile. This is mildly more user-friendly because it stops users having to run rustc n times to see n macro errors: just run it once to see all of them. | ||||
| 2014-01-09 | libsyntax: Renamed types, traits and enum variants to CamelCase. | Eduard Burtescu | -3/+3 | |
| 2013-12-29 | Start passing around &mut ExtCtxt | Steven Fackler | -1/+1 | |
| 2013-12-28 | Stop using @ExtCtxt | Steven Fackler | -1/+1 | |
| 2013-11-08 | Generalize AST and ty::Generics to accept multiple lifetimes. | Niko Matsakis | -1/+1 | |
| 2013-09-10 | Delay assignment of node ids until after expansion. Ensures that each AST node | Niko Matsakis | -1/+1 | |
| has a unique id. Fixes numerous bugs in macro expansion and deriving. Add two representative tests. Fixes #7971 Fixes #6304 Fixes #8367 Fixes #8754 Fixes #8852 Fixes #2543 Fixes #7654 | ||||
| 2013-09-03 | Modernized a few more types in syntax::ast | Marvin Löbel | -2/+2 | |
| 2013-09-01 | Modernized a few type names in rustc and syntax | Marvin Löbel | -2/+2 | |
| 2013-08-27 | librustc: Add support for type parameters in the middle of paths. | Patrick Walton | -3/+8 | |
| For example, `foo::<T>::bar::<U>`. This doesn't enforce that the type parameters are in the right positions, however. | ||||
| 2013-08-03 | remove obsolete `foreach` keyword | Daniel Micay | -1/+1 | |
| this has been replaced by `for` | ||||
| 2013-08-01 | migrate many `for` loops to `foreach` | Daniel Micay | -1/+1 | |
| 2013-07-07 | De-managed ast::Path | James Miller | -1/+1 | |
| 2013-06-28 | librustc: Remove the broken overloaded assign-ops from the language. | Patrick Walton | -2/+1 | |
| They evaluated the receiver twice. They should be added back with `AddAssign`, `SubAssign`, etc., traits. | ||||
