rocky
|
deea74b6a8
|
ret_expr -> return_expr
This matches Python's AST a little more closely
|
2022-01-03 21:56:07 -05:00 |
|
rocky
|
4796fb9e70
|
"or" rule regularization + regressions from xdis
|
2020-04-16 23:45:39 -04:00 |
|
rocky
|
a616e1e1c7
|
"withstmt" -> "with" and fix async for
|
2020-04-01 09:48:34 -04:00 |
|
rocky
|
cb35ad906c
|
One more if_exp use (ret_cond)
|
2020-02-07 16:34:48 -05:00 |
|
rocky
|
2987d6a72b
|
Go over some 3.0 and 3.1 tests
|
2019-11-18 22:46:27 -05:00 |
|
rocky
|
daa424cf0c
|
Some grammar cleanup based on coverage info
|
2019-11-17 01:01:52 -05:00 |
|
rocky
|
df5df9364c
|
Grammar debugging for 3.0, 3.7 and 3.8
|
2019-11-16 17:59:30 -05:00 |
|
rocky
|
f1496cad4d
|
3.0 return_if_stmt and...
* Some grammar cleanup
* add more grammar debugging
|
2019-11-16 17:32:48 -05:00 |
|
rocky
|
a3a15414d3
|
Add 3.0 whileTrue rule for recent CONTINUE change
|
2019-11-16 16:18:39 -05:00 |
|
rocky
|
d21d93fd84
|
Handle 3.0 call_stmt better
|
2019-11-16 15:21:59 -05:00 |
|
rocky
|
047e27c966
|
3.0 assert2...
Not like other 3.x due to the lack of POP_JUMP_IF
|
2019-11-16 09:10:14 -05:00 |
|
rocky
|
6a81a752a7
|
Adjust 3.0 iflastsmtl rule
|
2019-11-16 00:59:58 -05:00 |
|
rocky
|
44f0ba0efb
|
Add 3.0 try/except rule
|
2019-11-15 23:39:36 -05:00 |
|
rocky
|
4e9d8783d1
|
Add Python 3.0.1 list_comp rule
|
2019-11-15 21:32:31 -05:00 |
|
rocky
|
47c847644e
|
Modify 3.0 _ifstmts_jump rule
|
2019-11-15 19:23:08 -05:00 |
|
rocky
|
af2ed31871
|
Add 3.0 whilestmt rule
|
2019-11-15 15:14:33 -05:00 |
|
rocky
|
49de5b5c9d
|
add 3.0 iflaststmt rule
|
2019-11-15 14:07:37 -05:00 |
|
rocky
|
c8252ca9cb
|
3.0 import_from rule
|
2019-11-15 09:27:47 -05:00 |
|
rocky
|
0441fbc616
|
3.0.1 "ret_or", "ret_and", and "or" rules
|
2019-11-15 09:12:53 -05:00 |
|
rocky
|
1b4335edf1
|
Add 3.0.1 while loop rule
|
2019-11-15 07:48:23 -05:00 |
|
rocky
|
2e36551c02
|
Remove more 3.0 parse errors...
However this doesn't mean that some wrong rules still don't
kid in. We still have control-flow "if/and/else" vs "if/if/else" problems.
|
2019-11-14 18:32:52 -05:00 |
|
rocky
|
fff6f82dd7
|
expand 3.0 jump_except rule
|
2019-11-14 10:11:28 -05:00 |
|
rocky
|
7c8f3cc9ec
|
Two 3.0 rules ...
- ifstmtlastl
- ifnotstmt30
|
2019-11-14 03:57:41 -05:00 |
|
rocky
|
78a595c8cf
|
Bang on 3.0.1 control flow...
more word is needed though
|
2019-11-13 20:35:44 -05:00 |
|
rocky
|
065fd13b81
|
Small tweaks
|
2019-11-12 17:04:35 -05:00 |
|
rocky
|
659f37585b
|
Bug in 3.0 rule in "jump_absolute_else" ...
and disallowing "else" to the wrong place.
|
2019-11-12 16:31:43 -05:00 |
|
rocky
|
bc18fcf7fa
|
3.0 tweak in iflastsmtl reduction validation
|
2019-11-12 06:37:43 -05:00 |
|
rocky
|
144f52da8e
|
More 3.0 control flow pattern fixups
|
2019-11-12 06:08:30 -05:00 |
|
rocky
|
9f250b49ee
|
Cope more JUMP/POP_IF not being in 3.0...
more is probably needed though.
|
2019-11-11 19:58:35 -05:00 |
|
rocky
|
4abdffecb9
|
More 3.0 control-flow rules...
Much more is needed though
|
2019-11-11 19:07:58 -05:00 |
|
rocky
|
1419acf019
|
More Python 3.0 for JUMP elimination ...
here, in except blocks.
|
2019-11-11 13:50:48 -05:00 |
|
rocky
|
bdc24d7f51
|
Add 3.0 gen_comp_body rule.
|
2019-11-11 05:10:54 -05:00 |
|
rocky
|
07ec8fa1fb
|
More Python 3.0 custom "if" statment handling.
|
2019-11-10 18:44:43 -05:00 |
|
rocky
|
04c2240d63
|
Python 3.0 if/else handling
|
2019-11-10 17:23:33 -05:00 |
|
rocky
|
43dbf9b878
|
More 3.0 COME_FROMs
|
2019-04-23 19:31:27 -04:00 |
|
rocky
|
efa964f7c9
|
del handling in 3.0 and add tests
|
2019-04-23 19:12:12 -04:00 |
|
rocky
|
05db6194ec
|
Use up right 3.x opcodes in jump detection...
A small but pervasive, and I guess important change. More correct COME_FROMs
are now coming out. A number of grammar changes then in 3.0, 3.5, and 3.8
|
2019-04-23 05:14:29 -04:00 |
|
rocky
|
93e889e82a
|
Python 3.0 comprehensions are a snowflake
|
2018-06-24 16:46:56 -04:00 |
|
rocky
|
4cbd136635
|
Make Python 3.0 control flow more like 3.x
|
2018-06-24 12:56:43 -04:00 |
|
rocky
|
488a14488c
|
Python 3.0 compare-chained2 grammar rule
|
2018-06-24 11:19:10 -04:00 |
|
rocky
|
44321fcedf
|
Extend Python 3.0 "or" grammar rule
|
2018-06-24 11:07:37 -04:00 |
|
rocky
|
1e0a6d528e
|
Expand 3.0 while grammar rule
|
2018-06-24 07:42:36 -04:00 |
|
rocky
|
40fa379fd9
|
Add 3.0 comp_if_not grammar rule
|
2018-06-24 07:28:58 -04:00 |
|
rocky
|
34ec41f274
|
Improve 3.0 list comprehensions
|
2018-06-24 06:56:30 -04:00 |
|
rocky
|
3daf3732c3
|
Fix Python 3.0 "and" parse rule
|
2018-06-23 23:04:17 -04:00 |
|
rocky
|
bc16cc93d6
|
More Python 3.0 parse errors
|
2018-06-23 13:31:16 -04:00 |
|
rocky
|
8d1bd6d5b5
|
Fix one more Python 3.0 parse bug
|
2018-06-23 12:24:22 -04:00 |
|
rocky
|
c148e49670
|
Python 3.0 chained comparisions
|
2018-06-23 07:38:34 -04:00 |
|
rocky
|
fb31fe1f35
|
Another Python 3.0 (while) parse bug
|
2018-06-23 05:48:14 -04:00 |
|
rocky
|
fa5da2b1ef
|
Fix 3.0 try except bug
|
2018-06-23 00:06:35 -04:00 |
|