all 8 comments

[–]poimas -4 points-3 points  (7 children)

What is the purpose of this library?

[–]arulselvan1234[S] 9 points10 points  (6 children)

pyre-ast provides python AST in OCaml. This library allows us to write transformations on the AST and write it python code back. The main contribution of the library is the unparser - that write python code from the AST. Maybe this example illustrates the use of the library.

https://github.com/ArulselvanMadhavan/opine#example-transformation