Precedence technique is not worse than SLR(1) (Q1066680): Difference between revisions
From MaRDI portal
Added link to MaRDI item. |
Changed an Item |
||
Property / describes a project that uses | |||
Property / describes a project that uses: Euler / rank | |||
Normal rank |
Revision as of 10:38, 28 February 2024
scientific article
Language | Label | Description | Also known as |
---|---|---|---|
English | Precedence technique is not worse than SLR(1) |
scientific article |
Statements
Precedence technique is not worse than SLR(1) (English)
0 references
1986
0 references
The paper describes and proves the correctness of a transformation which converts SLR(1) grammars to grammars which are (1,0) or (1,1) mixed strategy precedence grammars and which have the correct prefix property. The transformation enables one to construct Wirth-Weber precedence parsers possessing the error detection capabilities of the SLR method and being as compact as, for example, Dencker et al. parsers [Dencker et al.: Optimization of parser tables for portable compilers, ACM TOPLAS 6].
0 references
SLR(1) grammars
0 references
mixed strategy precedence grammars
0 references
correct prefix property
0 references
Wirth-Weber precedence parsers
0 references
error detection
0 references