转换python代码结构到golang的小工具。只是简单的结构代码转换,方便再手动调整。
- 基本语法树的分析,重建。
- 转换成golang,稍微改下可以支持转换到其他语言
- class,func,if,else,for的基本转换
- 一些关键字的批量替换
- 变量的初始化
- 类型识别
- 特殊语法的转换(例如:if a in [])
- 转换单个python文件(示例:py2go.exe res/test.py)
- 转换所有当前目录和res目录的python文件(直接执行exe)
This project forked from magicsea/py2go
转换python代码结构到golang的小工具
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.