<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/rustc/syntax/parse, branch beta</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=beta</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=beta'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2012-03-29T21:42:31+00:00</updated>
<entry>
<title>rustc: Move attr, parse, print to rustsyntax</title>
<updated>2012-03-29T21:42:31+00:00</updated>
<author>
<name>Brian Anderson</name>
<email>banderson@mozilla.com</email>
</author>
<published>2012-03-23T01:01:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=442d0a783ad28abe821d64a20e15a789254707ed'/>
<id>urn:sha1:442d0a783ad28abe821d64a20e15a789254707ed</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc: Move lexer and token to rustsyntax</title>
<updated>2012-03-29T21:42:30+00:00</updated>
<author>
<name>Brian Anderson</name>
<email>banderson@mozilla.com</email>
</author>
<published>2012-03-23T00:49:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=15947f8b193126234b2712beca739bc6c4abbf43'/>
<id>urn:sha1:15947f8b193126234b2712beca739bc6c4abbf43</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Allow explicit self-calls within classes</title>
<updated>2012-03-29T03:30:07+00:00</updated>
<author>
<name>Tim Chevalier</name>
<email>chevalier@alum.wellesley.edu</email>
</author>
<published>2012-03-29T01:50:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f7bbe537c11b83c529d755622bc7fdb831d751cd'/>
<id>urn:sha1:f7bbe537c11b83c529d755622bc7fdb831d751cd</id>
<content type='text'>
Allow writing self.f() within a class that has a method f. In a future
commit, this syntax will be required. For now, you can write either
self.f() or f().

I added a "privacy" field to all methods (whether class methods or not),
which allowed me to refactor the AST somewhat (getting rid of the
class_item type; now there's just class_member).
</content>
</entry>
<entry>
<title>Allow references to "self" within classes</title>
<updated>2012-03-28T21:19:00+00:00</updated>
<author>
<name>Tim Chevalier</name>
<email>chevalier@alum.wellesley.edu</email>
</author>
<published>2012-03-28T21:17:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ca6636d6b689fe209a210b0eda51e368f01cdb0f'/>
<id>urn:sha1:ca6636d6b689fe209a210b0eda51e368f01cdb0f</id>
<content type='text'>
Allow writing self.f within a class that has a field f. Currently,
the compiler accepts either self.f or f. In a future commit I'll
require writing self.f and not f.

Not sure whether self.f() works if f is a method (making sure that
works next).
</content>
</entry>
<entry>
<title>Enforce mutability declarations in classes; correct shapes for classes</title>
<updated>2012-03-28T05:11:58+00:00</updated>
<author>
<name>Tim Chevalier</name>
<email>chevalier@alum.wellesley.edu</email>
</author>
<published>2012-03-28T05:08:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=edb747ceedcfec2eb9f698b0e11b7e94d9174f33'/>
<id>urn:sha1:edb747ceedcfec2eb9f698b0e11b7e94d9174f33</id>
<content type='text'>
1. Enforce mutability declarations on class fields. Don't allow any
mutation of class fields not declared as mutable (except inside the
constructor).

2. Handle classes correctly in shape (treat classes like records).
</content>
</entry>
<entry>
<title>Support an alternate for syntax that calls a higher-order function</title>
<updated>2012-03-27T07:27:31+00:00</updated>
<author>
<name>Marijn Haverbeke</name>
<email>marijnh@gmail.com</email>
</author>
<published>2012-03-26T14:09:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=f6e3738b9c824e56f561e75f0ff11cf3a0d2dd09'/>
<id>urn:sha1:f6e3738b9c824e56f561e75f0ff11cf3a0d2dd09</id>
<content type='text'>
The last argument of the call must be a block, and the type of this
argument must a function returning bool. `break` and `cont` are
supported in the body of the block, and return `false` or `true` from
the function. When the end of the function is reached, `true` is
implicitly returned.

    for vec::all([1, 2, 3]) {|elt|
        if elt == 2 { break; }
        log(error, elt);
    }

Issue #1619
</content>
</entry>
<entry>
<title>Bulk-edit mutable -&gt; mut.</title>
<updated>2012-03-27T01:35:18+00:00</updated>
<author>
<name>Graydon Hoare</name>
<email>graydon@mozilla.com</email>
</author>
<published>2012-03-27T01:35:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=6e6798c4e17d9ffa33c0573f329c772e9d96739e'/>
<id>urn:sha1:6e6798c4e17d9ffa33c0573f329c772e9d96739e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc: "unkown" -&gt; "unknown"</title>
<updated>2012-03-26T19:53:06+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@mimiga.net</email>
</author>
<published>2012-03-26T19:53:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=03086c53044a055f38b9d1038cecb40cfd2b8998'/>
<id>urn:sha1:03086c53044a055f38b9d1038cecb40cfd2b8998</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc: Fix parsing of `ret &amp;EXPR`</title>
<updated>2012-03-23T23:15:58+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@mimiga.net</email>
</author>
<published>2012-03-23T23:15:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cba007e6c8d165130e9f39f731acc888521c9b6b'/>
<id>urn:sha1:cba007e6c8d165130e9f39f731acc888521c9b6b</id>
<content type='text'>
The parser didn't think that `&amp;` could start an expression.
</content>
</entry>
<entry>
<title>add mut decls to rustc and make them mandatory</title>
<updated>2012-03-22T04:04:14+00:00</updated>
<author>
<name>Niko Matsakis</name>
<email>niko@alum.mit.edu</email>
</author>
<published>2012-03-15T13:47:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b653a1841631949f6d21c551a700a3cbe13bf42f'/>
<id>urn:sha1:b653a1841631949f6d21c551a700a3cbe13bf42f</id>
<content type='text'>
</content>
</entry>
</feed>
