Related articles |
---|
slr table generator tanoacm@yahoo.it (2004-07-13) |
From: | tanoacm@yahoo.it |
Newsgroups: | comp.compilers |
Date: | 13 Jul 2004 10:53:20 -0400 |
Organization: | TIN |
Keywords: | SLR, parse |
Posted-Date: | 13 Jul 2004 10:53:20 EDT |
Hello,
as an exercise I've implemented an slr table generator. The code is not
optimal and there are no comments, but it's a little program.
You can see on the web at:
http://xoomer.virgilio.it/tanosfood/slr.html
or an output example for a simple grammar:
http://xoomer.virgilio.it/tanosfood/output.html
Send me comments or suggestions at tanoacm@yahoo.it, especially on the
readable aspect of the generator. I've used lists for items, not arrays,
and I don't know if I've made a good choice.
Thanks,
tano
Return to the
comp.compilers page.
Search the
comp.compilers archives again.