请输入您要查询的百科知识:

 

词条 JavaCC
释义

  1. History

  2. Uses

  3. See also

  4. External links

{{Infobox software
| name = JavaCC
| logo =
| screenshot =
| caption =
| developer = Oracle
| latest release version = 7.0.2
| latest release date = February 7, 2017
| latest preview version =
| latest preview date =
| operating system =
| platform = Java Virtual Machine
| genre = parser/scanner generator
| license = BSD
| website = {{URL|javacc.org}}
| repo ={{URL|https://github.com/javacc/javacc}}
}}

JavaCC (Java Compiler Compiler) is an open-source parser generator and lexical analyzer generator written in the Java programming language. JavaCC is similar to yacc in that it generates a parser from a formal grammar written in EBNF notation. Unlike yacc, however, JavaCC generates top-down parsers. JavaCC can resolve choices based on the next k input tokens, and so can handle LL(k) grammars automatically; by use of "lookahead specifications", it can also resolve choices requiring unbounded look ahead. JavaCC also generates lexical analyzers in a fashion similar to lex. The tree builder that accompanies it, JJTree, constructs its trees from the bottom up.

JavaCC is licensed under a BSD license.

History

In 1996, Sun Microsystems released a parser generator called Jack. The developers responsible for Jack created their own company called Metamata and changed the Jack name to JavaCC. Metamata eventually became part of WebGain. After WebGain shut down its operations, JavaCC was moved to its current home.

Uses

Software built using JavaCC includes:

  • Apache Derby
  • BeanShell
  • FreeMarker
  • PMD
  • Vaadin
  • Apache Lucene
  • JavaParser

See also

{{Portal|Java (programming language)|Free and open-source software}}
  • ANTLR
  • SableCC
  • Coco/R
  • parboiled

External links

  • {{Official website}}
  • [https://web.archive.org/web/20130608172614/https://javacc.java.net/ Java Compiler Compiler (JavaCC) - The Java Parser Generator]
  • JavaCC's New Official Website by April 2017
  • JavaCC Tutorial
  • JavaCC FAQ
  • A JavaCC book - Generating Parsers with JavaCC

3 : Parser generators|Java development tools|Free software programmed in Java (programming language)

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/11/17 16:09:36