ANN: SLK Parser Generator 5.02

"SLK Mail" <>
Wed, 29 Jun 2016 14:00:45 -0800

          From comp.compilers

Related articles
ANN: SLK Parser Generator 5.02 (SLK Mail) (2016-06-29)
| List of all articles for this month |

From: "SLK Mail" <>
Newsgroups: comp.compilers
Date: Wed, 29 Jun 2016 14:00:45 -0800
Organization: SLK Systems
Injection-Info:; posting-host=""; logging-data="52706"; mail-complaints-to=""
Keywords: tools, available
Posted-Date: 30 Jun 2016 05:14:19 EDT

- Now includes support for javascript in addition to C, C++, C#, and java.

- Can create LR(k) and LALR(k) parsers in addition to LL(k).

The extra lookahead is added to the k=1 machine in all cases. For LR this
means the parser falls somewhere between LR(1) and LR(k). The construction
is similar to the way SLR is done, but to the LR(1) machine instead of the
LR(0) one.

The LL(k) parsers are strong LL(k) by definition. Aho and Ullman have
shown that all LL(k) grammars have covering strong LL(k) grammars that are
easily constructed, if somewhat larger. SLK has an option to do this
transparently, resulting in full LL(k) support.

SLK uses well-known table compaction methods to greatly reduce the size of
the parser. In combination with modern RAM size, this makes LR(k) and
LL(k) parsing feasible.

The LR(2) parsers for the extra lookahead problems in LR and LALR grammars
that have come up in this newsgroup over the years seem to work fine. If
anyone has a deterministic grammar that is not handled properly by SLK,
please email me directly.

SLK Parser Generator:

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.