Title :
Incorporating language processing into Java applications: a JavaCC tutorial
Author :
Kodaganallur, Viswanathan
Author_Institution :
Stillman Sch. of Bus., Seton Hall Univ., South Orange, NJ, USA
Abstract :
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.
Keywords :
Java; formal languages; grammars; program compilers; software tools; Extended Backus Naur Form; Java Compiler Compiler; Java application; formal language; language processor; language-enabled application; source code; Application software; Computer languages; Databases; Formal languages; Graphics; Java; Logic programming; Production; Software design; Tutorial; EBNF; Extended Backus-Naur Form; Java Compiler Compiler; JavaCC; compiler generators; compilers; languages; translator writing systems;
Journal_Title :
Software, IEEE