rocky
dfdd5c6c1c
NT build_list -> list to match AST
2017-12-01 03:55:31 -05:00
rocky
01b5ed2304
NT mapexpr -> dict to match AST
2017-11-30 15:59:15 -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
34117522b2
NT importstmt -> import to match AST
2017-11-29 20:20:54 -05:00
rocky
11e2637eeb
NT augassign -> aug_assign to match AST
2017-11-29 10:51:38 -05:00
rocky
43c3154a55
NT designatore -> store to match AST
2017-11-29 05:05:15 -05:00
rocky
c81b4df8b7
NT binary_subscr -> subscript to match AST
2017-11-29 00:08:08 -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
37b8e21c76
A couple more bugs found running 2.7 stdlib tests
2017-11-24 10:22:58 -05:00
rocky
be5efe3e56
cmp -> compare ...
...
to better match the Python AST name Compare.
This forces us to change compare -> compare_single
Relates to Issue #29
2017-11-24 07:15:37 -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
d18a353381
Tag %c nonterminals in more template rules
2017-11-16 11:31:18 -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
1761ba2581
Tag more semantic actions with nonterminals
2017-10-13 15:43:41 -04:00
rocky
03d1c48088
More node checking in tables
2017-10-13 11:35:17 -04:00
rocky
9dd881fae1
Start allowing node names in template engine
...
These are now used to assert we have the right node type.
Simplify import_from
2017-10-13 11:16:58 -04:00
rocky
9cfd7d669e
Get ready for release 2.13.0
2017-10-10 22:08:10 -04:00
rocky
b4426931ef
Address dead code in lambda ifelse
2017-10-10 19:05:16 -04:00
rocky
adc9b99106
More spark-parser 2.7.0 compatabilithy changes
2017-10-10 15:11:08 -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
aadea7224d
Unit test for format-specifiers
...
And in the process we catch some small bugs
2017-09-21 11:25:51 -04:00
rocky
96ca68a6fe
Tidy/regularize table entry formatting
2017-09-20 17:47:56 -04:00
rocky
d7b12f4da1
More small doc changes
2017-09-20 02:49:14 -04:00
rocky
8393064136
Get ready for release 2.11.3
...
need xdis 3.5.1 for now. Adjust for xdis "is-not" which we need as "is not"
2017-08-09 22:09:31 -04:00
rocky
8cdaac93ab
Add if1else. Fixes #101
2017-04-13 21:27:22 -04:00
rocky
cf21fff38b
Predidence of cmp_list: x == y == z
...
The x, y, z should not have parenthesis around pairs of them
(x == y) or (y == z)
2017-02-28 01:25:33 -05:00
rocky
19d2569515
Changes based on grammar coverage info
2017-01-29 23:01:12 -05:00
rocky
e71dd010d7
Simplfy getting coverage
...
consts.py: notes on versions use which ops
2017-01-29 21:39:29 -05:00
rocky
1cb2cd7a82
More 2.6, 2.7 control flow
...
Todo more COME_FROMs but now need to check targets better. In some cases
we're relying on grammar ambiguity to work out right and in 2.7 it doesn't
2017-01-24 01:21:28 -05:00
rocky
9ec312ba5e
More 2.6, 2.7 control-flow bugs
...
Wasn't limiting exception clause to try finally. Probably still has bugs
in try-finally nesting
Add another 2.6/2.7 COME_FROM to try to limit if/end scope better
2017-01-24 00:53:30 -05:00
rocky
66518baed0
Misc cleanups
...
Favor "decompile" over "uncompyle" since "decompile" is in common use
Reduce size of pysource.py by splitting out constants
2017-01-08 09:26:19 -05:00