Python AST diagrams in WordPress

I’ve updated my Python visualiser WordPress library to support generating diagrams of Python Abstract Syntax Trees (AST). It’s still at a very early stage of development and only supports a tiny subset of AST node types, but I thought people might be interested to see what was in development.

You can produce things like this:

a = 1 + 2

from an editor embedded in Gutenberg like this:

Leave a Reply

Your email address will not be published. Required fields are marked *