(Java parser written in nML)
The grammar of Java programming language used here is from CUP.
This package contains a parser for Java programming language implemented in nlex, nyacc and nmlc. The executable of this package gets Java source code and produces abstract syntax tree represented as a set of nML data types. The grammar(JDK 1.2) used here is from CUP, a parser generator for Java programming language.
After unpacking the source, you can see source code files and README file. In the code files, there are parser related rule files(lexer.nl, parser.ny), abstract syntax tree definition file(ast_gen.n), files for printing and so on. Detailed information of all files is in README file. There are three kinds of printing options.