Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有parser这样的:
parser
Python
2.6+
2.5
C
注意:这与我之前关于类装饰器的问题有些相关。
是的,lib2to3可以,您需要做的就是为其提供正确的语法文件(获取您想要的 Python 的源代码并复制Grammar/Grammar)。