IronLanguages / ironpython2

Implementation of the Python programming language for .NET Framework; built on top of the Dynamic Language Runtime (DLR).

Home Page:http://ironpython.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

how to get ast from python file?

syqlearning opened this issue · comments

Description

i'm using version 2.7.12 and NET. since i got python code file now, how can i get ast from it using ironpython?
i know there got BuildAst api here but could any one show how to achieve that goal more specifically?

ps: wanna to parse python code using c#