relation between Python.asdl and Tools/compiler/ast.txt
7 Jan
2010
7 Jan
'10
7:24 a.m.
Hi, I would like to use astgen.py to generate python classes corresponding to the AST of something I have defined in a .asdl file, along the line of what is apparently done for the python AST itself. I thought astgen.py would take as an argument a .asdl file, but apparently it instead process a file called ast.txt. Where does this file come from ? Is it generated from Python.asdl ?
5194
Age (days ago)
5195
Last active (days ago)
5 comments
2 participants
participants (2)
-
"Martin v. Löwis"
-
Yoann Padioleau