# Generate a parse tree for TeX

If I google for parse tree and TeX. All I'm getting are how to draw parse trees in TeX.

I want to know if there are programs that can parse TeX, and output a parse tree that's easy to manipulate.

-
There was once a Java project to implement the TeX parser, but AFAIK it got never finished. I'm sure the best place to look would be the book TeX: The Program. – Martin Scharrer Jun 29 '11 at 8:58