<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/libsyntax/syntax.rs, branch try</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=try</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=try'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2013-11-03T12:49:01+00:00</updated>
<entry>
<title>Rename files to match current recommendations.</title>
<updated>2013-11-03T12:49:01+00:00</updated>
<author>
<name>Chris Morgan</name>
<email>me@chrismorgan.info</email>
</author>
<published>2013-10-29T06:22:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=0369a41f0e668eda5622055253b91dbb5254f0b4'/>
<id>urn:sha1:0369a41f0e668eda5622055253b91dbb5254f0b4</id>
<content type='text'>
New standards have arisen in recent months, mostly for the use of
rustpkg, but the main Rust codebase has not been altered to match these
new specifications. This changeset rectifies most of these issues.

- Renamed the crate source files `src/libX/X.rs` to `lib.rs`, for
  consistency with current styles; this affects extra, rustc, rustdoc,
  rustpkg, rustuv, std, syntax.

- Renamed `X/X.rs` to `X/mod.rs,` as is now recommended style, for
  `std::num` and `std::terminfo`.

- Shifted `src/libstd/str/ascii.rs` out of the otherwise unused `str`
  directory, to be consistent with its import path of `std::ascii`;
  libstd is flat at present so it's more appropriate thus.

While this removes some `#[path = "..."]` directives, it does not remove
all of them, and leaves certain other inconsistencies, such as `std::u8`
et al. which are actually stored in `src/libstd/num/` (one subdirectory
down). No quorum has been reached on this issue, so I felt it best to
leave them all alone at present. #9208 deals with the possibility of
making libstd more hierarchical (such as changing the crate to match the
current filesystem structure, which would make the module path
`std::num::u8`).

There is one thing remaining in which this repository is not
rustpkg-compliant: rustpkg would have `src/std/` et al. rather than
`src/libstd/` et al. I have not endeavoured to change that at this point
as it would guarantee prompt bitrot and confusion. A change of that
magnitude needs to be discussed first.
</content>
</entry>
<entry>
<title>Implement a concat!() format extension</title>
<updated>2013-10-31T20:46:10+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2013-10-06T04:15:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a49e65c2edad450cabc0745e94e7c031c5d4f7f8'/>
<id>urn:sha1:a49e65c2edad450cabc0745e94e7c031c5d4f7f8</id>
<content type='text'>
This extension can be used to concatenate string literals at compile time. C has
this useful ability when placing string literals lexically next to one another,
but this needs to be handled at the syntax extension level to recursively expand
macros.

The major use case for this is something like:

    macro_rules! mylog( ($fmt:expr $($arg:tt)*) =&gt; {
        error2!(concat!(file!(), ":", line!(), " - ", $fmt) $($arg)*);
    })

Where the mylog macro will automatically prepend the filename/line number to the
beginning of every log message.
</content>
</entry>
<entry>
<title>register snapshots</title>
<updated>2013-10-23T22:06:12+00:00</updated>
<author>
<name>Daniel Micay</name>
<email>danielmicay@gmail.com</email>
</author>
<published>2013-10-23T08:49:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=142672dca4314e9cfebf067d46c3b542c721cff6'/>
<id>urn:sha1:142672dca4314e9cfebf067d46c3b542c721cff6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement feature-gating for the compiler</title>
<updated>2013-10-06T03:19:33+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2013-10-03T01:10:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=dd98f7089fec5ee8bc908089bcb89c6e352d8726'/>
<id>urn:sha1:dd98f7089fec5ee8bc908089bcb89c6e352d8726</id>
<content type='text'>
A few features are now hidden behind various #[feature(...)] directives. These
include struct-like enum variants, glob imports, and macro_rules! invocations.

Closes #9304
Closes #9305
Closes #9306
Closes #9331
</content>
</entry>
<entry>
<title>Update version numbers to 0.9-pre</title>
<updated>2013-09-27T01:18:42+00:00</updated>
<author>
<name>Brian Anderson</name>
<email>banderson@mozilla.com</email>
</author>
<published>2013-09-27T01:18:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=99c1fb8c661134e80df9e87e6c8fd5b4258293e9'/>
<id>urn:sha1:99c1fb8c661134e80df9e87e6c8fd5b4258293e9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update version numbers to 0.8</title>
<updated>2013-09-21T23:25:08+00:00</updated>
<author>
<name>Brian Anderson</name>
<email>banderson@mozilla.com</email>
</author>
<published>2013-09-21T23:25:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=695cb9fc2b1bb98a9affac3887806925f962c0aa'/>
<id>urn:sha1:695cb9fc2b1bb98a9affac3887806925f962c0aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reduce the amount of complexity in format!</title>
<updated>2013-09-15T08:09:00+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2013-09-13T02:36:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=cfe3db810b7991ef1144afaed4156ddc2586efef'/>
<id>urn:sha1:cfe3db810b7991ef1144afaed4156ddc2586efef</id>
<content type='text'>
This renames the syntax-extension file to format from ifmt, and it also reduces
the amount of complexity inside by defining all other macros in terms of
format_args!
</content>
</entry>
<entry>
<title>Remove oldvisit.rs (yay!); part of #7081 refactoring.</title>
<updated>2013-09-10T07:00:53+00:00</updated>
<author>
<name>Felix S. Klock II</name>
<email>pnkfelix@pnkfx.org</email>
</author>
<published>2013-09-10T07:00:53+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=8b00004871af8b573c88b22cb80c4a1f0316451b'/>
<id>urn:sha1:8b00004871af8b573c88b22cb80c4a1f0316451b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add initial support for a new formatting syntax</title>
<updated>2013-08-08T02:21:43+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2013-07-29T08:12:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ffb670ffcd69ed8e7cd13a7f06375ede752349e2'/>
<id>urn:sha1:ffb670ffcd69ed8e7cd13a7f06375ede752349e2</id>
<content type='text'>
The new macro is available under the name ifmt! (only an intermediate name)
</content>
</entry>
<entry>
<title>librustc: Introduce a new visitor type based on traits and port syntax to it.</title>
<updated>2013-08-03T04:57:58+00:00</updated>
<author>
<name>Patrick Walton</name>
<email>pcwalton@mimiga.net</email>
</author>
<published>2013-07-20T01:42:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=887c65697056b23be69b9b11f41637d07327626e'/>
<id>urn:sha1:887c65697056b23be69b9b11f41637d07327626e</id>
<content type='text'>
This is preparation for removing `@fn`.

This does *not* use default methods yet, because I don't know
whether they work. If they do, a forthcoming PR will use them.

This also changes the precedence of `as`.
</content>
</entry>
</feed>
