about summary refs log tree commit diff
path: root/src/libsyntax/syntax.rs
AgeCommit message (Collapse)AuthorLines
2013-08-07Add initial support for a new formatting syntaxAlex Crichton-0/+1
The new macro is available under the name ifmt! (only an intermediate name)
2013-08-02librustc: Introduce a new visitor type based on traits and port syntax to it.Patrick Walton-0/+1
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`.
2013-08-02auto merge of #8188 : huonw/rust/cfg-macro, r=pcwaltonbors-0/+1
Example: if cfg!(test) { calculation_to_run_only_when_testing(); } Closes #8130.
2013-08-01Remove the pipes compilerBrian Anderson-2/+0
The pipes compiler produced data types that encoded efficient and safe bounded message passing protocols between two endpoints. It was also capable of producing unbounded protocols. It was useful research but was arguably done before its proper time. I am removing it for the following reasons: * In practice we used it only for producing the `oneshot` and `stream` unbounded protocols and all communication in Rust use those. * The interface between the proto! macro and the standard library has a large surface area and was difficult to maintain through language and library changes. * It is now written in an old dialect of Rust and generates code which would likely be considered non-idiomatic. * Both the compiler and the runtime are difficult to understand, and likewise the relationship between the generated code and the library is hard to understand. Debugging is difficult. * The new scheduler implements `stream` and `oneshot` by hand in a way that will be significantly easier to maintain. This shouldn't be taken as an indication that 'channel protocols' for Rust are not worth pursuing again in the future.
2013-08-01syntax: implement cfg!() which evaluates to true/false where #[cfg] would ↵Huon Wilson-0/+1
keep/remove. Example: if cfg!(test) { calculation_to_run_only_when_testing(); }
2013-07-27Remove unnecessary #[path = "***/mod.rs"] lines.OGINO Masanori-3/+0
Fixes #7922. Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>
2013-07-20rm obsolete no-op lintsDaniel Micay-2/+0
2013-07-14Allow non-uppercase-statics by defaultAlex Crichton-2/+0
I think of this as a stylistic opinion which shouldn't necessarily be enforced by default on all users of rust, but that's just my opinion.
2013-07-08Bump version numbers to 0.8-preBrian Anderson-1/+1
2013-07-01rustc: add a lint to enforce uppercase statics.Huon Wilson-0/+1
2013-06-30Bump version from 0.7-pre to 0.7Brian Anderson-1/+1
2013-06-25great renaming propagation: syntaxCorey Richardson-10/+1
2013-06-25Rename all files with the 'rc' extensionAlex Crichton-0/+99