Patrick Walton
|
a8d37af247
|
librustc: Make unqualified identifier searches terminate at the nearest module scope. r=tjc
|
2013-01-08 19:27:57 -08:00 |
|
Patrick Walton
|
e26ca35b08
|
librustc: Fix the test runner, the condition system, and core test. rs=bustage
|
2012-12-27 17:53:04 -08:00 |
|
Patrick Walton
|
57c599914a
|
librustc: Terminate name searches at the nearest module scope for paths that contain at least two components. r=graydon
|
2012-12-27 10:02:54 -08:00 |
|
Graydon Hoare
|
8e28f23c60
|
core: add macro_rules! for "condition! { c: in -> out; }".
|
2012-12-18 17:22:27 -08:00 |
|
Erick Tryzelaar
|
8650c6f683
|
Switch from serialization to std::serialize. (snapshot)
|
2012-12-17 20:00:36 -08:00 |
|
Graydon Hoare
|
9a4c669867
|
syntax: remove remaining #syntaxext machinery. Close #3516.
|
2012-12-12 17:08:09 -08:00 |
|
Graydon Hoare
|
e24ae85025
|
syntax: remove most code handling old-style syntax extensions.
|
2012-12-12 15:02:47 -08:00 |
|
Graydon Hoare
|
9cced55b93
|
syntax: remove all remaining uses of #ast, and #ast / qquote itself.
|
2012-12-12 15:02:47 -08:00 |
|
Brian Anderson
|
3fcdb7d6a7
|
Adjust the die macro to only accept ~str and to work in statement position
|
2012-12-10 18:16:22 -08:00 |
|
Graydon Hoare
|
a6fcfd726b
|
syntax: fix missing push in item macro expansion
|
2012-12-07 11:21:14 -08:00 |
|
Graydon Hoare
|
d45cb27901
|
syntax: point quote tokens at the site of quote-using-extension invocation.
|
2012-12-07 11:21:14 -08:00 |
|
Patrick Walton
|
b8cfd5c414
|
librustc: Long lines. rs=rustbot
|
2012-12-04 21:13:02 -08:00 |
|
Patrick Walton
|
56ece46f7d
|
librustc: Remove all legacy pattern bindings from libsyntax and librustc. rs=refactoring
|
2012-12-04 14:19:19 -08:00 |
|
Graydon Hoare
|
00c856c0b1
|
Update license, add license boilerplate to most files. Remainder will follow.
|
2012-12-03 17:12:14 -08:00 |
|
Patrick Walton
|
a0617eae68
|
librustc: Eliminate most expressions of the form a.b() that are not method calls. rs=refactoring
|
2012-11-29 17:51:56 -08:00 |
|
Paul Stansifer
|
7051d622c0
|
Properly sync macro_parser.rs after it escapes out to the Rust parser. Closes #3201.
|
2012-11-29 12:09:11 -08:00 |
|
Paul Stansifer
|
6174a30d7c
|
Respect semicolons always when expanding statments.
|
2012-11-29 12:09:11 -08:00 |
|
Paul Stansifer
|
0f707f42c8
|
Distinguish stmt_macs that are followed by semicolons and those that aren't.
|
2012-11-29 12:09:10 -08:00 |
|
Paul Stansifer
|
ba354b1726
|
Allow the expansion of old-style expr macros in stmt position.
|
2012-11-29 12:09:10 -08:00 |
|
Paul Stansifer
|
b7fcc9b52e
|
Use biased_match! to avoid over-deep indentation in expand.rs.
|
2012-11-29 12:09:10 -08:00 |
|
Paul Stansifer
|
cf26a7d7b9
|
Make it possible to expand stmt macros.
|
2012-11-29 12:09:10 -08:00 |
|
Paul Stansifer
|
fca52554e7
|
Make it possible to invoke item macros without passing identifier arguments.
|
2012-11-29 12:09:10 -08:00 |
|
Paul Stansifer
|
cafea5ecb6
|
Grammaticalinate an error message.
|
2012-11-29 12:09:10 -08:00 |
|
Paul Stansifer
|
9845a4be5a
|
Allow macro_rules! macros to expand to expressions or items.
|
2012-11-29 12:09:10 -08:00 |
|
Patrick Walton
|
07f4031bb4
|
libsyntax: Implement a macro die! to replace the fail expression. r=brson
|
2012-11-28 11:28:56 -08:00 |
|
Graydon Hoare
|
497a8b54b5
|
syntax: switch tt quoter to emit ~[tt], not tt.
|
2012-11-20 16:08:05 -08:00 |
|
Brian Anderson
|
9ecf86343a
|
Camel case all the codemap types except span
|
2012-11-14 15:18:26 -08:00 |
|
Brian Anderson
|
4c68084963
|
Convert most codemap types from records to structs
|
2012-11-12 16:21:39 -08:00 |
|
Tim Chevalier
|
22efa39382
|
Revert "Revert "Remove old auto_serialize2 code (needs snapshot)""
This reverts commit a33535e441.
|
2012-10-08 17:43:45 -07:00 |
|
Tim Chevalier
|
a33535e441
|
Revert "Remove old auto_serialize2 code (needs snapshot)"
This reverts commit 0bd6da8a8c.
|
2012-10-08 11:58:54 -07:00 |
|
Erick Tryzelaar
|
0bd6da8a8c
|
Remove old auto_serialize2 code (needs snapshot)
|
2012-10-07 17:20:19 -07:00 |
|
Erick Tryzelaar
|
e1c517ca48
|
migrate libsyntax/rustc to auto_serialize2
|
2012-10-07 10:32:25 -07:00 |
|
Niko Matsakis
|
21519bc7e0
|
demode vec
|
2012-09-28 13:27:45 -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 |
|
Brian Anderson
|
cb7a5395dd
|
Convert std::map to camel case
|
2012-09-10 17:08:36 -07:00 |
|
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
|
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 |
|
Erick Tryzelaar
|
65bd46c8a5
|
rustc: more pattern cleanup
|
2012-08-27 14:10:54 -07:00 |
|
Brian Anderson
|
8337fa1a54
|
Camel case the option type
|
2012-08-26 15:56:16 -07:00 |
|
Niko Matsakis
|
a8f1bee457
|
fix some unused pattern binding warnings
|
2012-08-24 15:37:21 -07:00 |
|
Paul Stansifer
|
29f32b4a72
|
m1!{...} -> m1!(...)
|
2012-08-23 11:14:14 -07:00 |
|
Paul Stansifer
|
1153b5dcc8
|
intern identifiers
|
2012-08-22 14:59:25 -07:00 |
|
Brian Anderson
|
ecaf9e39c9
|
Convert alt to match. Stop parsing alt
|
2012-08-06 15:36:30 -07:00 |
|
Brian Anderson
|
025d86624d
|
Switch alts to use arrows
|
2012-08-05 22:08:09 -07:00 |
|
Brian Anderson
|
b355936b4d
|
Convert ret to return
|
2012-08-01 19:16:06 -07:00 |
|
Brian Anderson
|
7b2026bf21
|
Introduce 'return', 'match' and 'module' as synonyms
|
2012-07-31 17:22:30 -07:00 |
|
Paul Stansifer
|
a9cc5066ee
|
Change syntax extension syntax: #m[...] -> m!{...}.
|
2012-07-30 18:38:15 -07:00 |
|
Paul Stansifer
|
a7125971c6
|
Rename #mod -> #module to not collide with the keyword.
|
2012-07-30 18:04:18 -07:00 |
|
Graydon Hoare
|
e11e90f31c
|
Make macro-system type and constructor names more uniform; more comments.
|
2012-07-27 19:14:46 -07:00 |
|