A general context-free parsing algorithm running in linear time on every LR(k) grammar without using lookahead (Q805244): Difference between revisions

From MaRDI portal
Import240304020342 (talk | contribs)
Set profile property.
Created claim: DBLP publication ID (P1635): journals/tcs/Leo91, #quickstatements; #temporary_batch_1731475607626
 
(2 intermediate revisions by 2 users not shown)
Property / cites work
 
Property / cites work: Optimization of LR(k) parsers / rank
 
Normal rank
Property / cites work
 
Property / cites work: LR-regular grammars - an extension of LR(k) grammars / rank
 
Normal rank
Property / cites work
 
Property / cites work: Q4062666 / rank
 
Normal rank
Property / cites work
 
Property / cites work: An efficient context-free parsing algorithm / rank
 
Normal rank
Property / cites work
 
Property / cites work: An Improved Context-Free Recognizer / rank
 
Normal rank
Property / cites work
 
Property / cites work: Q4198075 / rank
 
Normal rank
Property / cites work
 
Property / cites work: Recognition and parsing of context-free languages in time n3 / rank
 
Normal rank
Property / full work available at URL
 
Property / full work available at URL: https://doi.org/10.1016/0304-3975(91)90180-a / rank
 
Normal rank
Property / OpenAlex ID
 
Property / OpenAlex ID: W2058476719 / rank
 
Normal rank
Property / DBLP publication ID
 
Property / DBLP publication ID: journals/tcs/Leo91 / rank
 
Normal rank

Latest revision as of 06:35, 13 November 2024

scientific article
Language Label Description Also known as
English
A general context-free parsing algorithm running in linear time on every LR(k) grammar without using lookahead
scientific article

    Statements

    A general context-free parsing algorithm running in linear time on every LR(k) grammar without using lookahead (English)
    0 references
    0 references
    1991
    0 references
    The paper demonstrates that by a slight change in the Early's algorithm a O(n) time performance for every LR(k) grammar can be obtained without use of lookahead. This was conjectured by Early in his PhD Thesis [Commun. ACM 13, No.2, 94-102 (1970; Zbl 0185.434 (01))]. A new algorithm for recognition of general context-free languages is proposed. Like Early's algorithm it takes \(O(n^ 3)\) time when it runs on general context-free grammars. But it runs in O(n) time and space for the large class of LR regular grammars, (an extension of LR(k) grammars). This is the main theoretical result of the paper and a sketch of its proof is presented. The paper contains also an informal description of the algorithm as well as a comparative example on a simple grammar with this algorithm and Early's algorithm.
    0 references
    parsing algorithm
    0 references
    linear complexity
    0 references
    LR regular grammars
    0 references
    LR(k) grammars
    0 references

    Identifiers