Incorporating language processing into Java applications: a JavaCC tutorial

Autor: Viswanathan Kodaganallur
Rok vydání: 2004
Předmět:
Zdroj: IEEE Software. 21:70-77
ISSN: 0740-7459
DOI: 10.1109/ms.2004.16
Popis: 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.
Databáze: OpenAIRE