About: PackCC

An Entity of Type: software, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org:8891

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.

Property Value
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
  • 52688687 (xsd:integer)
dbo:wikiPageLength
  • 3673 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 972038204 (xsd:integer)
dbo:wikiPageWikiLink
dbp:developer
  • Arihiro Yoshida (en)
dbp:genre
dbp:license
dbp:name
  • PackCC (en)
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
  • PackCC (en)
owl:sameAs
prov:wasDerivedFrom
foaf:homepage
foaf:isPrimaryTopicOf
foaf:name
  • (en)
  • PackCC (en)
is dbo:wikiPageWikiLink of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License