x0ret
c871a4ecc5
Fix subscript in store_annotation + indentation
2019-06-12 00:26:34 +04:30
rocky
37e4754268
Fix Improper semantic action format
2019-06-11 11:10:53 -04:00
rocky
76dcaf9bf0
Tweaks to x0ret's anotation type handling
...
- match AST names a little better: AnnAssign -> ann_assign...
- localize Annotation type grammar change only when we have it
- Add reduce rule to combine assignment and annotate declaration
- Add annotation-type test from Python 3.6
- Docuemnt what's up with annotation types
2019-06-11 11:02:25 -04:00
x0ret
21fd506fbb
Add 3.6 STORE_ANNOTATION
2019-06-11 10:36:55 -04:00
rocky
44d7cbcf6f
LOAD_CONST->LOAD_STR for Python 3.x
2019-06-08 02:28:27 -04:00
rocky
8b5e0f49f8
Handle {{ }} escape, but when appropriate
2019-05-13 09:41:16 -04:00
x0ret
d99e78d46d
set precedences value for format strings
2019-05-13 09:41:09 -04:00
rocky
b94cce7b12
Revise format string handling
...
fstring_single{1,2} -> format_value{1,2} to match Python AST names
better
2019-05-13 09:40:32 -04:00
x0ret
bf56fbeeec
enhance call_ex_kw(s) positional args handling
2019-05-12 13:11:31 +04:30
rocky
6d8d9fd83b
Go over precedence in calls
2019-05-11 23:32:24 -04:00
rocky
4db364f701
And another tweak.
2019-05-10 17:29:03 -04:00
rocky
c03b039714
Small tweaks to last commit
2019-05-10 17:25:25 -04:00
x0ret
4d793ba1b2
implements n_call_ex_kw as discussed in #227
2019-05-10 23:55:47 +04:30
rocky
e875b79a75
Fix 3.6. call_ex_kw semantic action
...
Was missing positional args parameter in template. Fix submited by @x0ret
Fixes #227
2019-05-09 09:27:10 -04:00
rocky
b05500dd49
More 3.6+ fstring bugs
2019-05-08 08:57:30 -04:00
rocky
733a44e22f
Revise and hopefully improve 3.6+ fstring handling
2019-05-08 06:03:39 -04:00
rocky
6e753b8743
Handle 3.7 format_value tuples
2019-05-03 22:38:09 -04:00
rocky
0007abf827
Fix 3.6+ format string interpolation
2019-05-03 19:00:25 -04:00
rocky
32bc017e2e
Fix wrong node slot in 3.6 for except_handler
2019-05-01 14:23:00 -04:00
rocky
257bbc892f
Better 3.6+ format specification handling
2019-05-01 09:17:35 -04:00
rocky
f54cf20d9d
Hacky handling of 3.6 format string 'X'.
2019-04-30 20:06:36 -04:00
rocky
03d23328eb
3.6 constant tuples in call
2019-04-30 16:25:48 -04:00
rocky
d413ebe0e1
Split out semantic actions per version ...
...
In version 3.5..3.8 there are quite hefty changes.
2019-04-14 19:25:56 -04:00