Graydon Hoare
|
e9f5a099df
|
Add an ignore! macro, remove support for nested block comments, re: #2755.
|
2012-09-07 16:58:36 -07:00 |
|
Brian Anderson
|
249668f223
|
Remove module keyword
|
2012-09-07 16:53:21 -07:00 |
|
Brian Anderson
|
f0eae8f1c1
|
Convert field terminators to commas. Stop parsing semis.
|
2012-09-07 16:12:15 -07:00 |
|
Brian Anderson
|
2572e80355
|
Remove 'let' syntax for struct fields
|
2012-09-07 14:02:33 -07:00 |
|
Patrick Walton
|
feb014eb3c
|
rustc: Add an "ne" method to the Eq trait, and implement it everywhere
|
2012-09-07 12:24:48 -07:00 |
|
Brian Anderson
|
b4e547d71a
|
Remove struct ctors
|
2012-09-06 10:52:26 -07:00 |
|
Brian Anderson
|
f7681f9236
|
Accept Copy, Send, Const, Owned, as kind bounds
|
2012-09-05 15:31:38 -07:00 |
|
Patrick Walton
|
e7fe903d88
|
libsyntax: Make "pub use" mean the same thing as the former "import" in all circumstances
|
2012-09-05 13:26:46 -07:00 |
|
Patrick Walton
|
fba673b26b
|
rustc: Implement private methods.
Doesn't work cross-crate yet.
|
2012-09-04 18:30:27 -07:00 |
|
Brian Anderson
|
200959d7ce
|
Remove 'with'
|
2012-09-04 15:47:04 -07:00 |
|
Brian Anderson
|
ab9cf45a7c
|
syntax: Remove 'of' and 'check' from keyword table
|
2012-09-04 15:43:46 -07:00 |
|
Brian Anderson
|
d3e75ea375
|
Parse 'loop' and 'again' the same
|
2012-09-04 13:37:11 -07:00 |
|
Patrick Walton
|
8ff18acc82
|
libsyntax: "import" -> "use"
|
2012-09-04 11:43:23 -07:00 |
|
Brian Anderson
|
7fb1a4e2d1
|
Camel case core::intrinsic
|
2012-09-02 15:19:52 -07:00 |
|
Brian Anderson
|
80c4f74c29
|
Remove the 'to' keyword
|
2012-09-01 18:38:18 -07:00 |
|
Tim Chevalier
|
4128cc4cb4
|
Make utility funs in core::int, core::uint, etc. not by-reference
Closes #3302
|
2012-08-31 16:21:47 -07:00 |
|
Patrick Walton
|
340a219290
|
libsyntax: Get "extern mod foo;" working in .rc files
|
2012-08-31 11:46:04 -07:00 |
|
Patrick Walton
|
6e7d5e1cbd
|
rustc: Implement "use mod"
|
2012-08-31 11:20:50 -07:00 |
|
Patrick Walton
|
4846affedb
|
rustc: "extern mod { ... }" should be written "extern { ... }" instead
|
2012-08-30 17:10:07 -07:00 |
|
Patrick Walton
|
96534365c2
|
rustc: Make < and = into traits
|
2012-08-29 18:25:22 -07:00 |
|
Brian Anderson
|
c0c8d3aa8f
|
core: Demode int/uint mods
|
2012-08-29 16:23:36 -07:00 |
|
Tim Chevalier
|
cb8ecd7984
|
Allow extern mods to be anonymous
extern mod {
f();
}
is now allowed, and puts f in the enclosing scope. (Requires a
link_name attribute to be really useful...)
|
2012-08-29 12:22:05 -07:00 |
|
Brian Anderson
|
161a82e433
|
Camel case various core constructors
|
2012-08-27 17:22:18 -07:00 |
|
Brian Anderson
|
0c6e470a25
|
Convert core::result to camel case
|
2012-08-27 14:37:04 -07:00 |
|
Brian Anderson
|
8337fa1a54
|
Camel case the option type
|
2012-08-26 15:56:16 -07:00 |
|
Patrick Walton
|
d77acf7d07
|
libsyntax: Accept ',' to separate struct fields. Closes #3263.
|
2012-08-25 16:06:35 -07:00 |
|
Patrick Walton
|
8ef4551904
|
rustc: Implement foreign constants.
This is needed for a lot of Apple libraries, as Apple tends to put a lot of
globals in dynamic libraries.
|
2012-08-25 15:09:33 -07:00 |
|
Tim Chevalier
|
5e22fb9c7f
|
Remove match check
|
2012-08-24 22:28:12 -07:00 |
|
Graydon Hoare
|
c284b8b1dc
|
Start using core::path2::Path in a lot of places.
|
2012-08-24 15:51:16 -07:00 |
|
Niko Matsakis
|
a8f1bee457
|
fix some unused pattern binding warnings
|
2012-08-24 15:37:21 -07:00 |
|
Paul Stansifer
|
aa024acae3
|
Use a faked-up function as a key, because functions aren't identical cross-crate in Windows.
|
2012-08-24 12:20:06 -07:00 |
|
Michael Sullivan
|
0f996f70a6
|
Remove purity from fn_decl and move it out to containing AST elements.
|
2012-08-23 19:40:01 -07:00 |
|
Niko Matsakis
|
a08f3a7d4d
|
More complete fix to #3162 (borrowck bug related to access to rec fields)
|
2012-08-23 18:54:08 -07:00 |
|
Paul Stansifer
|
89bbaff84f
|
m1!{...} is now forbidden. Use m1!(...) instead.
|
2012-08-23 11:14:15 -07:00 |
|
Paul Stansifer
|
c74a442e86
|
Eliminate some extraneous curly brackets inside invocations of macro_rules! .
|
2012-08-23 11:14:14 -07:00 |
|
Paul Stansifer
|
29f32b4a72
|
m1!{...} -> m1!(...)
|
2012-08-23 11:14:14 -07:00 |
|
Ben Blum
|
5b25fc918a
|
Parse and typecheck moving out of enums (#2329)
|
2012-08-22 20:40:25 -04:00 |
|
Tim Chevalier
|
0a5f88a240
|
Change the log level to be an enum rather than an int
This allows for eliminating a match check.
|
2012-08-22 16:14:39 -07:00 |
|
Paul Stansifer
|
1153b5dcc8
|
intern identifiers
|
2012-08-22 14:59:25 -07:00 |
|
Paul Stansifer
|
7317bf8792
|
pre-intern some fixed names so they can be used as constants
|
2012-08-22 14:59:24 -07:00 |
|
Paul Stansifer
|
9a7890d73a
|
Centralize ident interner generation.
|
2012-08-22 14:59:24 -07:00 |
|
Tim Chevalier
|
7284969292
|
Eliminate many match checks in rustc
|
2012-08-22 12:25:08 -07:00 |
|
Michael Sullivan
|
a65366d548
|
Parse explicit self in more places. Work on #2585.
|
2012-08-17 17:14:32 -07:00 |
|
Lindsey Kuper
|
eb834fdb81
|
Stop parsing iface .
|
2012-08-17 14:32:34 -07:00 |
|
Brian Anderson
|
3ab4b014cf
|
Remove the class keyword
|
2012-08-17 10:13:45 -07:00 |
|
Patrick Walton
|
2489baf82e
|
libsyntax: Fix parsing of "loop unsafe".
It was getting misparsed as a label.
|
2012-08-16 15:19:47 -07:00 |
|
Brian Anderson
|
af43613795
|
Long lines
|
2012-08-15 17:32:19 -07:00 |
|
Patrick Walton
|
a78030fbaa
|
libsyntax: Parse tuple and unit structs
|
2012-08-15 17:11:13 -07:00 |
|
Patrick Walton
|
6319c8fbc4
|
rustc: Fix long lines and trailing whitespace
|
2012-08-15 16:25:42 -07:00 |
|
Patrick Walton
|
3038968f28
|
rustc: Perform some AST surgery to separate out class fields from methods
|
2012-08-15 16:20:35 -07:00 |
|