rocky
3c7d460036
Merge branch 'master' into python-2.4
2018-04-22 04:51:07 -04:00
rocky
cd62e54c88
Correct (3.7) use fof BUILD_MAP_UNPACK_WITH_CALL
2018-04-21 00:41:14 -04:00
rocky
27f67e6fca
Fix some 3.6/3.7 bugs
2018-04-19 10:00:40 -04:00
rocky
c481d97866
A more uniform way to track opcodes seen...
...
use a set rather than these boolean variables. Done in 3.x
only for now. May do more later..
2018-04-18 12:01:46 -04:00
rocky
75f3624f31
Merge branch 'master' into python-2.4
2018-04-01 13:48:16 -04:00
rocky
7d110f17bc
3.6 decompilation problems
2018-03-29 17:21:22 -04:00
rocky
94a81a36b7
3.5, 3.6 loop if/continue handling
2018-03-28 09:23:34 -04:00
rocky
d90c44b454
3.5+ handle then before "if" jump going to loop
2018-03-27 19:24:29 -04:00
rocky
661bfd4e52
Merge branch 'master' into python-2.4
2018-03-26 08:04:32 -04:00
rocky
cfb4ad625f
3.5 *() arg without further args
2018-03-25 22:24:32 -04:00
rocky
e92c2503d1
Merge branch 'master' into python-2.4
2018-02-15 07:31:11 -05:00
rocky
e431e49d77
Isolate Python 3.5 custom parse rules...
...
are isolated into parse35.py now and removed from parse3.py
This causes some code duplicated from parse3.py into parse3{5,6}.py
We will deal with that later.
2018-02-12 03:59:44 -05:00
rocky
c7dda72a84
Merge branch 'master' into python-2.4
2017-12-14 17:58:03 -05:00
rocky
acdefb4f70
NT return_stmt -> return to match AST
2017-12-14 11:03:15 -05:00
rocky
e47568e147
Merge branch 'master' into python-2.4
2017-12-14 08:40:43 -05:00
rocky
4cd4ad22b6
NT passtmt -> pass to match AST
2017-12-14 05:31:17 -05:00
rocky
9248a954bd
Merge branch 'master' into python-2.4
2017-12-13 17:43:44 -05:00
rocky
f82edae5a1
add_custom_rules -> customize_grammar_rules
2017-12-13 17:25:19 -05:00
rocky
204612ca85
Merge branch 'master' into python-2.4
2017-12-12 11:05:20 -05:00
rocky
41228a5ba9
DRY 3.{5,6} SETUP_WITH a little bit
2017-12-11 21:48:36 -05:00
rocky
b84c35acf5
DRY code; localize 3.{5,6} grammar rules..
...
helper.py, pysource: has code to flatten list used in n_list and n_build_tuple_unpack_with_call
parse3{5,6}.py: localize grammar rules with BEFORE_ASYNC_WITH
2017-12-11 21:26:58 -05:00
rocky
5264ffc0e5
Merge branch 'master' into python-2.4
2017-12-10 18:02:23 -05:00
rocky
c787c27901
Get ready for release 2.14.1
2017-12-10 17:41:58 -05:00
rocky
27b217a4ed
Merge branch 'master' into python-2.4
2017-12-09 04:53:21 -05:00
rocky
88fbb691d8
Fix 3.1 and 3.2 named and kwargs parsing..
...
Improve 3.4 coverage and note a 3.5 while bug
2017-12-07 16:47:56 -05:00
rocky
7d8c17cb93
grammar isolation and reduction
2017-12-07 12:27:22 -05:00
rocky
b6413b6e6e
Skirt around control-flow problems...
...
Tag some of the weaknesses if we can't address them now
2017-12-07 08:55:45 -05:00
rocky
0b9fca2263
Sync with master
2017-12-02 09:51:15 -05:00
rocky
a7005f6a77
2.7 exec stmt grammar rule isolation/reduction
2017-12-02 09:23:18 -05:00
rocky
ac819cd1b9
whileTrue grammar reduction
2017-12-02 07:53:19 -05:00
rocky
fc33a4a72d
Python 3.5 grammar reduction
2017-12-01 22:26:58 -05:00
rocky
ad822c02d8
opt_come_from_loop -> come_from_loops...
...
ANd remove unused rules associated with COME_FROM_FINALLY
2017-12-01 21:46:56 -05:00
rocky
41adcef8f8
Isolate unmap_dict rule in 3.5
2017-11-30 11:03:12 -05:00
rocky
ac4d4d1da9
NT dictcomp -> dict_comp to match AST
2017-11-30 08:50:00 -05:00
rocky
0d9464bb92
Merge branch 'master' into python-2.4
2017-11-29 05:09:22 -05:00
rocky
43c3154a55
NT designatore -> store to match AST
2017-11-29 05:05:15 -05:00
rocky
fb695616a6
NT call_function -> call to match AST
2017-11-28 22:13:23 -05:00
rocky
a279784d8d
Merge branch 'master' into python-2.4
2017-11-23 17:17:54 -05:00
rocky
a94b844988
Add triple compare from 3.3 into 3.2
2017-11-23 13:43:19 -05:00
rocky
77b93c5f21
Sync with master
2017-10-10 23:04:25 -04:00
rocky
9e0c65881d
Sync with master
2017-10-10 22:52:07 -04: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
d6c45979ba
Merge branch 'master' into python-2.4
2017-05-06 07:16:39 -04:00
rocky
246495febd
Bang more on BUIlD_MAP_UNPACK
...
there are still bugs. Note:
{**{'x': 1}, **{'y': 2}} and
{{'x': 1}, **{'y': 2}}
generate the same Python 3.5+ bytecode.
2017-05-02 21:55:41 -04:00
rocky
91b86ac156
BUILD_MAP_UNPACK'ing of dictionaries in 3.5
2017-05-02 05:51:48 -04:00
rocky
364827a2f2
Handle BUILD_MAP_UNPACK in a build_list
2017-04-29 21:44:52 -04:00
rocky
87db833f62
Add await expr
...
Fixes #111
2017-04-22 10:39:20 -04:00
rocky
810649799c
Add async for with pass statement
...
Fixes #109
2017-04-20 12:39:15 -04:00
rocky
4a898ff4c1
Expand await stmt handling
...
Fixes #107
2017-04-18 01:51:23 -04:00