Search engine for discovering works of Art, research articles, and books related to Art and Culture
ShareThis
Javascript must be enabled to continue!

Packrat Parsing with Dynamic Buffer Allocation

View through CrossRef
Packrat parsing is a type of recursive decent parsing with guaranteed liner time parsing. For this,memoization technique is implemented in which all parsing results are memorized to avoid repetitive scanningof inputs in case of backtracking. The issue with this technique is large heap consumption for memoization whichout weigh the benefits. In many situations the developers need to make a tough decision of not implementingpackrat parsing despite the possibility of exponential time parsing. In this paper we present our developedtechnique to avoid such a tough choice. The heap consumption is upper bounded since memorized results arestored in buffer, capacity of which is decided at runtime depending on memory available in the machine. Thisdynamic buffer allocation is implemented by us in Mouse parser. This implementation achieves stableperformance against a variety of inputs with backtracking activities while utilizing appropriate size of memoryfor heap.
Title: Packrat Parsing with Dynamic Buffer Allocation
Description:
Packrat parsing is a type of recursive decent parsing with guaranteed liner time parsing.
For this,memoization technique is implemented in which all parsing results are memorized to avoid repetitive scanningof inputs in case of backtracking.
The issue with this technique is large heap consumption for memoization whichout weigh the benefits.
In many situations the developers need to make a tough decision of not implementingpackrat parsing despite the possibility of exponential time parsing.
In this paper we present our developedtechnique to avoid such a tough choice.
The heap consumption is upper bounded since memorized results arestored in buffer, capacity of which is decided at runtime depending on memory available in the machine.
Thisdynamic buffer allocation is implemented by us in Mouse parser.
This implementation achieves stableperformance against a variety of inputs with backtracking activities while utilizing appropriate size of memoryfor heap.

Related Results

Environmental Surveillance Protocols for Highly Pathogenic Avian Influenza (HPAI) v2
Environmental Surveillance Protocols for Highly Pathogenic Avian Influenza (HPAI) v2
EnvironmentalSurveillance Protocols for Highly Pathogenic Avian Influenza (HPAI) This comprehensive protocol suite enables systematic environmental surveillance for avian influenza...
Buffer Allocation Using 6 Steps Oba Method: A Case Study
Buffer Allocation Using 6 Steps Oba Method: A Case Study
This paper utilized a simulation software to determine an optimal buffer allocation for any unpaced production line when a set of buffer quantity is known. The optimal buffer alloc...
Embracing the screen of mediated environments
Embracing the screen of mediated environments
<p>This dissertation examines the “buffer effect,” an important but understudied feature of computer-mediated communication (CMC). Research on the buffer effect posits that C...
Hierarchical Clause Annotation: Building a Clause-Level Corpus for Semantic Parsing with Complex Sentences
Hierarchical Clause Annotation: Building a Clause-Level Corpus for Semantic Parsing with Complex Sentences
Most natural-language-processing (NLP) tasks suffer performance degradation when encountering long complex sentences, such as semantic parsing, syntactic parsing, machine translati...
Semantic Graphical Dependence Parsing Model in Improving English Teaching Abilities
Semantic Graphical Dependence Parsing Model in Improving English Teaching Abilities
It is a very difficult problem to achieve high-order functionality for graphical dependency parsing without growing decoding difficulties. To solve this problem, this article offer...
Optimum pH Buffer of Phosphate and Carbonate on The Crude Extraction of Uricase Enzyme from Goat Liver
Optimum pH Buffer of Phosphate and Carbonate on The Crude Extraction of Uricase Enzyme from Goat Liver
Uricase enzyme (urate oxidase) is an enzyme that catalyze the oxidation of uric acid in the presence of oxygen to produce allantoin, carbon dioxide (CO2) and hydrogen peroxide (H2O...
Lectin C gene analysis v1
Lectin C gene analysis v1
Mammalian Tissue Total RNA Purification Protocol by GeneJET RNA Purification Kit (Thermo Scientific, USA) Before starting: • Supplement the required amount of Lysis Buffer with β-...
Hierarchical Clause Annotation: Building a Clause-Level Corpus for Semantic Parsing with Complex Sentences
Hierarchical Clause Annotation: Building a Clause-Level Corpus for Semantic Parsing with Complex Sentences
Most natural language processing (NLP) tasks suffer performance degradation when encountering long complex sentences, such as semantic parsing, syntactic parsing, machine translati...

Back to Top