Is there a tool that can pretty print an abstract syntax tree for Elixir

Is there a way in which an abstract syntax tree processed after a Code.string to quote() or quote() function can be pretty printed into an actual visualisation of a tree in Elixir ?

Perhaps Code.format_string!/2?

Ahhhhhh. You want to format the AST. Sorry for the bad advice. Perhaps just inspect/2 or on the AST? or IO.inspect/2

1 Like