summary refs log tree commit diff
path: root/src/libsyntax/ast.rs
AgeCommit message (Collapse)AuthorLines
2012-12-17Switch from serialization to std::serialize. (snapshot)Erick Tryzelaar-174/+171
2012-12-17Add support for destructuring vectors in match expressionsJakub Wieczorek-0/+1
2012-12-13librustc: Allow moves out of `self`. r=nmatsakisPatrick Walton-3/+10
2012-12-12syntax: remove remaining #syntaxext machinery. Close #3516.Graydon Hoare-8/+0
2012-12-12syntax: remove most code handling old-style syntax extensions.Graydon Hoare-6/+0
2012-12-10Remove un-needed code for obsolete classesTim Chevalier-38/+26
and rename "class" to "struct" everywhere possible (except local vars, I was too lazy for that) -- that is why this commit is so big. No review, just dead code removal and renaming. Closes #3515
2012-12-07librustc: De-mode pattern bindings. r=nmatsakisPatrick Walton-4/+4
2012-12-07librustc: Implement "&mut [T]" as an expression. r=brsonPatrick Walton-1/+2
2012-12-07Remove impl_id from trait_ref. UnusedBrian Anderson-1/+1
2012-12-04librustc: Remove all legacy pattern bindings from libsyntax and librustc. ↵Patrick Walton-2/+2
rs=refactoring
2012-12-03Update license, add license boilerplate to most files. Remainder will follow.Graydon Hoare-0/+10
2012-11-30librustc: Make `a.b()` always a method call. r=nmatsakisPatrick Walton-1/+2
2012-11-30libs: Remove transitionary material on iter_bytes, add workcache to build.Graydon Hoare-127/+0
2012-11-29Distinguish `stmt_mac`s that are followed by semicolons and those that aren't.Paul Stansifer-1/+2
2012-11-29Allow for macros to occur in statement position.Paul Stansifer-0/+2
2012-11-28Merge remote-tracking branch 'brson/companion' into incomingBrian Anderson-656/+1
Conflicts: src/compiletest/compiletest.rs src/libcargo/cargo.rs src/libcore/core.rs src/librustc/rustc.rs src/librustdoc/rustdoc.rc
2012-11-28Register snapshotsBrian Anderson-640/+0
2012-11-28librustc: Add explicit self to IterBytes. r=nmatsakisPatrick Walton-0/+128
2012-11-28librustc: Parse `extern "C" { ... }`. r=brsonPatrick Walton-0/+1
2012-11-27librustc: Implement @mut [T] as the new replacement for @[mut T]Patrick Walton-0/+1
2012-11-26Remove the crate languageBrian Anderson-16/+1
2012-11-19rustc: Implement explicit self for Eq and Ord. r=graydonPatrick Walton-1/+643
2012-11-18syntax: Remove cdir_syntax. UnusedBrian Anderson-2/+0
2012-11-17Merge remote-tracking branch 'brson/codemap'Brian Anderson-1/+1
Conflicts: src/libsyntax/ext/source_util.rs
2012-11-14Camel case all the codemap types except spanBrian Anderson-1/+1
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-12rustc: Implement floating point literal inference. r=nmatsakisPatrick Walton-0/+3
2012-11-07rustc: Support irrefutable patterns in function arguments. r=nmatsakisPatrick Walton-3/+3
2012-11-06Cleanup how we handle proto in types, remove unsound subtypingNiko Matsakis-14/+31
Fixes #1896 which was never truly fixed, just masked. The given tests would have failed had they used `~fn()` and not `@fn()`. They now result in compilation errors. Fixes #2978. Necessary first step for #2202, #2263.
2012-11-05rustc: Implement parsing and typechecking for "once fn"Patrick Walton-1/+20
2012-11-03Remove stage0 stuff that was awaiting snapshotTim Chevalier-32/+0
and re-register snapshots Just removing unneeded code, no review
2012-10-30Preserve parenthesization in the ASTTim Chevalier-1/+4
Maintain explicit "paren" nodes in the AST so we can pretty-print without having to guess where parens should go. We may revisit this in the future. r=graydon
2012-10-25rustc: Translate tuple struct constructorsPatrick Walton-1/+1
2012-10-24rustc: Implement typechecking for tuple structs. r=nmatsakisPatrick Walton-1/+29
2012-10-23Remove <- operator from the compilerTim Chevalier-30/+1
Yield an obsolete syntax error on things like "let foo <- bar;" and "foo <- bar;" r=brson Progress on #3466
2012-10-23rustc: Implement typechecking for simple monomorphic derivable traits on ↵Patrick Walton-1/+1
monomorphic types. r=brson
2012-10-22Simplify the AST representation of ty param boundsTim Chevalier-7/+5
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-20...missed a merge marker on that last rebaseBen Striegel-1/+0
2012-10-20Remove old fixed-length vector syntaxBen Striegel-2/+3
2012-10-18rustc: Implement intra-crate static methods on anonymous trait ↵Patrick Walton-29/+1
implementations. r=nmatsakis
2012-10-18Remove dead type definitionTim Chevalier-4/+0
2012-10-15rustc: Merge module and type namespaces. r=brsonPatrick Walton-25/+25
2012-10-15libstd: make Serializer a trait-level typaramErick Tryzelaar-0/+49
2012-10-12remove ctor from ast (take 2) (no review: just dead code removal)Niko Matsakis-6/+3
2012-10-12Use the Nth impl when translating a static method call, insteadNiko Matsakis-3/+6
of the 0th. 0th is only correct when there are no bound tps on the trait. Fixes #3741.
2012-10-11Update FIXME numbersTim Chevalier-2/+2
2012-10-08Revert "Revert "Remove old auto_serialize2 code (needs snapshot)""Tim Chevalier-170/+0
This reverts commit a33535e441dc5461fec0489069a1491367ad1c91.
2012-10-08Revert "Remove old auto_serialize2 code (needs snapshot)"Tim Chevalier-0/+170
This reverts commit 0bd6da8a8c93143325cb45e8a074ccf7121ca168.
2012-10-07Remove old auto_serialize2 code (needs snapshot)Erick Tryzelaar-170/+0
2012-10-07Remove the old serializers (needs snapshot)Erick Tryzelaar-4/+174