Artigo Revisado por pares

Incorporating language processing into Java applications: a JavaCC tutorial

2004; IEEE Computer Society; Volume: 21; Issue: 4 Linguagem: Inglês

10.1109/ms.2004.16

ISSN

1937-4194

Autores

Viswanathan Kodaganallur,

Tópico(s)

Model-Driven Software Engineering Techniques

Resumo

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.

Referência(s)
Altmetric
PlumX