A "paren" semi-lisp styled Op parser which can be
used to control a TreeVisitor .
This is a fairly simple conversion which breaks the parenthesis
apart and converts shorthand (a b) to (a (b)) .
For example,
(and a (b) (c d (e) "f" g) h)
becomes essentially
(and (a) (b) (c (d) (e) ("f") (g)) (h)) .
This is further simplified to the TreeVisitor syntax:
and a) b) c d) e) "f" g) h)
See Also: XMLParser See Also: for XML implementation |