Edwin Cheng
|
f66300ccd1
|
Remove skip Delimiter::None and handle Dollars
|
2019-04-13 01:50:05 +08:00 |
|
Edwin Cheng
|
2697ecaa64
|
Use SubtreeWalker instread of flatten TtToken
|
2019-04-08 15:58:02 +08:00 |
|
Edwin Cheng
|
a7254201df
|
Combine all tokensource to one and refactoring
|
2019-04-08 00:12:07 +08:00 |
|
Edwin Cheng
|
7f1e93a3c9
|
Refactoring subtree_source
|
2019-04-07 21:42:53 +08:00 |
|
Edwin Cheng
|
1d7735fbc6
|
Add path test and empty eat_path handling
|
2019-04-06 12:12:32 +08:00 |
|
Edwin Cheng
|
7abc06bd57
|
Add proper test for literals and fixed typo bug
|
2019-04-05 20:58:24 +08:00 |
|
Edwin Cheng
|
1ea0238e53
|
Add classify_literal and undo expose next_token
|
2019-04-05 18:45:19 +08:00 |
|
Edwin Cheng
|
1ab78d6056
|
Fix literal support in token tree to ast item list
|
2019-04-05 18:23:01 +08:00 |
|
Aleksey Kladov
|
7d6bd5d137
|
always show token text
|
2019-04-02 14:49:46 +03:00 |
|
Aleksey Kladov
|
182c05a96c
|
add name resolution from the old impl
unlike the old impl, this also handles macro imports across crates
|
2019-03-17 12:46:13 +03:00 |
|
Wilco Kusee
|
d149bb885b
|
Add parser unit tests
|
2019-03-03 12:45:30 +01:00 |
|
Wilco Kusee
|
725805dc79
|
Split parse and expand errors
|
2019-03-03 10:40:03 +01:00 |
|
Wilco Kusee
|
d3a252b559
|
Replace option with result in mbe
|
2019-03-02 20:30:13 +01:00 |
|
Aleksey Kladov
|
8cf156d85b
|
Add a test for macro parsing
|
2019-02-23 17:51:23 +03:00 |
|
Aleksey Kladov
|
8eac450f41
|
implement tt -> ast
|
2019-02-23 17:21:56 +03:00 |
|
Pascal Hertleif
|
4fd3613434
|
Fix some typos
|
2019-02-12 15:02:57 +01:00 |
|
Aleksey Kladov
|
0d34a256de
|
assign ids when converting tt
|
2019-02-11 21:12:06 +03:00 |
|
bors[bot]
|
77ccac74f9
|
Merge #790
790: make macro-rules eq r=matklad a=matklad
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
|
2019-02-11 16:24:39 +00:00 |
|
Aleksey Kladov
|
e7b370226c
|
make macro-rules eq
|
2019-02-11 19:19:23 +03:00 |
|
Aleksey Kladov
|
dc951098f6
|
typo
|
2019-02-11 19:09:53 +03:00 |
|
Aleksey Kladov
|
12e3b4c70b
|
reformat the world
|
2019-02-08 14:49:43 +03:00 |
|
Jeff Muizelaar
|
a4b473226b
|
mbe: Ensure repetition separator matches
|
2019-02-04 20:19:23 -05:00 |
|
Jeff Muizelaar
|
0000f00787
|
mbe: Add support matching for matching idents
|
2019-02-03 19:43:37 -05:00 |
|
Jeff Muizelaar
|
1997797adc
|
Factor out rules parsing
|
2019-02-03 19:43:35 -05:00 |
|
Jeff Muizelaar
|
dbc3074556
|
Make sure we match the entire pattern
|
2019-02-03 10:07:57 -05:00 |
|
Jeff Muizelaar
|
0bb8456e7d
|
Fill out test a little more
This factors out an assert_expansion function to make things
more managable.
|
2019-02-02 22:39:45 -05:00 |
|
Jeff Muizelaar
|
31d143ba18
|
Fix macro_rules separator parsing.
macro_rules rules are separated by ';' including an optional ';' at the
end
|
2019-02-02 22:39:13 -05:00 |
|
Aleksey Kladov
|
4c0ab7db85
|
explain the magic
|
2019-01-31 22:23:30 +02:00 |
|
Aleksey Kladov
|
b4b522fb39
|
cleanup the api
|
2019-01-31 22:23:30 +02:00 |
|
Aleksey Kladov
|
2d1f0b105d
|
move test
|
2019-01-31 22:23:30 +02:00 |
|
Aleksey Kladov
|
40feacdeb9
|
split macros across crates
|
2019-01-31 22:23:30 +02:00 |
|