Javascript must be enabled to continue!
Noncanonical SLR(1) Grammars
View through CrossRef
Two noncanonical extensions of the simple LR(1) (SLR(1)) method are presented, which reduce not only handles but also other phrases of sentential forms. A class of context-free grammars called
leftmost
SLR(1) (LSLR(1)) is defined by using lookahead symbols which appear in leftmost derivations. This class includes the SLR(1), reflected SMSP, and total precedence grammars as proper subclasses. The class of LSLR(1) languages properly includes the deterministic context-free languages, their reflections, and total precedence languages. By requiring that phrases which have been scanned be reduced as early as possible, a larger class of context-free grammars called
noncanonical
SLR(1) (NSLR(1)) is defined. The NSLR(1) languages can be recognized deterministically in linear time using a two-stack pushdown automaton. An NSLR(1) parser generator has been implemented. Empirical results show that efficient NSLR(1) parsers can be constructed for some non-LR grammars which generate nondeterministic languages. Applications of the NSLR(1) method to improve the parsing and translation of programming languages are discussed.
Association for Computing Machinery (ACM)
Title: Noncanonical SLR(1) Grammars
Description:
Two noncanonical extensions of the simple LR(1) (SLR(1)) method are presented, which reduce not only handles but also other phrases of sentential forms.
A class of context-free grammars called
leftmost
SLR(1) (LSLR(1)) is defined by using lookahead symbols which appear in leftmost derivations.
This class includes the SLR(1), reflected SMSP, and total precedence grammars as proper subclasses.
The class of LSLR(1) languages properly includes the deterministic context-free languages, their reflections, and total precedence languages.
By requiring that phrases which have been scanned be reduced as early as possible, a larger class of context-free grammars called
noncanonical
SLR(1) (NSLR(1)) is defined.
The NSLR(1) languages can be recognized deterministically in linear time using a two-stack pushdown automaton.
An NSLR(1) parser generator has been implemented.
Empirical results show that efficient NSLR(1) parsers can be constructed for some non-LR grammars which generate nondeterministic languages.
Applications of the NSLR(1) method to improve the parsing and translation of programming languages are discussed.
Related Results
Systematic Literature Review di Bidang Sistem Informasi dan Ilmu Komputer
Systematic Literature Review di Bidang Sistem Informasi dan Ilmu Komputer
<p class="Abstrak">Salah satu pendekatan studi pustaka adalah <em>Systematic Literature Review</em> (SLR). Walaupun sudah terdapat banyak naskah berbahasa Indones...
Degradation determinants are abundant in human noncanonical proteins
Degradation determinants are abundant in human noncanonical proteins
Abstract
The comprehensive characterization of human proteins, a key objective in contemporary biology, has been revolutionized by the identification of thousands o...
Evolutionary Grammatical Inference
Evolutionary Grammatical Inference
Grammatical Inference (also known as grammar induction) is the problem of learning a grammar for a language from a set of examples. In a broad sense, some data is presented to the ...
Jezik i gramatološki prinos Lanosovićeve slavonske gramatike u kontekstu standardizacije hrvatskoga jezika
Jezik i gramatološki prinos Lanosovićeve slavonske gramatike u kontekstu standardizacije hrvatskoga jezika
The primary task of this paper was to present, describe and analyze all three editions of Fr. Marijan Lanosović’s grammar as comprehensively and systematically as possible. The gra...
Stress granule component protein TIA1 is a negative regulator of the noncanonical NLRP3 inflammasome
Stress granule component protein TIA1 is a negative regulator of the noncanonical NLRP3 inflammasome
Abstract
Inflammasomes are cytosolic signaling hubs assembled upon pathogen- or damage-associated molecular pattern (PAMP and DAMP) sensing by innate immune patte...
ON A SUPERCLASS OF A-GRAMMARS
ON A SUPERCLASS OF A-GRAMMARS
In this paper we consider a superclass of automaton grammars that can be represented in terms of paths on graphs. With this approach, we assume that vertices of graph are labeled b...
Phrase Structure Grammars
Phrase Structure Grammars
Phrase structure grammars model the internal structure of a sentence in terms of a hierarchically organized representation. The sentence Every boy has a bike, for instance, is take...
History of European Vernacular Grammar Writing
History of European Vernacular Grammar Writing
The grammatization of European vernacular languages began in the Late Middle Ages and Renaissance and continued up until the end of the 18th century. Through this process, grammars...

