rocky
|
bc16cc93d6
|
More Python 3.0 parse errors
|
2018-06-23 13:31:16 -04:00 |
|
rocky
|
c148e49670
|
Python 3.0 chained comparisions
|
2018-06-23 07:38:34 -04:00 |
|
rocky
|
7fab91eb4e
|
Past fix of conditional_not bleed into 2.5...
and it shouldn't have
|
2018-05-19 13:00:44 -04:00 |
|
rocky
|
80b68af2d3
|
More 2.6 control flow logix futzing
|
2018-05-09 11:12:16 -04:00 |
|
rocky
|
f05b092983
|
"and" handling before 2.6 is different
|
2018-05-08 09:29:41 -04:00 |
|
rocky
|
76a66c3460
|
2.6 if-else-not handling...
For now, we say that conditional-not can't be in an "and".
|
2018-05-08 09:17:20 -04:00 |
|
rocky
|
269f4f2e1b
|
2.6, 2.7 Parse if else inside list comprehension
Fixes #171
|
2018-04-28 20:44:09 -04:00 |
|
rocky
|
41a50b5e46
|
Handle if not else in lambdas...
Fixes #170
|
2018-04-25 12:57:09 -04:00 |
|
rocky
|
9d807501af
|
Grammar reduction for 2.6/2.7,3.x
|
2018-03-27 17:02:03 -04:00 |
|
rocky
|
92d562e600
|
Need additional try vs try/else checks
|
2018-03-07 07:38:13 -05:00 |
|
rocky
|
c03cdf1a49
|
Last 2.6 while1 bug...
before all of 2.6.9 stdlib parses without error.
|
2018-03-06 18:52:27 -05:00 |
|
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 |
|