rocky
|
f1496cad4d
|
3.0 return_if_stmt and...
* Some grammar cleanup
* add more grammar debugging
|
2019-11-16 17:32:48 -05:00 |
|
rocky
|
4e9d8783d1
|
Add Python 3.0.1 list_comp rule
|
2019-11-15 21:32:31 -05:00 |
|
rocky
|
7969b19c2b
|
Reinstate Generator rule accidentally removed...
I removed the rule when writing how issue #283 was fixed. What was
supposed to be a temporary change, I accidentally committed.
|
2019-08-24 08:05:50 -04:00 |
|
rocky
|
f8bfde4a8e
|
Get ready for release 3.4.0
|
2019-08-24 07:58:42 -04:00 |
|
rocky
|
388d1da970
|
Fixes #284 2nd problem...
while 1 bug for 2.6
|
2019-08-10 20:39:02 -04:00 |
|
rocky
|
66294d54f7
|
Comment what's up in last change.
|
2019-08-10 18:46:56 -04:00 |
|
rocky
|
55783c2712
|
Fixes #284
|
2019-08-08 21:48:12 -04:00 |
|
rocky
|
fd580f3c60
|
Python 2.6 generator rule with 'and' conditional
Fixes #283.
|
2019-08-05 10:36:08 -04:00 |
|
rocky
|
e26c7407a0
|
Small changes to document some of the complexity.
|
2019-06-23 20:00:00 -04:00 |
|
x0ret
|
e96498eaf0
|
Adjust ifelsestmtr grammer
|
2019-06-24 01:28:33 +04:30 |
|
rocky
|
f2f17740ee
|
2.7 if_expr_true restriction ...
condition_true -> if_expr_true
condition_lambda -> if_expr_lambda
These correspond to the Python AST names better.
|
2019-05-05 16:09:10 -04:00 |
|
rocky
|
8a4189bc0e
|
Python 2.6-2.7ish generator handling
|
2019-04-15 20:32:15 -04:00 |
|
rocky
|
7898fa157b
|
extend Python 2.6- lastc grammar-rule
Fixes #192
|
2018-10-05 12:37:16 -04:00 |
|
rocky
|
988efa3693
|
Had botched 2.6 grammar
|
2018-06-23 13:48:01 -04:00 |
|
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 |
|