Niko Matsakis
|
ed3689d57c
|
remove ctor from ast
|
2012-10-08 06:36:42 -07:00 |
|
Niko Matsakis
|
21519bc7e0
|
demode vec
|
2012-09-28 13:27:45 -07:00 |
|
Patrick Walton
|
0bcb3bc536
|
libsyntax: Parse visibility modifiers before foreign items
|
2012-09-27 12:48:09 -07:00 |
|
Brian Anderson
|
e8fe718bfd
|
core: Replace map/map_default with map_ref/map_default_ref
|
2012-09-26 20:15:23 -07:00 |
|
Niko Matsakis
|
67a8e7128a
|
Demode vec::push (and convert to method)
|
2012-09-26 18:02:07 -07:00 |
|
Graydon Hoare
|
9c6ae65865
|
Support visibility qualifiers in crate directives properly.
|
2012-09-24 17:29:32 -07:00 |
|
Brian Anderson
|
4a78f9b166
|
core: Demode option
|
2012-09-23 17:15:00 -07:00 |
|
Niko Matsakis
|
ba3eebd41d
|
Make it illegal to use modes in a fn signature with providing
an explicit variable name. (Step one to changing the defaults)
First step to #3535
|
2012-09-23 13:30:13 -05:00 |
|
Niko Matsakis
|
3d59ac3a19
|
De-mode vec::map, vec::eachi, vec::rev_each, vec::rev_eachi
|
2012-09-21 19:13:55 -07:00 |
|
Brian Anderson
|
f5be40384f
|
Revert "syntax: Make attributes sendable for rustdoc's benefit"
This reverts commit 90e3665fa7 .
|
2012-09-20 18:15:39 -07:00 |
|
Brian Anderson
|
90e3665fa7
|
syntax: Make attributes sendable for rustdoc's benefit
|
2012-09-20 17:37:21 -07:00 |
|
Tim Chevalier
|
53ce42dc4f
|
Implement &-patterns
Closes #2855
|
2012-09-07 17:09:07 -07:00 |
|
Brian Anderson
|
200959d7ce
|
Remove 'with'
|
2012-09-04 15:47:04 -07:00 |
|
Patrick Walton
|
8ff18acc82
|
libsyntax: "import" -> "use"
|
2012-09-04 11:43:23 -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
|
8337fa1a54
|
Camel case the option type
|
2012-08-26 15:56:16 -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 |
|
Niko Matsakis
|
a8f1bee457
|
fix some unused pattern binding warnings
|
2012-08-24 15:37:21 -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 |
|
Paul Stansifer
|
1153b5dcc8
|
intern identifiers
|
2012-08-22 14:59:25 -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 |
|
Patrick Walton
|
bdb206f285
|
rustc: Parse labeled loop, break, and again
|
2012-08-15 16:20:34 -07:00 |
|
Patrick Walton
|
5c9c9a6a9f
|
libsyntax: Parse common enum fields
|
2012-08-08 19:51:48 -07:00 |
|
Brian Anderson
|
6a0720b439
|
Convert impls to new syntax
|
2012-08-08 18:19:24 -07:00 |
|
Patrick Walton
|
4f98e80db1
|
rustc: Do some plumbing work in preparation for common fields in enums
|
2012-08-08 17:15:37 -07:00 |
|
Patrick Walton
|
f110e8f21c
|
rustc: Do some plumbing work on nested enums
|
2012-08-08 14:19:21 -07:00 |
|
Patrick Walton
|
5ce3281a62
|
rustc: Parse variant structs; add a trivial test case
|
2012-08-07 18:55:19 -07:00 |
|
Patrick Walton
|
438765da59
|
rustc: Box struct_defs
|
2012-08-07 17:46:51 -07:00 |
|
Patrick Walton
|
deaef48675
|
rustc: Split out struct bodies into a separate "struct_def" type in the AST
|
2012-08-07 15:35:05 -07:00 |
|
Patrick Walton
|
727c7c7499
|
rustc: Add stub support for struct variants to the AST
|
2012-08-07 14:25:53 -07:00 |
|
Brian Anderson
|
bc267c696c
|
syntax: Rename expr_alt to expr_match
|
2012-08-07 13:35:51 -07:00 |
|
Patrick Walton
|
60f47eabe2
|
rustc: Parse and stub (broken) typechecking for bounded function types
|
2012-08-06 18:55:24 -07:00 |
|
Patrick Walton
|
253dfc3387
|
rustc: Implement pattern matching for structs
|
2012-08-06 17:36:24 -07:00 |
|
Brian Anderson
|
ecaf9e39c9
|
Convert alt to match. Stop parsing alt
|
2012-08-06 15:36:30 -07:00 |
|
Patrick Walton
|
bff512a90f
|
rustc: Implement functional record update for structs
|
2012-08-06 13:17:42 -07:00 |
|
Brian Anderson
|
025d86624d
|
Switch alts to use arrows
|
2012-08-05 22:08:09 -07:00 |
|
Patrick Walton
|
e02b1b1ec8
|
rustc: Parse and typecheck repeating vector expressions; e.g. [ 0, ..512 ]
|
2012-08-03 18:03:19 -07:00 |
|
Patrick Walton
|
b65dd9d090
|
rustc: Parse, serialize, and deserialize trait inheritance
|
2012-08-03 15:02:53 -07:00 |
|
Niko Matsakis
|
31c5cec55b
|
Purge placement new; Make borrowck know about unary move.
cc #3071
|
2012-08-02 22:36:36 -07:00 |
|
Brian Anderson
|
b355936b4d
|
Convert ret to return
|
2012-08-01 19:16:06 -07:00 |
|
Patrick Walton
|
b414db041b
|
rustc: Parse by-reference pattern bindings with the "ref" keyword
|
2012-07-31 19:26:25 -07:00 |
|
Patrick Walton
|
c88933d714
|
rustc: Implement unary move. Closes #917.
|
2012-07-31 17:33:20 -07:00 |
|
Lindsey Kuper
|
439afaa329
|
Change remaining "iface" occurrences to "trait"; deprecate "iface"
|
2012-07-31 11:52:16 -07:00 |
|
Patrick Walton
|
51a06c15da
|
libsyntax: Parse self types in methods
|
2012-07-30 19:37:20 -07:00 |
|
Graydon Hoare
|
eabd233dcd
|
Start killing off obsolete/unused quoters, and fix long lines.
|
2012-07-27 18:06:24 -07:00 |
|
Patrick Walton
|
587b0edbbf
|
rustc: Don't require that structs have constructors
|
2012-07-24 15:29:51 -07:00 |
|
Patrick Walton
|
df4db83ed8
|
rustc: Max/min classes: Add struct literal syntax
|
2012-07-23 16:40:05 -07:00 |
|
Tim Chevalier
|
b5729bd600
|
Support attributes on class ctors and dtors
Closes #2660
|
2012-07-17 12:40:59 -07:00 |
|
Niko Matsakis
|
0e42004bab
|
introduce an owned kind for data that contains no borrowed ptrs
|
2012-07-16 20:18:18 -07:00 |
|