Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
LRToy
[go: Go Back, main page]

LRToy

This LR Toy allows you to enter a grammar (BNF), view some of its properties, and obtain LR(0), SLR and LR(1) parsing tables for it.

The examples below illustrate the supported BNF.


gr0


LR(0) SLR LR(1)

gr1


LR(0) SLR LR(1)

gr2


LR(0) SLR LR(1)

gr3


LR(0) SLR LR(1)

gr5


LR(0) SLR LR(1)

gr6


LR(0) SLR LR(1)

your_own_grammar


LR(0) SLR LR(1)

Thomas Hallgren