naitoh / py2rb

A code translator using AST from Python to Ruby.
MIT License
134 stars 17 forks source link

AnnAssign not supported #8

Open jayvdb opened 3 years ago

jayvdb commented 3 years ago

ast.AnnAssign proves typed assignments (a: int = 1).

It is slightly different structure from ast.Assign as there is only one target instead of an array of targets, and includes an annotation which could be ignored initially.