rocky
|
3d8eb01c4c
|
_ifstmts_jump rule reduction in 3.x
|
2017-11-30 11:17:44 -05:00 |
|
rocky
|
6e19e922f8
|
Last commit introduced a bug
|
2017-11-30 10:41:50 -05:00 |
|
rocky
|
860d9b21f0
|
Isolate listcomp a little in Python 3 too
|
2017-11-30 10:36:00 -05:00 |
|
rocky
|
ac4d4d1da9
|
NT dictcomp -> dict_comp to match AST
|
2017-11-30 08:50:00 -05:00 |
|
rocky
|
0b284f8230
|
NT setcomp -> set_comp to match AST
|
2017-11-30 07:14:29 -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
|
6fee7fdfe3
|
Claan up 3.x custom MAKE_{FUNCTION,CLOSURE} rules
|
2017-11-29 21:09:50 -05:00 |
|
rocky
|
4ea1416fdd
|
Python 3.x reduction of listcomp with closures
|
2017-11-29 19:14:08 -05:00 |
|
rocky
|
c4bfe38ee0
|
Reduce 3.x rules, esp. listcomp
|
2017-11-29 19:03:11 -05:00 |
|
rocky
|
acb4ffb758
|
Better grammar coverage; reduce 3.x mklambda rules
|
2017-11-29 16:39:32 -05:00 |
|
rocky
|
11e2637eeb
|
NT augassign -> aug_assign to match AST
|
2017-11-29 10:51:38 -05:00 |
|
rocky
|
f2eaa09e96
|
Fix import and 3.x class bugs...
import x.y as z was failing across all Python versions
class decorators for Python 3.0..3.3 was failing
reduce 3.x while grammar rules
|
2017-11-29 06:59:05 -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
|
071207ce48
|
NT genexpr -> generate_exp to match AST
|
2017-11-28 17:53:33 -05:00 |
|
rocky
|
dded92b85d
|
Narrow unused classdefdeco2 rules
|
2017-11-28 12:49:37 -05:00 |
|
rocky
|
43076a2548
|
3.6 genexpr has changed
Fixes Issue #139
|
2017-11-28 06:57:15 -05:00 |
|
rocky
|
169e4681c3
|
Grammar isolation
|
2017-11-27 05:26:43 -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
|
dd329f9c03
|
Isolate build_set from build_list in Python 2...
More work is needed. Not done in Python 3 yet
|
2017-11-26 09:15:35 -05:00 |
|
rocky
|
566ef37ecc
|
back off of build_slice{2,3} ->slice{2,3}
There is another slice rule that interferes with this.
|
2017-11-25 21:49:03 -05:00 |
|
rocky
|
b7003914c9
|
localize 2 and 3 argument BUILD_SLICE...
Nontermninal name matches AST anme now. Add test.
|
2017-11-25 21:10:11 -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
|
494bbbdadb
|
Reduce 3.5 call_aysnc grammar rules
|
2017-11-23 16:23:49 -05:00 |
|
rocky
|
184f480bc8
|
Remove whileelselastsmt ...
Right now I don't know what it does and we don't have something that
needs it
|
2017-11-23 12:33:41 -05:00 |
|
rocky
|
1823513841
|
3.x Grammar reduction of custom rules...
by looking for token patterns GET_ITER CALL_FUNCTION_1
|
2017-11-23 07:47:38 -05:00 |
|
rocky
|
d8a3c2708e
|
Grammar coverage and pruning
|
2017-11-23 05:40:30 -05:00 |
|
rocky
|
d0644e08d7
|
Isotate conditionalnot
|
2017-11-22 19:38:02 -05:00 |
|
rocky
|
c0f0485754
|
Reduce unecessary grammar rules in 2.x
|
2017-11-22 13:06:05 -05:00 |
|
rocky
|
a8e235de17
|
3.3. grammar cleanup ...
need build_list in for BUILD_TUPLE_0
|
2017-11-18 11:02:54 -05:00 |
|
rocky
|
e116d7280c
|
custom rule hacking ...
Reduce extraneous 3.x "load_list" and "load_closure" rules
|
2017-11-17 12:06:14 -05:00 |
|
rocky
|
b7f8bee11f
|
Python 3 grammar clean up and reorganization
|
2017-11-17 07:16:24 -05:00 |
|
rocky
|
58ee49159e
|
More grammar isolation. narrow custom rules...
Specifically: _mklambda with load_closure is Python2 only
Add classdefdeco2 rule only when we have seen a LOAD_BUILD_CLASS
|
2017-11-17 00:51:03 -05:00 |
|
rocky
|
37108bc41c
|
More grammar cleanups
|
2017-11-16 12:01:18 -05:00 |
|
rocky
|
2f218fe9bf
|
More grammar isolation: assert2 in Python3
|
2017-11-16 11:20:35 -05:00 |
|
rocky
|
2a13851f55
|
Isolate "assert2" rule
|
2017-11-16 10:55:40 -05:00 |
|
rocky
|
ee6db130ec
|
grammar cleanup: dict/set comprehensions 2.7+
|
2017-11-15 09:38:48 -05:00 |
|
rocky
|
3a0f0557f7
|
Stronger 3.4 testing ...
parse3.py: remove unused grammar rule
|
2017-11-15 03:33:40 -05:00 |
|
rocky
|
9cfd7d669e
|
Get ready for release 2.13.0
|
2017-10-10 22:08:10 -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
|
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
|
c8d15e7654
|
spark-parser induced changes...
reduce rules can be called without token streams.
|
2017-10-02 03:09:28 -04:00 |
|
rocky
|
f73f0ba41c
|
No unicode in Python3.
but we need it in Python2. The bug was probably introduced
as a result of recent Python code type unteroperability canonicalization
|
2017-09-26 09:43:01 -04:00 |
|
rocky
|
114f979555
|
Pyton 3.1 Annotation args can be unicode?
|
2017-09-26 09:31:04 -04:00 |
|
rocky
|
5ca219f3d3
|
Remove hacky fragments try fixup...
hacky call_function code is also not needed or will be reinstated
properly. Better grammar structure for Python 3.6 call_function.
|
2017-06-06 21:58:47 -04:00 |
|
rocky
|
b733a1b036
|
BUILD_{MAP,TUPLE}_UNPACK & CALL_FUNCTION_EX_KW...
Bang on these in 3.6. Not totally succesfull right now.
In fact a regression on one of the test cases
|
2017-06-05 23:51:51 -04:00 |
|
rocky
|
eb92418224
|
Python 3.5 *args with kwargs handling.
3.5 is a snowflake here. Thank you, Python.
Fully fixes Issue 95.
3.6 is broken on this source, but for a *different* reason. Sigh.
|
2017-06-04 17:53:51 -04:00 |
|
rocky
|
d3794ec9af
|
More explicit about 3.5 UNMAP_PACK
Have to reduce 3.5 bytecode testing for now, code is more solid.
|
2017-05-20 07:40:59 -04:00 |
|