about summary refs log tree commit diff
path: root/src/libsyntax/ext
AgeCommit message (Collapse)AuthorLines
2013-02-26libsyntax: change attr::parse_seq_* to take &TokenErick Tryzelaar-7/+7
2013-02-25libsyntax: add some explicit copiesErick Tryzelaar-21/+37
2013-02-25libsyntax: change expect to take &token::TokenErick Tryzelaar-2/+2
2013-02-25libsyntax: change eat to take a &tokenErick Tryzelaar-1/+1
2013-02-25libsyntax: is_keyword should take a &~strErick Tryzelaar-2/+2
2013-02-25libsyntax: progress on making syntax::visit vecs_implicitly_copyable-freeErick Tryzelaar-62/+69
2013-02-25libsyntax: convert visit to pass ty_params by referenceErick Tryzelaar-35/+50
2013-02-25libsyntax: add explicit modes where required to copy strs/vecsErick Tryzelaar-73/+103
2013-02-25libsyntax: Convert ast::attribute_ to store a @meta_itemErick Tryzelaar-6/+6
2013-02-22libsyntax: De-mut the parser. rs=demutingPatrick Walton-29/+27
2013-02-22libsyntax: De-mut the macro parser. rs=demutingPatrick Walton-12/+12
2013-02-22libsyntax: De-mut the pipe compilerPatrick Walton-36/+38
2013-02-22auto merge of #5081 : brson/rust/pipes, r=pcwaltonbors-21/+23
r?
2013-02-21auto merge of #5076 : pcwalton/rust/demuting, r=pcwaltonbors-14/+14
2013-02-21core: Extract comm from pipes. #4742Brian Anderson-21/+23
2013-02-21auto merge of #5059 : Kimundi/rust/incoming, r=catamorphismbors-3/+3
compiles-as-is, but needs a snapshot to remove the `stage0`ed extfmt export in core. Closes #4750
2013-02-21librustc: De-mut some of transPatrick Walton-14/+14
2013-02-21auto merge of #5068 : sethpink/rust/derive-eq-tuple-struct, r=catamorphismbors-14/+89
Previously an unimplemented error was thrown when using #[deriving_eq] on tuple-like struct definitions.
2013-02-21Moved core::extfmt to core::private::extfmtMarvin Löbel-3/+3
Needs a snapshot to remove stage0 extfmt export in core
2013-02-21Get rid of structural records in libsyntax and the last bit in librustc.Luqman Aden-82/+120
2013-02-21Implement #[deriving_eq] on tuple like structsSeth Pink-14/+89
2013-02-20librustc: Separate most trait bounds with '+'. rs=plussingPatrick Walton-4/+4
2013-02-19convert SyntaxExtensions's key to a @~strErick Tryzelaar-31/+31
2013-02-19convert ast::meta_items to take @~strsErick Tryzelaar-2/+3
2013-02-19convert syntax::attr to use @~strsErick Tryzelaar-4/+4
2013-02-19Alias HashMap<~str, SyntaxExtension> to SyntaxExtensionsErick Tryzelaar-6/+8
2013-02-19libsyntax and librustc: minor cleanupErick Tryzelaar-5/+3
2013-02-19libsyntax: change attr:get_attr_name to take a refErick Tryzelaar-2/+2
2013-02-19libsyntax: make enum variants take refsErick Tryzelaar-44/+42
2013-02-18auto merge of #5005 : alexcrichton/rust/bitv++, r=catamorphismbors-4/+8
These commits take the old bitv implementation and modernize it with an explicit self, some minor touchups, and using what I think is some more recent patterns (like `::new` instead of `Type()`). Additionally, this adds an implementation of `container::Set` on top of a bit vector to have as a set of `uint`s. I initially tried to parameterize the type for the set to be `T: NumCast` but I was hitting build problems in stage0 which I think means that it's not in a snapshot yet, so it's just hardcoded as a set of `uint`s now. In the future perhaps it could be parameterized. I'm not sure if it would really add anything, though, so maybe it's nicer to be hardcoded anyway. I also added some extra methods to do normal bit vector operations on the set in-place, but these aren't a part of the `Set` trait right now. I haven't benchmarked any of these operations just yet, but I imagine that there's quite a lot of room for optimization here and there.
2013-02-18auto merge of #5004 : luqmana/rust/rename-use-import, r=catamorphismbors-2/+2
Seems like my previous pull request got lost along the way somehow. So here it is updated.
2013-02-17Modernize bitv mut fields and explicit selfAlex Crichton-4/+8
2013-02-17libsyntax: Update view_item_use/import to reflect actual usageLuqman Aden-2/+2
2013-02-17libsyntax: Long lines.Luqman Aden-6/+12
2013-02-17libsyntax: Explicit-self-ify pipes compiler.Luqman Aden-122/+110
2013-02-17libsyntax: Remove last use of structural records in pipes compiler.Luqman Aden-56/+69
2013-02-15librustc: Stop parsing `impl Type : Trait` and fix several declarations that ↵Patrick Walton-11/+9
slipped through. r=tjc
2013-02-15libsyntax: Get rid of uses of `move` and don't parse it.Luqman Aden-85/+85
2013-02-14auto merge of #4941 : nickdesaulniers/rust/issue4524cleanup, r=catamorphismbors-9/+0
review? @brson Issue #4524
2013-02-14remove die definition and use in doc testsNick Desaulniers-9/+0
2013-02-14librustc: Replace `impl Type : Trait` with `impl Trait for Type`. ↵Patrick Walton-19/+19
rs=implflipping
2013-02-13auto merge of #4922 : jbclements/rust/add-deriving-eq-to-asts, r=catamorphismbors-4/+6
r? Apply deriving_eq to the data structures in ast.rs, and get rid of the custom definitions of eq that were everywhere. resulting ast.rs is about 400 lines shorter. Also: add a few test cases and a bunch of comments. Also: change ast_ty_to_ty_cache to use node ids rather than ast::ty's. I believe this was a suggestion related to my changes, and it appears to pass all tests. Also: tiny doc fix, remove references to crate keywords.
2013-02-13Remove die!, raplace invocations with fail! Issue #4524 pt 3Nick Desaulniers-17/+17
2013-02-13cleanup, fix test caseJohn Clements-1/+1
2013-02-13@mut fixJohn Clements-3/+3
2013-02-13Commenting, test cases, cleanupJohn Clements-8/+10
2013-02-13auto merge of #4840 : jbclements/rust/add-json-enum-encoding, r=catamorphismbors-11/+162
r? I added code to the JSON encoder to support the serialization of enums. Before this, the JSON serializer only handled Option, and encoded None as 'null'. Following this change, all enums are encoded as arrays containing the enum name followed by the encoded fields. This appears consistent with the unstated invariant that the resulting output can be mapped back to the input *if* there's a decoder around that knows the types that were in existence when the serialization occurred. Also, added test cases.
2013-02-13retabbingJohn Clements-59/+60
2013-02-12added rather elaborate test frameworkJohn Clements-17/+126
2013-02-11Fix license blockBrian Anderson-2/+2