about summary refs log tree commit diff
path: root/src/libsyntax/ext
AgeCommit message (Collapse)AuthorLines
2012-11-28librustc: Add explicit self to IterBytes. r=nmatsakisPatrick Walton-1/+2
2012-11-28libsyntax: Implement a macro `die!` to replace the `fail` expression. r=brsonPatrick Walton-0/+20
2012-11-26auto_serialize should use explicit refs (fixes #4044)Erick Tryzelaar-2/+2
2012-11-26Remove the crate languageBrian Anderson-0/+12
2012-11-21libsyntax: Implement `deriving` correctly for type-parameterized structs and ↵Patrick Walton-61/+151
enums. r=brson
2012-11-21libsyntax: Implement deriving via a syntax extension for the `IterBytes` ↵Patrick Walton-123/+416
trait. r=brson
2012-11-21libsyntax: Fix duplication of items that occurs if `#[deriving_eq]` is ↵Patrick Walton-1/+1
applied to a non-enum/non-struct. r=brson
2012-11-21libsyntax: Implement `deriving` for enums with N-ary variants. r=brsonPatrick Walton-40/+153
2012-11-20syntax: switch tt quoter to emit ~[tt], not tt.Graydon Hoare-29/+48
2012-11-20libsyntax: Long line. rs=make-tidyPatrick Walton-1/+1
2012-11-20rustc: Implement "deriving" for monomorphic structs via a syntax extension. ↵Patrick Walton-0/+417
r=brson
2012-11-19rustc: Implement explicit self for Eq and Ord. r=graydonPatrick Walton-0/+15
2012-11-18Remove unused file_type enum from the parserBrian Anderson-11/+10
2012-11-18Report errors better when failing to open files for sub-parsersBrian Anderson-3/+4
2012-11-17Merge remote-tracking branch 'brson/codemap'Brian Anderson-92/+99
Conflicts: src/libsyntax/ext/source_util.rs
2012-11-16syntax: rename quote! to quote_tokens!, add quote_{expr,type,item,pat,stmt}!Graydon Hoare-28/+122
r=brson, Close #3976.
2012-11-16Stop tracking CodeMap offsets in the parse session. Big simplificationBrian Anderson-2/+1
2012-11-16Change spans to use byte offsets instead of char offsetsBrian Anderson-10/+10
2012-11-15Refactor the lexer to use FilePos typesBrian Anderson-4/+7
2012-11-14Add types for character position and byte position in the codemapBrian Anderson-54/+48
2012-11-14Camel case all the codemap types except spanBrian Anderson-19/+19
2012-11-14librustc: Require the #[derivable] attribute, remove the significance of ↵Patrick Walton-1/+1
"impl Foo : Bar;", and allow only a subset of methods in a trait to be derived. r=brson
2012-11-13rustc: add new token-tree based quasiquoter.Graydon Hoare-17/+362
2012-11-13cleanup: convert some remaining #foo invocations to foo! form.Graydon Hoare-3/+3
2012-11-12Objectify the codemapBrian Anderson-7/+7
2012-11-12Remove expn_info box typedef from codemapBrian Anderson-5/+5
2012-11-12Remove CodeMap box typedef from codemapBrian Anderson-2/+2
2012-11-12Remove filemap box typedef from codemapBrian Anderson-2/+2
2012-11-12Convert most codemap types from records to structsBrian Anderson-12/+14
2012-11-07rustc: Support irrefutable patterns in function arguments. r=nmatsakisPatrick Walton-12/+36
2012-11-02Fix #1996 (pending snapshot)Tim Chevalier-6/+6
Change int to uint in some extfmt code. Remove the #[cfg(stage0)] code after a snapshot.
2012-10-25Merge remote-tracking branch '14427/incoming'Brian Anderson-1/+1
Conflicts: src/libstd/sort.rs
2012-10-23 Remove uses of binary move in the compilerTim Chevalier-4/+4
2012-10-23Don't generate move-by-init in AST builderTim Chevalier-2/+8
2012-10-23rustc: Implement typechecking for simple monomorphic derivable traits on ↵Patrick Walton-1/+1
monomorphic types. r=brson
2012-10-22Merge remote-tracking branch 'original/incoming' into incomingSimon BD-1905/+1049
2012-10-22Simplify the AST representation of ty param boundsTim Chevalier-2/+2
Change ast::ty_param_bound so that all ty param bounds are represented as traits, with no special cases for Copy/Send/Owned/Const. typeck::collect generates the special cases. A consequence of this is that code using the #[no_core] attribute can't use the Copy kind/trait. Probably not a big deal? As a side effect, any user-defined traits that happen to be called Copy, etc. in the same module override the built-in Copy trait. r=nmatsakis Closes #2284
2012-10-15rustc: Merge module and type namespaces. r=brsonPatrick Walton-81/+80
2012-10-15libstd: make Serializer a trait-level typaramErick Tryzelaar-56/+87
2012-10-12Make moves explicit in libsyntaxTim Chevalier-1/+1
2012-10-12Add a colon, make an error message clearerTim Chevalier-1/+1
2012-10-12Replace several common macros of the form #m[...] with m!(...)Kevin Cantu-14/+14
This commit replaces nearly all remaining uses of #fmt, #debug, #error, and #info, and fixes some error messages...
2012-10-11Make to_str pure and fix const parameters for str-mutating functionsTim Chevalier-1/+1
Two separate changes that got intertwined (sorry): Make to_str pure. Closes #3691 In str, change functions like push_char to take an &mut str instead of an &str. Closes #3710
2012-10-08Revert "Revert "Remove old auto_serialize2 code (needs snapshot)""Tim Chevalier-1052/+2
This reverts commit a33535e441dc5461fec0489069a1491367ad1c91.
2012-10-08Revert "Remove old auto_serialize2 code (needs snapshot)"Tim Chevalier-2/+1052
This reverts commit 0bd6da8a8c93143325cb45e8a074ccf7121ca168.
2012-10-07Remove old auto_serialize2 code (needs snapshot)Erick Tryzelaar-1052/+2
2012-10-07Remove the old serializers (needs snapshot)Erick Tryzelaar-842/+969
2012-10-07remove the old auto_serialize syntax extensionErick Tryzelaar-108/+145
2012-10-07migrate libsyntax/rustc to auto_serialize2Erick Tryzelaar-2/+2
2012-10-06Merge remote-tracking branch 'original/incoming' into incomingSimon BD-16/+6