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
|
7775bdabd5
|
import_as -> alias; and reinstate rule
|
2017-11-29 10:38:18 -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
|
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
|
4b4fce01f6
|
Add UNARY convert; improve 2.1 imports
|
2017-11-27 21:38:09 -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
|
af38064a1b
|
remove unpack_list rule and ...
tidy things a bit more
|
2017-11-25 00:32:13 -05:00 |
|
rocky
|
c9f3838d04
|
Fix bug in 2.x with decorator of old-style class
|
2017-11-24 21:16:59 -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
|
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
|
f7ff4c2d41
|
Grammar cleanup: import_as_cont -> import_as
|
2017-11-18 10:26:57 -05:00 |
|
rocky
|
d18a353381
|
Tag %c nonterminals in more template rules
|
2017-11-16 11:31:18 -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
|
69847dbeec
|
detected old-style Python 2.4 class better
|
2017-11-13 10:57:50 -05:00 |
|
rocky
|
74731a9d42
|
Fix bug in return-optimized try stmt
|
2017-11-09 11:01:29 -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
|
4f0a668b7c
|
Add flag to tolerate deparse errors...
and keep going. The fragment parser should ignore errors
in nested function definitions
|
2017-11-04 12:29:27 -04:00 |
|
rocky
|
6746e5167d
|
Add Python 3.6.3 scanner lookup
|
2017-11-04 11:13:55 -04: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
|
2fc3886693
|
Small changes
|
2017-10-13 07:52:56 -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
|
1392b18bd7
|
Adjust for spark-parser 2.7.0 incompatabilities
|
2017-10-10 14:14:26 -04:00 |
|
rocky
|
85d68a7926
|
Merge branch 'master' of github.com:rocky/python-uncompyle6
|
2017-10-05 11:03:59 -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
|
c17ac696d6
|
Remove schumutz
|
2017-10-03 11:39:26 -04:00 |
|
rocky
|
9e2119f1a9
|
More table doc tweaks
|
2017-10-03 11:36:25 -04:00 |
|
rocky
|
86305097d2
|
Go over table-semantics description yet again
|
2017-10-03 05:42:14 -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
|
da7421da1c
|
Tidy pysource and fragments a little more
|
2017-09-20 19:02:56 -04:00 |
|
rocky
|
96ca68a6fe
|
Tidy/regularize table entry formatting
|
2017-09-20 17:47:56 -04:00 |
|
rocky
|
147b6e1cfe
|
Small fixes
test_pyenvlib.py: it is sys.exit(), not exit()
pysource.py: reinstate nod type of async_func_call
|
2017-09-20 11:32:42 -04:00 |
|
rocky
|
d7b12f4da1
|
More small doc changes
|
2017-09-20 02:49:14 -04:00 |
|
rocky
|
c7b9e54e59
|
Update Table-driven info...
Start a pysource unit test.
|
2017-09-20 00:06:50 -04:00 |
|
rocky
|
3003070acb
|
engine -> template_engine
|
2017-09-17 11:56:51 -04:00 |
|