Take a look at JavaML ( http://www.cs.washington.edu/homes/gjb/JavaML/).
Most programming languages are based on formal grammars and have tree representations known as AST's (Abstract Syntax Trees). The AST for Java is available through tools like JavaCC and JJTree ( https://javacc.dev.java.net/).
Dig Deeper on XML and XML schema
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.