David Tolnay
|
6897bc256b
|
Include benches and tests in published crate
Gitignore rules apply, so tests/rust/... will not be included.
|
2019-06-27 09:08:19 -07:00 |
|
David Tolnay
|
2e918f9548
|
Print benchmark file count
|
2019-06-27 02:18:09 -07:00 |
|
David Tolnay
|
9c82f0ab83
|
Add baseline benchmark that traverses repo without parsing
|
2019-06-27 02:17:03 -07:00 |
|
David Tolnay
|
2fcafba0e6
|
Print lines of code in rust repo benchmark
|
2019-06-27 01:58:57 -07:00 |
|
David Tolnay
|
fa15450b37
|
Adjust codegen's parse of Token macro
|
2019-06-27 00:22:25 -07:00 |
|
David Tolnay
|
1523cd7c1a
|
Explain special treatment for Dollar rule
|
2019-06-26 23:54:25 -07:00 |
|
David Tolnay
|
5d00016dfb
|
Deduplicate Token macro rules
|
2019-06-26 23:53:52 -07:00 |
|
David Tolnay
|
2ec2652f9d
|
Deduplicate Token macro documentation
|
2019-06-26 23:42:09 -07:00 |
|
David Tolnay
|
3204aefcd6
|
Merge pull request #655 from jix/token-dollar
Support `Token![$]` for `token::Dollar` as documented
|
2019-06-26 23:26:05 -07:00 |
|
David Tolnay
|
3f4c295e83
|
Use newly working Token![$] in codegen code
|
2019-06-26 23:14:20 -07:00 |
|
David Tolnay
|
65880167fc
|
Merge pull request #658 from dtolnay/mac
Methods to parse macro body
|
2019-06-26 23:06:32 -07:00 |
|
David Tolnay
|
d639f61b0e
|
Methods to parse macro body
|
2019-06-26 11:57:08 -07:00 |
|
Jannis Harder
|
2ccec118ce
|
Support Token![$] for token::Dollar as documented
|
2019-06-26 10:11:18 +02:00 |
|
David Tolnay
|
b4887396ce
|
Update test suite to nightly-2019-06-25
|
2019-06-25 09:58:57 -07:00 |
|
David Tolnay
|
1bea41f68c
|
Format with rustfmt 2019-06-09
|
2019-06-25 09:58:09 -07:00 |
|
David Tolnay
|
c992d703a9
|
Update test suite to nightly-2019-06-24
|
2019-06-23 18:48:23 -07:00 |
|
David Tolnay
|
da0681af7c
|
Avoid reparsing item attrs twice
|
2019-06-23 18:14:34 -07:00 |
|
David Tolnay
|
e2a818aafc
|
Add a benchmark of TokenStream to File
|
2019-06-23 18:06:42 -07:00 |
|
David Tolnay
|
3e22c0ba82
|
Make note of forks that can be optimized
|
2019-06-23 16:58:38 -07:00 |
|
David Tolnay
|
a6995ba736
|
Add benchmark of parsing whole rust repo
On my machine:
tokenstream_parse: elapsed=1.453s
syn_parse: elapsed=4.632s
libsyntax_parse: elapsed=2.039s
|
2019-06-23 16:45:06 -07:00 |
|
David Tolnay
|
fb8255e144
|
Format with rustfmt 2019-06-09
|
2019-06-23 15:51:45 -07:00 |
|
David Tolnay
|
3f2487b997
|
Work around Ident::peek_any on old compilers
|
2019-06-23 15:25:05 -07:00 |
|
David Tolnay
|
1139c5e920
|
Release 0.15.38
|
2019-06-23 14:22:46 -07:00 |
|
David Tolnay
|
9ed5db9c28
|
Eliminate fork in parsing Meta
|
2019-06-23 14:16:38 -07:00 |
|
David Tolnay
|
34506d93ab
|
Clarify role of Speculative in fork documentation
|
2019-06-23 14:13:54 -07:00 |
|
David Tolnay
|
eb2c214cea
|
Remove consecutive blank lines in advance_to example code
|
2019-06-23 14:08:30 -07:00 |
|
David Tolnay
|
fa033fa386
|
Wrap advance_to doc to 80 columns
|
2019-06-23 14:07:36 -07:00 |
|
David Tolnay
|
c9493ba64c
|
Format rfc link without #
|
2019-06-23 14:06:30 -07:00 |
|
David Tolnay
|
8762852173
|
Adjust wording of advance_to panic documentation
|
2019-06-23 14:06:08 -07:00 |
|
David Tolnay
|
9f7b18ae89
|
Document performance of advance_to
|
2019-06-23 14:00:59 -07:00 |
|
David Tolnay
|
b1582aafa6
|
Merge pull request #649 from CAD97/unfork
Add `<ParseBuffer as Speculative>::advance_to`, the opposite of `fork`
|
2019-06-23 13:49:07 -07:00 |
|
David Tolnay
|
6db0f2af03
|
Use cursor scope ptr to determine cursor provenance
|
2019-06-23 13:37:39 -07:00 |
|
David Tolnay
|
3f1e35f3a6
|
Test smuggle between sources without unsafe
|
2019-06-23 13:15:34 -07:00 |
|
David Tolnay
|
5368954fdb
|
Format with rustfmt 2019-06-09
|
2019-06-23 13:15:29 -07:00 |
|
David Tolnay
|
8f31583339
|
Release 0.15.37
|
2019-06-22 00:29:31 -07:00 |
|
David Tolnay
|
f7ec9c069a
|
Merge pull request #652 from jebrosen/inclusive-range
Emit `..=` instead of `...` for inclusive range syntax in patterns.
|
2019-06-21 23:59:22 -07:00 |
|
David Tolnay
|
483c54d453
|
Format with rustfmt 2019-06-09
|
2019-06-21 10:35:12 -07:00 |
|
David Tolnay
|
9e86f71f01
|
Update test suite to nightly-2019-06-20
|
2019-06-21 10:34:36 -07:00 |
|
David Tolnay
|
5f929c75ce
|
Clippy const_static_lifetime lint has been renamed
|
2019-06-21 10:33:12 -07:00 |
|
Jeb Rosen
|
918e8dee43
|
Emit ..= instead of ... for inclusive range syntax in patterns.
|
2019-06-19 18:42:47 -07:00 |
|
cad97
|
0f72ec2f1a
|
Add speculative smuggling test into bracket context
|
2019-06-18 19:00:23 -04:00 |
|
cad97
|
48e2916886
|
Add speculative smuggling test between bracket contexts
|
2019-06-18 17:56:22 -04:00 |
|
cad97
|
810c8901ef
|
Add drawbacks section to advance_to doc
|
2019-06-18 17:39:32 -04:00 |
|
David Tolnay
|
b9e2303c60
|
Make life easier for syn_codegen
|
2019-06-18 16:59:33 -04:00 |
|
cad97
|
89bb945aec
|
Add Speculative::advance_to for speculative parsing
|
2019-06-18 16:59:13 -04:00 |
|
David Tolnay
|
2cf48740ca
|
Release 0.15.36
|
2019-06-13 22:47:49 -07:00 |
|
David Tolnay
|
602780f244
|
Merge pull request #648 from samsartor/master
Loosen group lifetimes
|
2019-06-13 22:45:50 -07:00 |
|
Sam Sartor
|
b7050ef47b
|
loosen group lifetimes
|
2019-06-13 11:04:30 -06:00 |
|
David Tolnay
|
0925af292e
|
Update test suite to nightly-2019-06-13
|
2019-06-12 23:05:52 -07:00 |
|
David Tolnay
|
b72388c027
|
Apply async unsafe swap in generated code
|
2019-06-09 02:40:35 -07:00 |
|