Ive created a very large PyParsing tree from reading ISB Bind9 named.conf file.
Now I wish to redirect my attention to generating an output back to the way it was syntactically read and created from.
I see a close answer and example for a JSON output in StackOverflow.
Is there a small working example for a custom output/generator Python class, mostly to support recreation from what was read into the tree?