dbo:abstract
|
- PackCC is a parser generator for C. Its main features are as follows:
* Generates a parser in written C from a grammar described in a PEG,
* Gives a parser great efficiency by packrat parsing,
* Supports direct and indirect left-recursive grammar rules,
* Generates a thread-safe and reentrant parser,
* Consists of just a single compact source file. The grammar of an output parser can be described in a PEG (Parsing Expression Grammar). The PEG is a top-down parsing language, and is similar to the regular expression grammar. Compared with a bottom-up parsing language, like Yacc's one, the PEG is much more intuitive and cannot be ambiguous. The PEG does not require tokenization to be a separate step, and tokenization rules can be written in the same way as any other grammar rules. The generated parser can parse inputs very efficiently by packrat parsing. The packrat parsing is the recursive descent parsing algorithm that is accelerated using memoization. By using packrat parsing, any input can be parsed in linear time. Without it, however, the resulting parser could exhibit exponential time performance in the worst case due to the unlimited look-ahead capability. Unlike common packrat parsers, PackCC can support direct and indirect left-recursive grammar rules. This makes grammar rules much more intuitive. The generated code is beautified and as ease-of-understanding as possible. Actually, it uses many goto statements, but the control flows are much more traceable than goto spaghetti storms generated by some other parser generators. PackCC itself is under MIT license, but the generated code can be distributed under any license or can be used in proprietary software. (en)
|
dbo:genre
| |
dbo:license
| |
dbo:wikiPageExternalLink
| |
dbo:wikiPageID
| |
dbo:wikiPageLength
|
- 3673 (xsd:nonNegativeInteger)
|
dbo:wikiPageRevisionID
| |
dbo:wikiPageWikiLink
| |
dbp:developer
| |
dbp:genre
| |
dbp:license
| |
dbp:name
| |
dbp:operatingSystem
| |
dbp:programmingLanguage
| |
dbp:website
| |
dbp:wikiPageUsesTemplate
| |
dcterms:subject
| |
rdf:type
| |
rdfs:comment
|
- PackCC is a parser generator for C. Its main features are as follows:
* Generates a parser in written C from a grammar described in a PEG,
* Gives a parser great efficiency by packrat parsing,
* Supports direct and indirect left-recursive grammar rules,
* Generates a thread-safe and reentrant parser,
* Consists of just a single compact source file. Unlike common packrat parsers, PackCC can support direct and indirect left-recursive grammar rules. This makes grammar rules much more intuitive. (en)
|
rdfs:label
| |
owl:sameAs
| |
prov:wasDerivedFrom
| |
foaf:homepage
| |
foaf:isPrimaryTopicOf
| |
foaf:name
| |
is dbo:wikiPageWikiLink
of | |
is foaf:primaryTopic
of | |