rocky
5951f974d5
Fix 3.8 grammar rule bug: "for" with "if"/"return"
2020-01-23 06:07:34 -05:00
rocky
29715bb8bf
3.8 ifelsestmt grammar rule...
...
and remove optional "c_stmts" in 3.7 "ifelsesmt" rule. We may
have to come back and add something, but when we do we'll be more
careful and this is probably all for the better.
2020-01-22 22:50:27 -05:00
rocky
b84c89e817
Bang on getting 3.x "try" vs "try/else" disambiguated
2020-01-11 22:36:07 -05:00
rocky
09f232700e
Remove duplicate 3.8async rules
2019-12-14 21:32:00 -05:00
rocky
05f3dad32c
Fix some 3.7+ "if"/"and" logic bugs
2019-12-11 06:56:43 -05:00
rocky
fb3761e4f3
Add another 3.8 try/finally rule and semantic action
2019-12-10 22:28:16 -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
rocky
df5df9364c
Grammar debugging for 3.0, 3.7 and 3.8
2019-11-16 17:59:30 -05:00
rocky
f1496cad4d
3.0 return_if_stmt and...
...
* Some grammar cleanup
* add more grammar debugging
2019-11-16 17:32:48 -05:00
rocky
dba6d24361
3.8 for block without a POP_BLOCK ...
...
and confusing JUMP_BACK for CONTINUE. Expect more like this.
Fixes #293
2019-10-29 13:32:43 -04:00
rocky
05db6194ec
Use up right 3.x opcodes in jump detection...
...
A small but pervasive, and I guess important change. More correct COME_FROMs
are now coming out. A number of grammar changes then in 3.0, 3.5, and 3.8
2019-04-23 05:14:29 -04:00
rocky
f96522e18e
Add 3.8 try else
2019-04-14 19:01:33 -04:00
rocky
c5cfd36a61
Start 3.8 async for/else
2019-04-14 06:54:08 -04:00
rocky
400943bb6a
3.8 async for/with...
...
More is needed though.
2019-04-13 22:22:37 -04:00
rocky
f89ba40147
Adjust while True grammar rule
2019-04-13 20:46:13 -04:00
rocky
32c611a315
Adjust 3.8 while-stmt rules
2019-04-13 20:35:26 -04:00
rocky
5d91e96358
3.6-3.8 "async for" handling...
...
And add an if_stmt rule for 3.8. My want to extend it back to
other versions.
2019-04-13 18:31:40 -04:00
rocky
44edf1d7db
3.8 try/except handling - again (and more to come)
2019-04-12 03:20:13 -04:00
rocky
a891aa0706
More 3.8 try blocks
2019-04-11 16:42:28 -04:00
rocky
5e1340a2fc
3.8 exception handling
2019-04-11 12:09:24 -04:00
rocky
94eff282f8
3.8 try/except
2019-04-11 07:44:32 -04:00
rocky
726045a05e
Basic 3.8+ "for" loop handling...
...
More Makefile mangling
2019-04-10 11:26:58 -04:00
rocky
f3d86e0708
Bang on Python 3.8
2019-04-10 07:22:43 -04:00
rocky
820283827f
3.8 "for" block ...
...
pysource: Tag older semantics for blocks with "expr" and "for_block"
2019-04-10 06:00:16 -04:00
rocky
19a95be3ef
WIP - more 3.8 grammar stuff
2019-03-30 00:27:48 -04:00
rocky
82fb9426af
[WIP] - move forward a tad on Python 3.8
2019-03-28 12:10:08 -04:00