The technology to automatically generate a parser from this syntax
specification has existed for around 20 years and is now mature enough to use
in a product setting. A parser generator is a software program that accepts a
syntax specification as input and generates a parser for that syntax as
output.
JavaCC (Java Compiler Compiler) is a parser generator that embodies the state
of the art in parser generation technology and generates parsers in Java.
Sreeni Viswanadha and I jointly developed JavaCC while we were at Sun
Microsystems. Robert Duncan also made some important contributions. Although
JavaCC is owned by Sun Microsystems and Sreeni and I are currently at
WebGain, we continue to maintain JavaCC. JavaCC is available for a free
download from WebGain’s Web site, as well as from Sun Microsystems.
The use of parsers and parser generators is ubiquitous. There’s al... (more)
As developers are increasingly using Java for advanced applications, they've
become dependent on the availability of scalable technologies and tools to
support their development, including quality assurance (QA), testing,
maintenance, release and customer support requirements. The technologies
available today have been inherited largely from those available for
languages such as C and C++, including visual IDEs and a host of other tools
that offer a solution to a particular problem. A few tools have been tailored
specifically for Java and enhance the strengths of the language (li... (more)