rocky
f1a98e94da
Grammar isolation
2017-11-27 06:38:00 -05:00
rocky
169e4681c3
Grammar isolation
2017-11-27 05:26:43 -05:00
rocky
c241b12308
Grammar isolation fixes
2017-11-27 05:16:08 -05:00
rocky
2674ec893a
Grammar reduction
2017-11-27 04:56:01 -05:00
rocky
2e6f2cac27
Remove some unused grammar rules
2017-11-26 19:43:37 -05:00
rocky
d72ee71368
localize Python2 ifelsetmtr, compare_chained: 2.7
2017-11-26 19:08:20 -05:00
rocky
17f5b35b1d
More grammar isolation
2017-11-26 16:34:10 -05:00
rocky
6db5c63307
More specific 2.7 dictcomp and setcomp rules
2017-11-26 15:06:45 -05:00
rocky
ad755b27a3
Isolaate kv, kv2 and kv3 better
2017-11-26 07:13:04 -05:00
rocky
43cea023c4
2.7 control-flow bug: except/pass in loop
2017-11-25 22:18:57 -05:00
rocky
85d65e25ba
cmp_list -> compare_chained ...
...
to better match the Python AST name Compare. Relates to Issue #29
2017-11-24 06:58:07 -05:00
rocky
184f480bc8
Remove whileelselastsmt ...
...
Right now I don't know what it does and we don't have something that
needs it
2017-11-23 12:33:41 -05:00
rocky
cddb55eb33
provisional 2.7 whileelselast rule
2017-11-23 11:45:24 -05:00
rocky
e2a6c0435d
grammar reduction of while loops
2017-11-23 10:51:22 -05:00
rocky
b8f74c23f4
2.x Grammar reduction/isolation
2017-11-22 19:13:21 -05:00
rocky
288516d8c2
Increase grammar coverage
2017-11-22 11:28:05 -05:00
rocky
183a406bf1
More grammar cleanup
2017-11-16 00:32:34 -05:00
rocky
c28f2f2e56
More 2.7/2.7- grammer separation & cleanup
2017-11-15 23:01:33 -05:00
rocky
f274ac0e3b
Grammar cleanup: separate some 2.7 from 2.7- rules
2017-11-15 21:04:06 -05:00
rocky
ee6db130ec
grammar cleanup: dict/set comprehensions 2.7+
2017-11-15 09:38:48 -05:00
rocky
adc9b99106
More spark-parser 2.7.0 compatabilithy changes
2017-10-10 15:11:08 -04:00
rocky
1392b18bd7
Adjust for spark-parser 2.7.0 incompatabilities
2017-10-10 14:14:26 -04:00
rocky
b3359439f9
if bug in lambda with ifelse
...
A synergy of Python's irregular lambda, its custom ifelse syntax and its
marvelous indentation regime. Fixes #130
2017-10-05 11:00:55 -04:00
rocky
4c2ca44818
Bug in 2.7 decompiling ourself!
...
Troublesome file was uncompyle6.semantics.pysource.engine()
2017-05-12 22:52:05 -04:00
rocky
29122340e6
Python 2.7 check jump targets of "and"
2017-02-28 00:15:39 -05:00
rocky
9ec312ba5e
More 2.6, 2.7 control-flow bugs
...
Wasn't limiting exception clause to try finally. Probably still has bugs
in try-finally nesting
Add another 2.6/2.7 COME_FROM to try to limit if/end scope better
2017-01-24 00:53:30 -05:00
rocky
e6761e13bb
Python flake8 crap
...
Was testing realgud's C-x!8 (goto flake8 warning/error)
2016-12-18 20:18:19 -05:00
rocky
abecb21671
2.7 grammar bug workaround. Fix docstring bug
2016-11-24 21:57:39 -05:00
rocky
260ddedbfd
More detailed COME_FROMs
...
For now we only add COME_FROM_FINALLY and COME_FROM_WITH
and even here only on 2.7
2016-11-22 19:42:26 -05:00
rocky
f8917aaf88
Remove redundant 2.7 (and 2.x) grammar rules
2016-11-22 17:31:36 -05:00
rocky
80df5dcc95
Back off a test.
...
That means bugs in 2.7 still not fixed. Sigh.
2016-11-20 11:37:19 -05:00
rocky
2bc316d6f0
more 2.7 control flow bug fixing
2016-11-20 06:55:08 -05:00
rocky
d271e886d9
Fix pytest grammar test failure
...
dict and set comprehensions are only in 2.7+
2016-09-22 01:32:00 -04:00
rocky
318311818e
Python 2.6- try/except control flow detection
2016-09-05 04:02:37 -04:00
rocky
e8ed17967c
Clean and check Python 2.6 grammar
2016-07-27 18:03:07 -04:00
rocky
3f7c4209d9
Start to segregate and clean up grammar
2016-07-27 17:35:21 -04:00
rocky
5ffd9b2be7
2.6 and 2.7 while1 grammar rule
...
Fixes issue #40
2016-07-27 13:19:42 -04:00
rocky
6c5bd6289f
More PyPy grammar rules
...
* assert one and two-arg form
* trystmt
Simplify adding multiple grammar rules
2016-07-26 10:21:12 -04:00
rocky
476eb50868
Handle PyPy JUMP_IF_NOT_DEBUG
...
Update README.rst to note PyPY and reorganize a little
2016-07-25 09:18:03 -04:00
rocky
7c4316d4fb
Start handling pypy 2.7
...
Need to understand whether we care compiling pypy.
Pypy 2.7 list comprehensions are different and use
its own opcode.
2016-07-21 02:58:50 -04:00
rocky
9fdf70f68d
Python 3.(4?) while1 bug
...
Clean up while1 grammar a tad
2016-07-11 10:18:18 -04:00
rocky
ac45e5757c
Redo Python 2.3 to be more like the rest
2016-07-09 09:11:04 -04:00
rocky
06023c247d
while1 bug in 2.6 and 2.7
2016-07-07 13:08:00 -04:00
rocky
974b11ff55
Another 2.6 while stmt. Clean up grammar a little
2016-07-03 10:50:19 -04:00
rocky
bec1524c5a
2.6.9 tryelsestmt
2016-07-02 22:53:58 -04:00
rocky
12d22c055f
Python 2.6 with as stmt
2016-07-02 22:24:28 -04:00
rocky
7772243ac7
CONTINUE handling in 2.6.9
2016-06-30 05:32:57 -04:00
rocky
d7f7748000
2.6.9 assert 2-arg bug
2016-06-29 22:28:52 -04:00
rocky
ae980e4f64
Base 2.5 off of 2.6. Some other small bugs.
2016-06-28 03:31:32 -04:00
rocky
fa84f4277a
WIP deal with JUMP_IF_{TRUE,FALSE} vs with POP version
2016-06-24 20:06:10 -04:00