rocky
d8a3c2708e
Grammar coverage and pruning
2017-11-23 05:40:30 -05:00
rocky
b8f74c23f4
2.x Grammar reduction/isolation
2017-11-22 19:13:21 -05:00
rocky
53beae8ee6
Python 2.5 "with"; Isolate 2.5-2.6 grammar better
2017-11-16 09:26:23 -05:00
rocky
183a406bf1
More grammar cleanup
2017-11-16 00:32:34 -05:00
rocky
63a43d0c93
Profiling workarounds, more coverage ...
...
test/Makefile: more grammar checking. Update python versions
10_del.pyc add test of DEL_GLOBAL
check_ast.py, pysource.py: Profileing workarounds
2017-11-15 03:16:54 -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
85d68a7926
Merge branch 'master' of github.com:rocky/python-uncompyle6
2017-10-05 11:03:59 -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
9be9abc682
handle newer parser reduction behavior
2017-10-03 11:53:05 -04:00
rocky
d332bde104
Loops in Python 2.4-2.6 loop come_from
...
Looks like Python 2.4-2.6 may have a COME_FROM(_LOOP)
before the jump_back.
Fixes Issue #123
2017-07-05 06:12:14 -04:00
rocky
e1111e3f50
Python 2.6 a == b or c == d == 3 grammar bug
2017-02-28 09:18:36 -05:00
rocky
2fbbc728b1
Python 2.6 parsing bugs ..
...
and some parser list nonterminal cleanup
2017-02-25 04:45:10 -05:00
rocky
0a6c8ba909
Python 2.6 control flow bug with added COME_FROM
2017-02-24 21:29:28 -05:00
rocky
8ef5e5d12b
Marginally better for Python 2.6 but...
...
control flow is still wrong.
2017-02-19 08:12:15 -05:00
rocky
c43e734f37
2.x list_if may have a THEN in it
2016-12-31 05:28:37 -05:00
rocky
a92e6c9688
Bugs in Python 2.6- "and" and "lambda" handling ..
...
and clean up verify output
2016-12-28 04:54:11 -05:00
rocky
6c546fe6e1
WIP : Add THEN to disambigute from "and"
2016-12-27 22:45:08 -05:00
rocky
f1a947f106
lint .
2016-12-26 00:43:02 -05:00
rocky
e3f4beeb74
Lint
2016-12-24 07:45:02 -05:00
rocky
c7c0a98982
Python 2.5 mistaken try/else
2016-12-18 00:56:07 -05:00
rocky
d22931cb49
Get ready for release 2.9.7
...
Some of the many lint things. Linting is kind of stupid though.
2016-12-04 09:36:30 -05:00
rocky
cbcfd53dae
Python 2.6 grammary bug and..
...
__pkginfo.py__: Bump spark_parser version for parse_flags 'dups'
2016-11-23 21:44:53 -05:00
rocky
9e3026bd78
WIP Grammar changes - reinstatng COME_FROMs around ignore_if's
2016-11-15 23:44:22 -05:00
rocky
766451cbb9
WIP remove COME_FROMs around ignore_if's
2016-11-14 09:27:56 -05:00
rocky
a7ef513849
Python 2.6- _ifstmst_jump bug
2016-10-14 21:34:55 -04:00
rocky
5703ccd8b8
2.6 try statement (and below)
...
They may neeed arbitrary come_froms for each except clause
2016-10-13 19:37:38 -04:00
rocky
22dee55ff7
Python 2.1-2.6 bug in list comprehension
2016-10-08 19:51:57 -04: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
47a56d3387
Python 2.3--2.6 bug in parsing try-middle
...
Note: it looks like COME_FROMs need to be classified better
with respect to whether they are from an except or not
we are getting if/else vs except nesting errors.
2016-09-04 09:28:47 -04:00
rocky
f1bb40f485
Python 2.6- bug: RETURN_ENDIF, POP_TOP ..
...
POP_TOP should be excluded as a potentional statement beginning
2016-09-02 21:08:44 -04:00
rocky
1d567d5d9a
Handle Python 2.6 and below "except <cond>, <var>"
2016-09-01 02:20:07 -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
9fdf70f68d
Python 3.(4?) while1 bug
...
Clean up while1 grammar a tad
2016-07-11 10:18:18 -04:00
rocky
b640d42113
2.5/2.6 fn name clash
...
fixes list conprehension problem
2016-07-08 10:38:56 -04:00
rocky
6f5dce342f
Start going over Python 2.5 bytecode
...
Fix 2.6 with bug
2016-07-08 07:01:48 -04:00
rocky
13ae869267
<2.7 add a rare kind of list_for
2016-07-07 18:03:44 -04:00
rocky
06023c247d
while1 bug in 2.6 and 2.7
2016-07-07 13:08:00 -04:00
rocky
21314c1dad
<2.7 whileelse rule
2016-07-07 12:11:45 -04:00
rocky
8b305f78f4
2.6 POP_TOP and POP_JUMP_IF bugs
2016-07-07 07:03:20 -04:00
rocky
f865ecaa58
2.6.9 bug: multiple COME_FROMs via "or"/"assert"
2016-07-06 21:07:40 -04:00
rocky
14b4f8e2da
2.6.9 elif with multiple COME_FROMs
2016-07-06 20:56:29 -04:00
rocky
a34f1fcd7a
Merge branch 'master' of github.com:rocky/python-uncompyle6
...
Conflicts:
uncompyle6/parsers/parse26.py
2016-07-03 12:08:37 -04:00
rocky
974b11ff55
Another 2.6 while stmt. Clean up grammar a little
2016-07-03 10:50:19 -04:00
rocky
4d9d659cfa
2.6 improper tagging of RETURN_END_IF
2016-07-03 04:33:43 -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