rocky
|
dad1b4780c
|
Fix bugs in 3.6 default parameter handling
Mentioned in Issue #139
|
2017-12-01 20:12:06 -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
|
278756be49
|
Administrivia and more coverage
|
2017-11-29 10:12:09 -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
|
3c8f38f8a6
|
More tests
|
2017-11-28 10:07:46 -05:00 |
|
rocky
|
43076a2548
|
3.6 genexpr has changed
Fixes Issue #139
|
2017-11-28 06:57:15 -05:00 |
|
rocky
|
4b4fce01f6
|
Add UNARY convert; improve 2.1 imports
|
2017-11-27 21:38:09 -05:00 |
|
rocky
|
2ac8a0c0a6
|
Mege hell
|
2017-11-27 19:45:24 -05:00 |
|
rocky
|
a5e3d01dd3
|
Work around grammar remove rule bug...
And reinstate source to a current 3.3 bug (which we don't detect).
But at least it is noted for future work.
|
2017-11-26 08:07:00 -05:00 |
|
rocky
|
43cea023c4
|
2.7 control-flow bug: except/pass in loop
|
2017-11-25 22:18:57 -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
|
f34c558d38
|
Handle inf, +inf, -nan, and nan constants
|
2017-11-24 15:30:05 -05:00 |
|
rocky
|
37b8e21c76
|
A couple more bugs found running 2.7 stdlib tests
|
2017-11-24 10:22:58 -05:00 |
|
rocky
|
0c386d2c39
|
Fix bug where lambda has a yield in it
|
2017-11-24 08:55:26 -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
|
0e54c37fab
|
Trystmt grammar from 3.3 needed in 3.2
Add test to cover this
|
2017-11-23 14:29:31 -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
|
b8f74c23f4
|
2.x Grammar reduction/isolation
|
2017-11-22 19:13:21 -05:00 |
|
rocky
|
288516d8c2
|
Increase grammar coverage
|
2017-11-22 11:28:05 -05:00 |
|
rocky
|
53beae8ee6
|
Python 2.5 "with"; Isolate 2.5-2.6 grammar better
|
2017-11-16 09:26:23 -05:00 |
|
rocky
|
953cf312db
|
Add BINARY_TRUE_DIVIDE tests for 2.{6,7}
|
2017-11-16 01:30:41 -05:00 |
|
rocky
|
63a43d0c93
|
Profiling workarounds, more coverage ...
test/Makefile: more grammar checking. Update python versions
10_del.pyc add test of DEL_GLOBAL
check_ast.py, pysource.py: Profileing workarounds
|
2017-11-15 03:16:54 -05:00 |
|
rocky
|
9ec43de039
|
bug in 3.x importlists
consts.py: add rule for importlists. imports weren't separated by ', '.
parser.py: Make importlist a list type of node.
test/* add test for importlist
|
2017-11-09 04:42:47 -05:00 |
|
rocky
|
b83d6c64ed
|
Python 3.6 control flow bug...
Much more is needed, but it's a start
|
2017-10-29 23:52:58 -04:00 |
|
rocky
|
b4426931ef
|
Address dead code in lambda ifelse
|
2017-10-10 19:05:16 -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
|
d332bde104
|
Loops in Python 2.4-2.6 loop come_from
Looks like Python 2.4-2.6 may have a COME_FROM(_LOOP)
before the jump_back.
Fixes Issue #123
|
2017-07-05 06:12:14 -04:00 |
|
rocky
|
9c072a6a42
|
3.x funciton and annotation bug fixes
|
2017-06-25 18:46:03 -04:00 |
|
rocky
|
844221cd43
|
Small changes.
fragment tag EXEC_STMT
|
2017-06-03 23:29:46 -04:00 |
|
rocky
|
2a47f0309f
|
Fix EXTENDED_ARG for long lists, sets, maps
|
2017-05-19 15:36:53 -04:00 |
|
rocky
|
47977b3372
|
Python 3.5 kw arg can be an expr
Fixes Issue #95
|
2017-05-14 11:46:15 -04:00 |
|
rocky
|
605721c995
|
Python 3.x control-flow bug...
"pass" statement inside "while True"
|
2017-05-07 09:10:05 -04:00 |
|
rocky
|
4a47822904
|
Fix more Python3.2 parser errors
|
2017-05-06 05:25:56 -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
|
84fd71b73b
|
Python 3.6 CALL_FUNCTION_EX first attempt
|
2017-04-25 07:31:01 -04:00 |
|
rocky
|
87db833f62
|
Add await expr
Fixes #111
|
2017-04-22 10:39:20 -04:00 |
|
rocky
|
e5008693a1
|
3.3+ bug in handling single kwarg after *
Towards fixing issue #110
|
2017-04-22 04:19:04 -04:00 |
|
rocky
|
810649799c
|
Add async for with pass statement
Fixes #109
|
2017-04-20 12:39:15 -04:00 |
|
rocky
|
d4be647bce
|
3.5 ifelsestmtl grammar bug.
Fixes #108
|
2017-04-19 05:08:48 -04:00 |
|
rocky
|
4a898ff4c1
|
Expand await stmt handling
Fixes #107
|
2017-04-18 01:51:23 -04:00 |
|
rocky
|
cb6925beec
|
Add DELETE_DEREF grammar rule
Fixes Issue #106
|
2017-04-18 01:35:08 -04:00 |
|
rocky
|
2665f292c5
|
Rename test case to something more appropriate
|
2017-04-17 05:43:50 -04:00 |
|
rocky
|
33be34c6fb
|
Fix botched test case
Thanks to Zm908 for pointing this out
|
2017-04-17 05:35:43 -04:00 |
|
rocky
|
3a8d4e1a12
|
Python 3.x ifelse in comprehension
Fixes Issue #91
|
2017-04-16 14:47:11 -04:00 |
|
rocky
|
5477ca294d
|
Correct bug in 3.5+ build_list with UNPACK
|
2017-04-15 22:34:56 -04:00 |
|
rocky
|
8a33a583cd
|
3.6 generates Wonky EXTENDED_ARG in expression
Fixes Issue #102
|
2017-04-15 18:31:39 -04:00 |
|