Skip to Main Content
The Java Compiler Compiler is a tool for developing applications using Java. JavaCC is freely available and generates Java source code. Language processors that the tool generates thus derive the benefit of the language's platform independence. We walk through the process of using JavaCC to create language-enabled applications. This requires introducing us to Extended Backus Naur Form, a prerequisite to using JavaCC. EBNF is commonly used to specify the grammar of formal languages, including programming languages. JavaCC has many significant advantages, one of which is that is neatly blends EBNF and Java, making it easy for someone with knowledge of both to quickly exploit JavaCC's power.