kali786516 / py2scala

Automatically exported from code.google.com/p/py2scala
0 stars 0 forks source link

Employ AST (Abstract Syntax Tree) #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This is a Improvement Request or Feature Request, if you will.

IMHO, the program should employ AST instead of parsing text
    http://docs.python.org/2/library/ast.html

You just have to ask Python to load the program to be converted.
Python will return an AST for the program loaded.
Then you visit the tree and generate Scala code.

Original issue reported on code.google.com by rgomes.i...@gmail.com on 21 Nov 2013 at 5:11