Results 11 to 20 of about 125,536,283 (53)

An LALR (1) Parser Grammar for FORTRAN ; CU-CS-129-78 [PDF]

open access: yes, 1978
An automatic parser generator is a tool for quickly implementing programming language parsers. Parser generators based upon LR parsing have been built for grammars satisfying the LR(0), SLR(1), and LALR(1) properties.
Rauhauser, Russ C.
core   +6 more sources

A Drop-in Replacement for LR(1) Table-Driven Parsing [PDF]

open access: yes, 2021
This paper presents a construction method for a deterministic one-symbol look-ahead LR parser which allows non-terminals in the parser look-ahead. This effectively relaxes the requirement of parsing the reverse of the right-most derivation of a string ...
Michael Oudshoorn
core   +1 more source

LR(k) 문법의 LALR(k)의 문법으로의 변환에 관한 연구

open access: yes, 1993
본 연구에서는 임의의 LR(k) 문법을 그와 동일한 언어를 생성하는 LALR(k) 문법으로 변환하는 방법이 개발되었다. 이를 위하여 주어진 LR(k) 문법에 대한 LR(k)-colored 문법을 SLR(k) 성질 또는 LALR(k)성질을 유지하면서 축약시키는 방법들이 연구되었으며, 특히 LR(1) 문법을 LALR(1) 문법으로 효율적으로 변환시키는 알고리즘이 개발되었다.We present a method of transforming an ...
Park,Yang-Su, Lee,Myung-Joon
core   +1 more source

An LR(l) Testing Algorithm

open access: yes, 1991
A grammar is LR{1} if it can be parsed deterministically from left to right while looking ahead no more than one symbol. Because of the difficulty in generating full LR{l) parsers, many parser generators such as YACC limit themselves to LALR(1} grammars ...
Ssager, Thomas J.
core   +1 more source

LALR(1) 파싱충돌의 효율적인 해결에 관한 연구

open access: yes, 1993
LR(1) 문법이지만 LALR(1) 문법이 아닌 문법을 파싱하기 위해서는 그 문법을 LALR(1) 문법으로 변형시키거나 LR(1) 파싱 테이불을 형성하여야 한다. 본 연구에서는 LALR(1) 문법이 아닌 LR(1) 문법의 LALR(1) 파싱에서 발생하는 충돌을 효율적으로 해결하는 새로운 방법을 개발하였다.
Park,Yang-Su   +2 more
core   +1 more source

An imperial comparison of generalized LR tables [PDF]

open access: yes, 1991
In this study, table sizes and parsing efficiency of Tomita's algorithm with LR(0), SLR(1), LALR(1) and LR(1) parsing tables are compared on the basis of empirical data.
Lankhorst, Marc
core   +1 more source

LR(1) parser generation system

open access: yes, 2011
The LR(1) Parser Generation System generates full LR(1) parsers that are comparable in speed and size to those generated by LALR(1) parser generators, such as yacc [5]. In addition to the inherent advantages of full LR(1) parsing, it contains a number of
Peter Donovan, Arthur Sorkin
core   +1 more source

Lexer and Parser Generators in Scheme [PDF]

open access: yes, 2004
The implementation of a basic LEX-style lexer generator or YACC-style parser generator requires only textbook knowledge. The im-plementation of practical and useful generators that cooperate well with a specific language, however, requires more ...
Olin Shivers   +7 more
core  

AN EFFICIENT LALR(1) AND LR(1) LOOKAHEAD SET ALGORITHM

open access: yes, 2008
. The most popular method for computing LALR(1) lookaheads is not the most efficient one, mainly (as we conjecture) due to certain deficiencies in the description of core algorithms. Similarly, full LR(1) parser generators are not as common as their LALR(
Paulo S. L. M. Barreto
core  

Incremental LR Parsing

open access: yes, 1994
this paper we present an incremental LR parsing technique. The technique is applicable to all grammars in the LR, SLR, and LALR families. We present the technique in terms of the LR(1) grammars in this paper.
Wuu Yang
core  

Home - About - Disclaimer - Privacy