- 11 7月, 2011 3 次提交
-
-
由 Marijn Haverbeke 提交于
Closes #469.
-
由 Marijn Haverbeke 提交于
You can now say expr_move(?dst, ?src) | expr_assign(?dst, ?src) { ... } to match both expr_move and expr_assign. The names, types, and number of bound names have to match in all the patterns. Closes #449.
-
由 Jesse Ruderman 提交于
-
- 09 7月, 2011 2 次提交
-
-
由 Tim Chevalier 提交于
-
由 Lindsey Kuper 提交于
(Incidentally, what's the right way to test changes to the pretty-printer? There has to be a better way than what I did, which was to log_err the results of expr_to_str as exprs passed through trans and glance at the output.)
-
- 08 7月, 2011 2 次提交
-
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
- 07 7月, 2011 13 次提交
-
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Lindsey Kuper 提交于
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
由 Patrick Walton 提交于
-
- 06 7月, 2011 4 次提交
-
-
由 Marijn Haverbeke 提交于
(Possible now that a snapshot took place.)
-
由 Brian Anderson 提交于
This isn't useful for much of anything yet, since metadata::encoder doesn't know how to handle the non-string variants. Issue #611
-
由 Graydon Hoare 提交于
-
由 Brian Anderson 提交于
-
- 05 7月, 2011 3 次提交
-
-
由 Marijn Haverbeke 提交于
src/comp/syntax is currently just a sub-module of rustc, but it will, in the near future, be its own crate. This includes: - The AST data structure - The parser - The pretty-printer - Visit, walk, and fold - The syntax extension system - Some utility stuff that should be in the stdlib* *) Stdlib extensions currently require a snapshot before they can be used, and the win build is very broken right now. This is temporary and will be cleaned up when one of those problems goes away. A lot of code was moved by this patch, mostly towards a more organized layout. Some package paths did get longer, and I guess the new layout will take some getting used to. Sorry about that! Please try not to re-introduce any dependencies in syntax/ on any of the other src/comp/ subdirs.
-
由 Marijn Haverbeke 提交于
This way, the pretty-printer does not have to know about middle::ty. (This is a preparation for separating the AST functionality into a separate crate.)
-
由 Marijn Haverbeke 提交于
Just like it was done with items and exprs. Simplifies some code.
-
- 02 7月, 2011 1 次提交
-
-
由 Josh Matthews 提交于
-
- 01 7月, 2011 5 次提交
-
-
由 Marijn Haverbeke 提交于
Doing this: tag foo = mytype; is now equivalent to doing this: tag foo { foo(mytype); }
-
由 Marijn Haverbeke 提交于
-
由 Graydon Hoare 提交于
-
由 Graydon Hoare 提交于
Preserve hard \n\n pairs from source when pretty-printing, as explicit formatting control from users.
-
由 Brian Anderson 提交于
For mods that aren't defined at the file level we were forgetting to print the view items so, e.g. 'mod { use std; }' would not print correctly.
-
- 29 6月, 2011 5 次提交
-
-
由 Tim Chevalier 提交于
Implement "claim" (issue #14), which is a version of "check" that doesn't really do the check at runtime. It's an unsafe feature. The new flag --check-claims turns claims into checks automatically -- but it's off by default, so by default, the assertion in a claim doesn't execute at runtime.
-
由 Eric Holk 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
由 Brian Anderson 提交于
-
- 26 6月, 2011 1 次提交
-
-
由 Marijn Haverbeke 提交于
Non-copyability is not enforced yet, and something is still flaky with dropping of the internal value, so don't actually use them yet. I'm merging this in so that I don't have to keep merging against new patches.
-
- 24 6月, 2011 1 次提交
-
-
由 Brian Anderson 提交于
-