PSG
"I made a program to generate dot files representing the LR(0) state graph along with computed LALR(1) lookahead for an arbitrary context-free grammar, to make the diagrams I used in this article: http://blog.lab49.com/archives/2471. The program also highlights errant nodes in red if the grammar would produce a shift/reduce or reduce/reduce conflict -- you may be able to go to http://kthielen.dnsalias.com:8082/ to produce a graph more to your liking". Contributed by Kalani Thielen.
|
|
Click on the picture to view the .gv file |
|
[SVG]
Copyright © 1996-2004 AT&T. All rights reserved.

Recent comments
20 hours 48 min ago
22 hours 24 min ago
22 hours 31 min ago
22 hours 34 min ago
2 days 21 hours ago
1 week 1 day ago
1 week 1 day ago
1 week 1 day ago
1 week 1 day ago
1 week 2 days ago