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 |
|
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 |
|