rocky
8b74d8f855
Fix bug in handling 3.5- complex annotation return...
...
Go over runtests.sh for 3.5
2020-01-09 19:55:22 -05:00
rocky
7b76d55e55
Start to fold in 3.7 reduction-rule goodness into 3.6
2020-01-08 19:50:05 -05:00
rocky
13d9bcaaa9
Some reorg and Lame attempt to disasmbiguate "and" and "if .. if"...
...
More work is needed.
2020-01-08 10:31:19 -05:00
rocky
d088e7ef11
Better 3.x if/else reduction rule checking
2020-01-05 13:27:50 -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
9874553fb4
while1 rule adjustment for 3.0
2019-11-16 16:04:16 -05:00
rocky
04c2240d63
Python 3.0 if/else handling
2019-11-10 17:23:33 -05:00
rocky
96dcdfd744
Last change but closer...
2019-11-10 16:09:17 -05:00
rocky
82ea77c592
Python 3.0 bytecode decoding
2019-11-10 15:56:04 -05:00
rocky
09cc0d775a
Pypy 3.3 tolerance and ...
...
Remove some duplicate grammar rules
2019-11-10 13:34:51 -05:00
rocky
eed4c1025b
Pypy 3.6 tolerance
2019-10-30 11:44:04 -04:00
rocky
86c1d12e69
Pypy 3.6 tolerance
2019-10-29 18:12:06 -04:00
rocky
ebb0342b38
WIP pypy3.6 handling
2019-10-28 13:20:51 -04:00
rocky
5cb46c2ed3
Better simpler fragment fix...
...
remove hide_internal test. We changed the default and that's what
whas causing RETURN_LAST to not get included.
2019-10-12 17:55:52 -04:00
rocky
163e47fb49
Fragment fixes (and workarounds)
...
fragments.py: add more parent offsets. blacken buffer
parser3.py: additional grammar rules for fragment parser
Misc small typos and corrections
2019-10-12 12:22:27 -04:00
rocky
71735ca7ef
Note that CALL_METHOD is used in 3.7+
...
and not just Pypy anymore
2019-07-18 05:26:33 -04:00
R. Bernstein
0fe8961418
Merge pull request #269 from rocky/if-elif-else-more
...
If elif else more
2019-07-01 09:52:11 -04:00
x0ret
7b7f794913
Fix handling py3 annotation args + defparam comma issue
2019-07-01 01:28:32 +04:30
rocky
50e46531ce
Adjust 3.x grammar rules to include annotate args
2019-06-29 23:33:21 -04:00
rocky
999f1fb0f9
Mostly x0ret's while(1)/if fixes ..
...
plus a potential test
2019-06-29 07:01:45 -04:00
rocky
e26c7407a0
Small changes to document some of the complexity.
2019-06-23 20:00:00 -04:00
x0ret
e96498eaf0
Adjust ifelsestmtr grammer
2019-06-24 01:28:33 +04:30
rocky
d371839c99
A few more LOAD_CONST->LOAD_CODE
2019-06-19 15:38:58 -04:00
rocky
24afe072b7
LOAD_CONST -> LOAD_CODE where appropriate
2019-06-19 14:43:07 -04:00
rocky
e2d7f01298
Handle 2-arg asserts in 3.6+ish
...
Changed files have also been reformatted via the blacken formatter
2019-06-18 22:09:16 -04:00
rocky
719d2d7232
Correct order of pos vs kwargs in 3.0-3.2
2019-06-09 16:26:08 -04:00
rocky
c8fc6a704c
LOAD_CONST->LOAD_STR bugs and 3.4 kwargsonly
2019-06-09 02:18:21 -04:00
rocky
622d6f849c
Merge branch 'master' into string-const
2019-06-09 01:20:53 -04:00
rocky
86fd5dbf7a
3.3-3.4 pos kwargs ordering
2019-06-08 18:40:50 -04:00
rocky
117b4ff4f1
Add kwonly parsing.
...
* annotation parsing for kwonly args is missing.
* Start filling out runnable tests. More work is needed on tests.
* refresh incorrect bytecode_3.3_run/15_assert.pyc
2019-06-08 15:29:18 -04:00
rocky
44d7cbcf6f
LOAD_CONST->LOAD_STR for Python 3.x
2019-06-08 02:28:27 -04:00
rocky
af209dc142
Bug in 3.5+ generator detection...
...
Also bug in 3.5 code detection for async attribute
2019-06-05 19:08:21 -04:00
rocky
01cc184716
dict grammar rule cleanup
2019-05-21 15:09:40 -04:00
rocky
f2f17740ee
2.7 if_expr_true restriction ...
...
condition_true -> if_expr_true
condition_lambda -> if_expr_lambda
These correspond to the Python AST names better.
2019-05-05 16:09:10 -04:00
rocky
bc49469704
delete_subscr -> delete_subscript ...
...
to better (but not exactly) match the Python AST
2019-05-04 19:43:00 -04:00
rocky
ce7015f382
Improve 3.x while1 reduction elimination
2019-05-01 11:10:16 -04:00
rocky
7d9286b353
Get ready for release 3.3.1
2019-04-19 05:51:05 -04:00
rocky
0de99e5d44
Scale back "try" vs. "tryelse" reduction test on 3.6+
2019-04-18 16:45:44 -04:00
rocky
52af2ba32a
3.6+ lambda parameter handling
2019-04-18 14:21:52 -04:00
rocky
0c4ab699b5
3.4+ while handling with returns ...
...
these while loops don't have a JUMP_BACK in them
2019-04-15 12:03:11 -04:00
rocky
9b550b9dda
PEP E225 with a nod to Deepcommit
2019-04-14 06:11:16 -04:00
rocky
f3d86e0708
Bang on Python 3.8
2019-04-10 07:22:43 -04:00
rocky
dcad6cf6ce
Fix if return boundary in 3.6+
...
Fixes #209
2019-03-10 05:59:15 -04:00
rocky
a2321773d7
Fix Python 3.x try/else detection
...
Fixes #155
2019-01-01 22:50:28 -05:00
rocky
d443295df6
Check range of _come_froms on ifelsestmt reduction
...
Fixes #200
2018-12-31 08:39:08 -05:00
rocky
ec42ee540c
Small typos
2018-09-20 17:40:23 -04:00
rocky
616e5c82f6
Reinstat expr32 and expr1024 rules...
...
to speed up handling long literal lists. See also issue #188
Update issue forms to simplfy via putting instructions as comments.
2018-09-19 20:14:42 -04:00
rocky
19ec52eb63
Change AST to SyntaxTree in many places
2018-07-15 12:37:50 -04:00
rocky
41a50b5e46
Handle if not else in lambdas...
...
Fixes #170
2018-04-25 12:57:09 -04:00