Deprecated: $wgMWOAuthSharedUserIDs=false is deprecated, set $wgMWOAuthSharedUserIDs=true, $wgMWOAuthSharedUserSource='local' instead [Called from MediaWiki\HookContainer\HookContainer::run in /var/www/html/w/includes/HookContainer/HookContainer.php at line 135] in /var/www/html/w/includes/Debug/MWDebug.php on line 372
SLR(1) and LALR(1) parsing for unrestricted grammars - MaRDI portal

SLR(1) and LALR(1) parsing for unrestricted grammars (Q1097044)

From MaRDI portal





scientific article; zbMATH DE number 4033119
Language Label Description Also known as
English
SLR(1) and LALR(1) parsing for unrestricted grammars
scientific article; zbMATH DE number 4033119

    Statements

    SLR(1) and LALR(1) parsing for unrestricted grammars (English)
    0 references
    0 references
    1987
    0 references
    The paper extends the SLR(1) and LALR(1) methods of deterministic parsing to unrestricted grammars (Chomsky type 0 grammars). In this aim, SLR(1) and LALR(1) phrase structure grammars are defined and corresponding deterministic two-pushdown automata are introduced in a similar manner with the context-free grammars case. Unfortunately, there is no algorithm which produces the SLR(1) or LALR(1) parse table for a given unrestricted grammar. However, the author presents a technique for parse table constructing. It can be applied in many cases as the chosen examples for several well-known non context-free languages show. The method could be also useful for converting LALR(k) grammars to equivalent unrestricted SLR(1) or LALR(1) grammars which could then be parsed efficiently.
    0 references
    SLR(1) parsing
    0 references
    LALR(1) automaton
    0 references
    SLR(1) automaton
    0 references
    LALR(1) parsing
    0 references
    unrestricted grammars
    0 references

    Identifiers