about summary refs log tree commit diff
path: root/src/libsyntax
AgeCommit message (Collapse)AuthorLines
2012-08-02Allow `macro_rules! m { (...) => ... }`Paul Stansifer-2/+7
2012-08-02Allow interpolations of all the nt_*s.Paul Stansifer-11/+37
2012-08-01syntax: Remove 'ret'Brian Anderson-1/+1
2012-08-01Convert ret to returnBrian Anderson-600/+626
2012-08-01syntax: Allow any block-like expr to be used as alt arm w/o comma separatorBrian Anderson-34/+36
2012-08-01libsyntax: Use the keyword "copy" for copy-mode bindings instead of the +.Patrick Walton-16/+8
Mea culpa for introducing + in the first place.
2012-08-01Clean out transitional lint.Graydon Hoare-6/+1
2012-08-01Working on documentation of pipes.Eric Holk-0/+34
2012-08-01libsyntax: Fix a parsing problem with the temporary syntax for by-value ↵Patrick Walton-2/+2
pattern match bindings
2012-07-31rustc: Parse by-reference pattern bindings with the "ref" keywordPatrick Walton-76/+121
2012-07-31rustc: Implement unary move. Closes #917.Patrick Walton-7/+15
2012-07-31Introduce 'return', 'match' and 'module' as synonymsBrian Anderson-13/+27
2012-07-31syntax: Rename 'module' extension to 'module_path'Brian Anderson-1/+1
2012-07-31rustc: Check self types in method lookup; allow required trait methods to ↵Patrick Walton-1/+3
have self types; write self types into metadata
2012-07-31syntax: More tweaks to make alt arrows parse and print correctlyBrian Anderson-42/+47
2012-07-31accept naked exprs with commas in pattern armsNiko Matsakis-6/+42
pretty printing will use them, but indentation is slightly off if the expr is long
2012-07-31Now you can use whatever delimiter you want to invoke syntax extensions.Paul Stansifer-17/+34
2012-07-31Change remaining "iface" occurrences to "trait"; deprecate "iface"Lindsey Kuper-9/+10
2012-07-31Avoid accidentally printing floating point numbers as `10.f`.Paul Stansifer-1/+7
2012-07-31Fix pretty-printer breakage: `1000f` -> `1000`.Paul Stansifer-1/+1
2012-07-31Build fix: debug![ to debug!{Ben Blum-1/+1
2012-07-30libsyntax: Parse self types in methodsPatrick Walton-17/+174
2012-07-30Frontend bits for #2317, general const-expr classification.Graydon Hoare-0/+13
2012-07-30Fix pretty-printing of consecutive idents.Paul Stansifer-6/+12
2012-07-30Allow single quote to be escaped in strings.Paul Stansifer-0/+1
2012-07-30Change syntax extension syntax: `#m[...]` -> `m!{...}`.Paul Stansifer-219/+219
2012-07-30Pretty-print token trees.Paul Stansifer-13/+38
2012-07-30Improve some documentation.Paul Stansifer-14/+20
2012-07-30Feed the interner to the pretty-printer, in anticipation of pretty-printing ↵Paul Stansifer-4/+5
token trees.
2012-07-30Work around bug #2935 by unautounboxing.Paul Stansifer-7/+10
2012-07-30Let's give that binder a name that's not incredibly confusing.Paul Stansifer-2/+2
2012-07-30Impl-ize interner.Paul Stansifer-49/+47
2012-07-30Rename `#mod` -> `#module` to not collide with the keyword.Paul Stansifer-3/+6
2012-07-30syntax: Fix semicolon printing. Closes #3036Brian Anderson-1/+1
2012-07-29Rewrite bitv to use classes and optimize its representationTim Chevalier-2/+2
Rewrote bitv as a class that uses a 32-bit int as its representation for bit vectors of 32 bits or less, and a vector (the old representation) otherwise. I didn't benchmark very much, but a bit of informal benchmarking suggested this is a win. Closes #2341
2012-07-27rustc: Use coherence for operator overloading.Patrick Walton-18/+70
The only use of the old-style impls is now placement new.
2012-07-27Kill off another couple uses of the term 'mtcs'.Graydon Hoare-2/+2
2012-07-27early => earley. Oops.Graydon Hoare-1/+1
2012-07-27Make macro-system type and constructor names more uniform; more comments.Graydon Hoare-195/+231
2012-07-27Start killing off obsolete/unused quoters, and fix long lines.Graydon Hoare-76/+9
2012-07-27Comments in the new macro system, reflecting conversation with pauls.Graydon Hoare-6/+125
2012-07-27Correctly forbid upvars in nested impls, traits and classesTim Chevalier-1/+3
Previously, resolve was allowing impls, traits or classes that were nested within a fn to refer to upvars, as well as referring to type parameters bound by the fn. Fixing this required adding a new kind of def: def_typaram_binder, which can refer to any of an impl, trait or class that has bound ty params. resolve uses this to enforce that methods can refer to their parent item's type parameters, but not to outer items' type parameters; other stages ignore it. I also made sure that impl, trait and class methods get checked inside a MethodRibKind thing so as to forbid upvars, and changed the definition of MethodRibKind so that its second argument is an optional node_id (so that required trait method signatures can be checked with a MethodRibKind as well).
2012-07-26Nomenclature fixes in the lint checker. Fewer double-negatives.Graydon Hoare-0/+5
New style is allow(foo), warn(foo), deny(foo) and forbid(foo), mirrored by -A foo, -W foo, -D foo and -F foo on command line. These replace -W no-foo, -W foo, -W err-foo, respectively. Forbid is new, and means "deny, and you can't override it".
2012-07-26diagnostic: only print color if output is for the screenDamian Gryski-2/+4
2012-07-26Merge branch 'incoming' of github.com:mozilla/rustPaul Stansifer-4/+2
2012-07-26rustc: Fix cross-crate max/min-class-style constructorsPatrick Walton-2/+2
2012-07-26Make parsing about 0.3 seconds faster.Eric Holk-13/+14
2012-07-26Add #[inline(never)], and also fixed inlining on vec::pushEric Holk-1/+5
2012-07-26Comments Only: Remove outdated FIXMEs. Fixes #2886.Eric Holk-2/+0
2012-07-26Change `#macro` to `macro_rules!` in some cases.Paul Stansifer-38/+29