词条 | JavaCC |
释义 |
| 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. HistoryIn 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. UsesSoftware built using JavaCC includes:
See also{{Portal|Java (programming language)|Free and open-source software}}
External links
3 : Parser generators|Java development tools|Free software programmed in Java (programming language) |
随便看 |
|
开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。