rocky
2b2e7d3242
Bump xdis and pyenv versions,
2020-03-16 16:44:34 -04:00
rocky
8495d208fb
3.7+ "async with" handling from decompyle3
2020-02-08 19:48:09 -05:00
rocky
e2504c2421
3.7 ifelstmtl reduction rule checking
2020-02-08 13:47:05 -05:00
rocky
278af38df6
conditional -> if_exp ...
...
to match Python IfExp AST
2020-02-07 16:17:47 -05:00
rocky
eeb48818f3
Largish rework: scan while1stmt for jump out ..
...
to disambiguate.
For this, we use the self.opc JUMP_OPS sets.
For this, we neeed to store opc in the parse object.
DRY uses of "last = min(last, len(tokens))
2020-01-23 13:02:29 -05:00
rocky
5f230fa177
Add 3.7 "testfalsel" for looping conditions
2020-01-14 18:41:39 -05:00
rocky
b84c89e817
Bang on getting 3.x "try" vs "try/else" disambiguated
2020-01-11 22:36:07 -05:00
rocky
eba8f04e29
DRY reducecheck code
2020-01-10 15:36:24 -05:00
rocky
505946d747
Add "testtrue" reduction rule...
...
only for 3.7 for now.
2020-01-10 10:26:40 -05:00
rocky
5fc54015e4
3.7+ or reduction rule again
2020-01-09 04:32:15 -05:00
rocky
199fb532bf
Move code from parse37base to reducechecks
2020-01-08 22:24:41 -05:00
rocky
6f6ef19e0a
Start splitting out reduction checks
2020-01-08 20:25:59 -05:00
rocky
7bd81efe9b
3.7+ "from import" vs "import as" disambiguation
2020-01-02 09:43:37 -05:00
rocky
6de57249ed
Start 3.6+ var type annotations and decompyle3 merge...
...
Although overall an improvement, some new breakage
has occurred and should be fixed.
2020-01-01 01:42:00 -05:00
rocky
868721595d
Fix grammar rule for "expr GET_ITER" in 3.1+
2019-12-23 11:52:27 -05:00
rocky
8f4343ef22
Fix bug 3.5+ in handling nested decorators
2019-12-21 22:57:59 -05:00
rocky
28d9e66a53
Redo the way we handle complex literals and 3.7+ bug fixes...
...
In 3.7+ remove assert_expr* parser rules
Fix "call" precidence in 3.7+ for it children
2019-12-19 06:40:13 -05:00
rocky
d39169dbda
Add 3.7 async listcomp
2019-12-16 00:14:16 -05:00
rocky
af9f6b05fa
Add 3.7 "async for" in generator
2019-12-15 21:18:37 -05:00
rocky
805ec7dbfc
Add "if_not_and" rule similar to "if_not_or" rule.
2019-12-13 05:15:21 -05:00
rocky
6f51f8910c
Add 3.7+ "and" grammar rule and limit "or" more
2019-12-11 12:32:32 -05:00
rocky
05f3dad32c
Fix some 3.7+ "if"/"and" logic bugs
2019-12-11 06:56:43 -05:00
rocky
c6ddefcef5
Merging in recent 3.7 and 3.8 improvements from decompyle6
...
This rebases 3.7, 3.8 ...decompilation off of 3.7ish rather than a 3.4
base.
Add more 3.7 and 3.8 tests
2019-12-08 17:54:59 -05:00