rocky
|
01ad91b519
|
Another 2.6 try parse bug
|
2018-03-06 18:19:01 -05:00 |
|
rocky
|
ccd42077c1
|
Better 2.6 tryifelse detection
|
2018-03-06 17:23:08 -05:00 |
|
rocky
|
ca3f822c81
|
More 2.6 while-loop control flow parsing
|
2018-03-06 13:16:22 -05:00 |
|
rocky
|
8278c72a6f
|
Python 2.6 while1 if/and handling
|
2018-03-06 09:39:13 -05:00 |
|
rocky
|
3b0a5aab16
|
2.6- CONTINUE/JUMP_BACK confusion workaroud
|
2018-03-06 00:29:34 -05:00 |
|
rocky
|
fac5d31f34
|
Adjust that 2.2-2.6 "while" may not have COME_FROM
|
2018-03-05 00:21:54 -05:00 |
|
rocky
|
d42858cae4
|
additional while1 grammar rules for 2.3-2.6
|
2018-03-05 00:03:33 -05:00 |
|
rocky
|
9e815d8d79
|
2.6 and before COME_FROM handling...
also, add in some of the test bytecode from the python-2.4 branch
|
2018-03-04 21:42:59 -05:00 |
|
rocky
|
30fbdff29c
|
More 2.4-2.6 try vs try/else determination
|
2018-02-22 20:14:52 -05:00 |
|
rocky
|
c6e20e4444
|
Fix whileelse bug
|
2018-01-11 21:52:33 -05:00 |
|
rocky
|
abcb769fdf
|
Fix 2.6- parsing of "for .. try/else" ...
with "continue" inside
|
2018-01-09 08:36:21 -05:00 |
|
rocky
|
fbda3ca695
|
try/else on 2.6 fixup
|
2018-01-07 21:24:35 -05:00 |
|
rocky
|
acdefb4f70
|
NT return_stmt -> return to match AST
|
2017-12-14 11:03:15 -05:00 |
|
rocky
|
f82edae5a1
|
add_custom_rules -> customize_grammar_rules
|
2017-12-13 17:25:19 -05:00 |
|
rocky
|
fcceda72db
|
Another ternary compare fix...
More is need in 2.6-
|
2017-12-12 17:10:40 -05:00 |
|
rocky
|
f0f91e838f
|
Reinstate needed 2.6 grammar rules...
removed from last commit .
|
2017-12-12 15:35:17 -05:00 |
|
rocky
|
733e0ebf9d
|
Fix 2.6- chained compare in lambda
|
2017-12-12 14:29:47 -05:00 |
|
rocky
|
832734ccb4
|
Fix 2.7 lambda with chained compare...
More work needs to be done for 2.6-
|
2017-12-12 13:13:30 -05:00 |
|
rocky
|
84b4ac1c51
|
NT "_for" -> "for_iter" reduces confusion w/ "for"
|
2017-12-12 12:41:44 -05:00 |
|
rocky
|
7daf95fcb4
|
NT break_stmt, continue_stmt -> break, continue...
to match AST
|
2017-12-06 01:48:44 -05:00 |
|
rocky
|
9d77b5a956
|
Bug in 2.6 tryelse rule
|
2017-12-05 08:31:13 -05:00 |
|
rocky
|
3425851dc7
|
Python 3.x needs conditional_not
|
2017-12-04 08:40:06 -05:00 |
|
rocky
|
c791a45aae
|
Handle a wierd 2.6 conditional false expression...
from 2.6. test_grammar
|
2017-12-03 19:56:14 -05:00 |
|
rocky
|
0df29f344e
|
Fix some really weird Python 2.6 constructs
From 2.6's test grammar.
|
2017-12-03 18:41:31 -05:00 |
|
rocky
|
5b916567fe
|
NT try-middle -> except-handler to match AST
|
2017-12-03 06:30:33 -05:00 |
|
rocky
|
32f3d947bb
|
Grammar "COME_FROM"_from cleanups ...
tryelse constructs in 2.x fixed up
_come_from -> _come_froms (COME_FROM*)
consolidate come_froms rule into sincle parser.py
|
2017-12-03 05:10:59 -05:00 |
|
rocky
|
eafb32b9a0
|
NT trystmt -> try_except to match AST
|
2017-12-02 22:20:45 -05:00 |
|
rocky
|
6d0f72f13b
|
Fix bug in 2.6 tryelse get test_grammar working...
localize grammar rules
|
2017-12-02 01:35:43 -05:00 |
|
rocky
|
fcdea73b4f
|
list_compr -> list_comp to match AST...
more Python 3 custom rule cleanup
|
2017-11-29 21:26:31 -05:00 |
|
rocky
|
43c3154a55
|
NT designatore -> store to match AST
|
2017-11-29 05:05:15 -05:00 |
|
rocky
|
071207ce48
|
NT genexpr -> generate_exp to match AST
|
2017-11-28 17:53:33 -05:00 |
|
rocky
|
bd4f2d086c
|
Python 2.5- grammar reduction
|
2017-11-27 12:39:33 -05:00 |
|
rocky
|
4afff131f4
|
2.6- grammar reduction
|
2017-11-27 11:21:05 -05:00 |
|
rocky
|
c66be4a858
|
Grammar hell
|
2017-11-27 07:15:28 -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
|
ad755b27a3
|
Isolaate kv, kv2 and kv3 better
|
2017-11-26 07:13:04 -05:00 |
|
rocky
|
79d729e9f9
|
remove comp_ifnot
|
2017-11-26 00:58:20 -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
|
e2a6c0435d
|
grammar reduction of while loops
|
2017-11-23 10:51:22 -05:00 |
|
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 |
|