Michael Sullivan
|
40fc1737b2
|
Get rid of places that expected foo.bar to implicitly bind.
|
2012-07-10 15:12:12 -07:00 |
|
Paul Stansifer
|
773e3df310
|
Fix some lookahead problems with ACTUALLY tokens.
|
2012-07-10 14:26:38 -07:00 |
|
Michael Sullivan
|
0070527383
|
Pretty print vectors as ~[] instead of []/~. Closes #2863.
|
2012-07-10 13:55:19 -07:00 |
|
Michael Sullivan
|
14f19bdee4
|
Don't pretty print unsafe pointers as carets, since #2826 is abandoned.
|
2012-07-10 13:39:56 -07:00 |
|
Graydon Hoare
|
172bf3a038
|
Back out recognition of caret for unsafe ptr. Decided to abandon #2826 mid way through.
|
2012-07-09 18:42:06 -07:00 |
|
Paul Stansifer
|
1bdcba3d74
|
'cont' -> 'again' in straggler code
|
2012-07-09 17:44:46 -07:00 |
|
Paul Stansifer
|
b1af6ac6f1
|
Make the matcher parser treat () in a matchy way, like one would expect.
|
2012-07-09 17:44:46 -07:00 |
|
Paul Stansifer
|
55e28f6689
|
Remove the tt macro demo.
|
2012-07-09 17:44:46 -07:00 |
|
Paul Stansifer
|
54741b9427
|
Allow defining token tree macros. They should work now!
|
2012-07-09 17:44:46 -07:00 |
|
Paul Stansifer
|
caa83b41bb
|
Add support for matchers nonterminals.
|
2012-07-09 17:44:46 -07:00 |
|
Paul Stansifer
|
cabee6391d
|
Enable item macros to define macros.
|
2012-07-09 17:44:46 -07:00 |
|
Paul Stansifer
|
579768baa5
|
Allow folds to drop items.
|
2012-07-09 17:44:46 -07:00 |
|
Patrick Walton
|
7d90edcb3b
|
rustc: Switch over to resolve3
|
2012-07-09 17:44:16 -07:00 |
|
Patrick Walton
|
ad673daa6c
|
Revert "rustc: Switch over to resolve3" due to Linux failures
This reverts commit 2c0aa257e293dde91042a8045100d9923d139a04.
|
2012-07-09 16:50:19 -07:00 |
|
Patrick Walton
|
2c0aa257e2
|
rustc: Switch over to resolve3
|
2012-07-09 16:29:25 -07:00 |
|
Brian Anderson
|
c5687e1bfb
|
syntax: Pretty-print view item attributes
|
2012-07-09 15:40:06 -07:00 |
|
Graydon Hoare
|
638036fe55
|
Remove 'cont' from parser/lexer.
|
2012-07-09 14:47:45 -07:00 |
|
Graydon Hoare
|
c26d02557e
|
Switch 'cont' to 'again' everywhere. Close #2229.
|
2012-07-09 14:37:48 -07:00 |
|
Patrick Walton
|
4d8113725d
|
rustc: Add some changes I missed
|
2012-07-09 11:05:48 -07:00 |
|
Patrick Walton
|
e41029d236
|
rustc: Switch to the new resolution pass
|
2012-07-09 10:27:13 -07:00 |
|
Niko Matsakis
|
a856bccdc6
|
Revert "rustc: Switch to the new resolution pass"
This reverts commit c4af6e92fbae171c56a4e68666025725555fc9d8.
Branch was burning...many, many unresolved imports.
|
2012-07-06 20:45:06 -07:00 |
|
Patrick Walton
|
c4af6e92fb
|
rustc: Switch to the new resolution pass
|
2012-07-06 19:07:26 -07:00 |
|
Graydon Hoare
|
6b8ebc12db
|
First step on #2826, accept ^ for ty_ptr.
|
2012-07-06 16:03:51 -07:00 |
|
Graydon Hoare
|
ceac155211
|
For #2229, recognize 'again' in place of 'cont', final change pending snapshot.
|
2012-07-06 15:46:39 -07:00 |
|
Eric Holk
|
7b03832c95
|
Updating tests to use pipes.
|
2012-07-06 10:42:41 -07:00 |
|
Eric Holk
|
fa4134611d
|
Fixing an infinite type, updating code to match new Early parser, remembering to add protocol parser.
|
2012-07-06 10:42:40 -07:00 |
|
Eric Holk
|
6806aa0e66
|
pingpong protocol parses, although I should probably rewrite this to use Paul's Early parser stuff.
|
2012-07-06 10:42:40 -07:00 |
|
Eric Holk
|
84434bc084
|
Recursively expand items, and keep expansion stack, per Paul's code review comments.
|
2012-07-06 10:42:40 -07:00 |
|
Eric Holk
|
d09bcc0131
|
Adding token tree nonterminals to earley parser.
|
2012-07-06 10:42:40 -07:00 |
|
Eric Holk
|
f0ef4ef81b
|
You can have any protocol you want, provided it's pingpong.
This integrates the pipe compiler into the proto syntax extension.
|
2012-07-06 10:42:40 -07:00 |
|
Eric Holk
|
05cdda3a2c
|
Plumbing and parsing for item-position macros.
|
2012-07-06 10:42:40 -07:00 |
|
Paul Stansifer
|
a8112f3b34
|
Allow soft failure of the macro parser.
|
2012-07-05 18:09:31 -07:00 |
|
Paul Stansifer
|
7f9b1fbe35
|
Add new syntax for interpolation and repetition, and allow the transcription of separators.
|
2012-07-05 18:09:31 -07:00 |
|
Paul Stansifer
|
62db5706e6
|
Start letting the parser catch interpolated ASTs.
|
2012-07-05 18:09:31 -07:00 |
|
Paul Stansifer
|
f940653720
|
Update the new macro demo.
|
2012-07-05 18:09:31 -07:00 |
|
Paul Stansifer
|
0c6fe6470e
|
Macro By Example transcription of token trees with interpolations and dotdotdots.
|
2012-07-05 18:09:31 -07:00 |
|
Paul Stansifer
|
f4fb975e4e
|
Store some span information for stride mismatches errors in MBE TT macros.
|
2012-07-05 18:09:31 -07:00 |
|
Paul Stansifer
|
534270551e
|
Move earley_parser.rs to a more appropriate place
|
2012-07-05 18:09:31 -07:00 |
|
Paul Stansifer
|
39590d81f0
|
Some rearranging in perparation for MBE-style TT transcription.
|
2012-07-05 18:09:31 -07:00 |
|
Paul Stansifer
|
74c2266a06
|
Document matchers a little better.
|
2012-07-05 18:09:31 -07:00 |
|
Tim Chevalier
|
663b3fc89c
|
Uncomment destructor in parser now that dtors work
Although this one is just a hack to make a class non-copyable.
(Do we want syntax for that instead?)
|
2012-07-05 16:11:51 -07:00 |
|
Tim Chevalier
|
889be71cb4
|
Comments only: change TODOs to FIXMEs and annotate them
|
2012-07-05 16:10:29 -07:00 |
|
Tim Chevalier
|
50d2e7e07e
|
Mostly change TODOs to FIXMEs and annotate them
But, one change in io to implement a TODO suggestion (using a
const u8)
|
2012-07-05 15:06:33 -07:00 |
|
Lindsey Kuper
|
33334f3c43
|
Change 'iface' to 'trait' internally; parse trait as iface synonym
|
2012-07-05 11:01:43 -07:00 |
|
Gareth Daniel Smith
|
be0141666d
|
convert doc-attributes to doc-comments using ./src/etc/sugarise-doc-comments.py (and manually tweaking) - for issue #2498
|
2012-07-04 19:18:13 -07:00 |
|
Patrick Walton
|
277f06dbb8
|
syntax: Add native module names correctly when building up the paths in the AST map
|
2012-07-03 18:32:47 -07:00 |
|
Brian Anderson
|
ae6ea068a1
|
Revert "Remove rule requiring non-nil block-style statements to be semi-terminated"
This reverts commit 0f5eaef5fb2443acd3ea67250c953839c3d04d38.
|
2012-07-03 17:30:25 -07:00 |
|
Brian Anderson
|
0f5eaef5fb
|
Remove rule requiring non-nil block-style statements to be semi-terminated
This is a subtle rule that no longer seems to be required.
|
2012-07-03 17:03:52 -07:00 |
|
Graydon Hoare
|
3f59a4bc64
|
More work on #2082, remove parser/lexer support for 'crust' and 'native'.
|
2012-07-03 16:49:46 -07:00 |
|
Graydon Hoare
|
be2c92078b
|
Change crust -> extern.
|
2012-07-03 16:49:46 -07:00 |
|