<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/comp/syntax/ast_util.rs, branch 0.1</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=0.1</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=0.1'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2012-01-20T02:04:25+00:00</updated>
<entry>
<title>rustc: ";" to "," in enums</title>
<updated>2012-01-20T02:04:25+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@mimiga.net</email>
</author>
<published>2012-01-20T01:56:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c267821742ab7f9207a8e594d53150ad41ad0d7b'/>
<id>urn:sha1:c267821742ab7f9207a8e594d53150ad41ad0d7b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc: "tag" -&gt; "enum"</title>
<updated>2012-01-19T22:24:03+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@mimiga.net</email>
</author>
<published>2012-01-19T22:24:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=bdb8f6cf52a2a4e2f78e6fa95d42140aa26ec31c'/>
<id>urn:sha1:bdb8f6cf52a2a4e2f78e6fa95d42140aa26ec31c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove '.' after nullary tags in patterns</title>
<updated>2012-01-19T07:17:34+00:00</updated>
<author>
<name>Tim Chevalier</name>
<email>chevalier@alum.wellesley.edu</email>
</author>
<published>2012-01-19T06:37:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=04a2887f8791bb080b4e76a55949a7c1954dbb97'/>
<id>urn:sha1:04a2887f8791bb080b4e76a55949a7c1954dbb97</id>
<content type='text'>
Does what it says on the tin.

The next commit will remove support for this syntax.
</content>
</entry>
<entry>
<title>Allow omission of the '.' after nullary tag patterns</title>
<updated>2012-01-17T18:08:16+00:00</updated>
<author>
<name>Tim Chevalier</name>
<email>chevalier@alum.wellesley.edu</email>
</author>
<published>2012-01-15T00:05:07+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c3bc8fada838c15e09e76a9d5d85438667c1636c'/>
<id>urn:sha1:c3bc8fada838c15e09e76a9d5d85438667c1636c</id>
<content type='text'>
This commit allows patterns like:

alt x { some(_) { ... } none { } }

without the '.' after none. The parser suspends judgment about
whether a bare ident is a tag or a new bound variable; instead,
the resolver disambiguates.

This means that any code after resolution that pattern-matches on
patterns needs to call pat_util::normalize_pat, which consults
an environment to do this disambiguation.

In addition, local variables are no longer allowed to shadow
tag names, so this required changing some code (e.g. renaming
variables named "mut", and renaming ast::sub to subtract).

The parser currently accepts patterns with and without the '.'.
Once the compiler and libraries are changed, it will no longer
accept the '.'.
</content>
</entry>
<entry>
<title>Don't evaluate discriminator value constants when parsing.</title>
<updated>2012-01-16T10:19:33+00:00</updated>
<author>
<name>Kevin Atkinson</name>
<email>kevina@cs.utah.edu</email>
</author>
<published>2012-01-16T09:36:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=e1c50c4410804dfce9fbe040f341f6104cc9ba7e'/>
<id>urn:sha1:e1c50c4410804dfce9fbe040f341f6104cc9ba7e</id>
<content type='text'>
Remove disr_val from ast::variant_ and always use ty::variant_info
when the value is needed.  Move what was done during parsing into
other passes, primary typeck.rs.  This move also correctly type checks
the disr. value expression; thus, fixing rustc --pretty=typed when
disr. values are used.
</content>
</entry>
<entry>
<title>Properly print u suffix for uint literals</title>
<updated>2012-01-16T10:19:32+00:00</updated>
<author>
<name>Marijn Haverbeke</name>
<email>marijnh@gmail.com</email>
</author>
<published>2012-01-16T09:46:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=13b9a16a7b98f2308d7fae01ad122a3f94032c63'/>
<id>urn:sha1:13b9a16a7b98f2308d7fae01ad122a3f94032c63</id>
<content type='text'>
Issue #1532
</content>
</entry>
<entry>
<title>Obj system? What obj system?</title>
<updated>2012-01-13T10:51:29+00:00</updated>
<author>
<name>Marijn Haverbeke</name>
<email>marijnh@gmail.com</email>
</author>
<published>2012-01-13T09:58:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=24102d50ad2335c1da5c10ddab8996534b2760dc'/>
<id>urn:sha1:24102d50ad2335c1da5c10ddab8996534b2760dc</id>
<content type='text'>
Removes the obj system from the compiler.

Closes #1484
</content>
</entry>
<entry>
<title>Cleanups to previous commits for issue #1393.</title>
<updated>2012-01-12T08:55:48+00:00</updated>
<author>
<name>Kevin Atkinson</name>
<email>kevina@cs.utah.edu</email>
</author>
<published>2012-01-11T01:33:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=44352df57c04996b12d14ba92967d6637d154906'/>
<id>urn:sha1:44352df57c04996b12d14ba92967d6637d154906</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Switch to new param kind bound syntax</title>
<updated>2012-01-05T14:50:02+00:00</updated>
<author>
<name>Marijn Haverbeke</name>
<email>marijnh@gmail.com</email>
</author>
<published>2012-01-05T14:35:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=60ae1590af034755b5cb1e1e71f2240a710299a2'/>
<id>urn:sha1:60ae1590af034755b5cb1e1e71f2240a710299a2</id>
<content type='text'>
And remove support for the old syntax
</content>
</entry>
<entry>
<title>Change representation of type params to handle interface bounds</title>
<updated>2011-12-28T20:18:16+00:00</updated>
<author>
<name>Marijn Haverbeke</name>
<email>marijnh@gmail.com</email>
</author>
<published>2011-12-28T16:50:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1ed6a275487607b71716a4d8ec4cac58cd803c1f'/>
<id>urn:sha1:1ed6a275487607b71716a4d8ec4cac58cd803c1f</id>
<content type='text'>
Issue #1227
</content>
</entry>
</feed>
