rocky
fd95839701
Merge branch 'master' into python-2.4
2017-12-15 08:26:03 -05:00
rocky
a3e61a710f
Towards handling CALL_FUNCTION_EX_KW...
...
more work is needed though
2017-12-14 23:12:37 -05:00
rocky
c7dda72a84
Merge branch 'master' into python-2.4
2017-12-14 17:58:03 -05:00
rocky
52f2b9341a
More Python 2/3 grammar restriction
2017-12-14 15:24:01 -05:00
rocky
6c552bec07
Python 2 grammar restricion to match recent Python 3
2017-12-14 14:54:40 -05:00
rocky
eb5706ee4b
Add a missing 3.6 generator rule
2017-12-14 12:15:58 -05:00
rocky
c01ce9e3de
Better grammar specialization for Python 3
2017-12-14 11:42:46 -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
a1082ebae9
Start handling 3.6 CALL_FUNCTION_KW
2017-12-14 08:36:12 -05:00
rocky
4cd4ad22b6
NT passtmt -> pass to match AST
2017-12-14 05:31:17 -05:00
rocky
aac793af09
Start parse2 customize_grammar_rule refactor
2017-12-13 18:56:38 -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
5ef2d5cd9f
Merge branch 'master' into python-2.4
2017-12-13 08:58:18 -05:00
rocky
84b4ac1c51
NT "_for" -> "for_iter" reduces confusion w/ "for"
2017-12-12 12:41:44 -05:00
rocky
b544827192
NT: "forstmt" renamed to "for" to match AST
2017-12-12 12:33:27 -05:00
rocky
204612ca85
Merge branch 'master' into python-2.4
2017-12-12 11:05:20 -05:00
rocky
36fbafa0f8
Bang on 3.6 CALL_FUNCTION(_VAR)_KW
2017-12-12 11:01:34 -05:00
rocky
ec1be81de7
Grammar specialization of DELETE_xxx in 3.x
2017-12-12 05:30:35 -05:00
rocky
3705f6d096
Start to handle CALL_FUNCTION_EX more accurately
2017-12-11 08:24:27 -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
ef08677287
Reinstate kwargs1...
...
was just missing the semantic action rule for it
2017-12-07 13:24:55 -05:00
rocky
08789adbb4
Reduce singletons rules and ..
...
fix recently introduced kwargs bug.
2017-12-07 13:20:08 -05:00
rocky
b8b9b8463c
Fix grammar cover from last commit
2017-12-07 12:34:13 -05:00
rocky
7d8c17cb93
grammar isolation and reduction
2017-12-07 12:27:22 -05:00
rocky
41db5b8848
Fix while1/if parsing in 3.x. Reinstate some tests
2017-12-06 22:47:56 -05:00
rocky
7daf95fcb4
NT break_stmt, continue_stmt -> break, continue...
...
to match AST
2017-12-06 01:48:44 -05:00
rocky
f8d6998b22
NT continue_stmt -> continue to match AST
2017-12-06 01:45:08 -05:00
rocky
c677c946ea
Merge branch 'master' into python-2.4
2017-12-05 05:59:50 -05:00
rocky
03743fa9fc
Python 3.x raise statement reduction
2017-12-05 05:57:11 -05:00
rocky
87063851be
Merge branch 'master' into python-2.4
2017-12-05 05:44:59 -05:00
rocky
e12e278efc
Narrow 3.x mkfunc rules
2017-12-05 05:43:22 -05:00
rocky
516c1a7910
Merge branch 'master' into python-2.4
2017-12-05 00:13:59 -05:00
rocky
2d628acf60
Separate rules for set, tuple, dict from list...
...
Sync fragments.py with pysource
2017-12-05 00:13:17 -05:00
rocky
212771244a
Merge branch 'master' into python-2.4
2017-12-04 14:15:30 -05:00
rocky
9506412aba
More tidiness...
...
Shorten/improve description of what's up with add_customize_rules
2017-12-04 10:14:13 -05:00
rocky
5fc33aeef5
Merge branch 'master' into python-2.4
2017-12-04 09:41:49 -05:00
rocky
53b195ede9
Tidy a little ...
...
parse32.py: Move common grammar rules from parse32.py to parse3.py
parse32 should just have 3.2ish specific stuff.
parse3.py: favor addRule over add_unique_rule
pysource.py: make more clear what's up with comprehensions.
more later.
2017-12-04 09:36:39 -05:00
rocky
3425851dc7
Python 3.x needs conditional_not
2017-12-04 08:40:06 -05:00
rocky
910d210e52
Merge branch 'master' into python-2.4
2017-12-03 13:03:28 -05:00
rocky
344d2d92c4
NT: load_attr -> attribute to match AST
2017-12-03 13:02:22 -05:00
rocky
df4d80ff26
Merge branch 'master' into python-2.4
2017-12-03 11:19:48 -05:00
rocky
5b916567fe
NT try-middle -> except-handler to match AST
2017-12-03 06:30:33 -05:00
rocky
32f3d947bb
Grammar "COME_FROM"_from cleanups ...
...
tryelse constructs in 2.x fixed up
_come_from -> _come_froms (COME_FROM*)
consolidate come_froms rule into sincle parser.py
2017-12-03 05:10:59 -05:00
rocky
c90210c063
Grammar "COME_FROM"_from cleanups ...
...
tryelse constructs in 2.x fixed up
_come_from -> _come_froms (COME_FROM*)
consolidate come_froms rule into sincle parser.py
sync unit/test_grammar.py
2017-12-03 05:04:06 -05:00
rocky
21a8726a47
Merge branch 'master' into python-2.4
2017-12-03 03:34:50 -05:00
rocky
eafb32b9a0
NT trystmt -> try_except to match AST
2017-12-02 22:20:45 -05:00
rocky
de594ce7f2
Remove 3-arg raise in 3.x and..
...
add tests in 2.x
2017-12-02 22:07:44 -05:00