|Grammar checker? firstname.lastname@example.org (1991-07-09)|
|From:||email@example.com (Debora Weber-Wulff)|
|Organization:||Free University of Berlin, Germany|
|Date:||Tue, 9 Jul 1991 15:26:24 GMT|
Is there some sort of grammar checking tool lying around
out there that will take a short, clear description of
my grammar (and I don't mean yacc squiggles!) like
S -> Ex
EX -> Te E1
Te -> "a"
and tell me if it has LL or LR or LALR or SLR or ...
properties? Maybe with little messages like :
shift-reduce conflict in State 17
and a printout map of the states?
Yes, I know, I could do it by hand, but I'm lazy. We
used to have a thing like that at Norsk Data (well, okay,
the description was not that short and clear, but anyway)
for the old SINTRAN operating system. I'd like a
pointer to the name of such a beast for SUN 3 or 4, so
I can ask archie where to find it!
snail: FU Berlin, ZI Fachdidaktiken, Habelschwerdter Allee 45, W-1000 Berlin 33
email: firstname.lastname@example.org, email@example.com
[I'd think a simple way to see if a grammar is LALR would be an awk script
to translate your favorite input syntax into yacc, followed by running the
result through yacc. -John]
Return to the
Search the comp.compilers archives again.