Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.compilers    |    Compiler construction, theory, etc. (Mod    |    2,753 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 2,099 of 2,753    |
|    Paul B Mann to All    |
|    Re: How detect cycle in grammar ?    |
|    01 Dec 11 02:46:16    |
      From: paul@paulbmann.com              The LRSTAR parser generator reports two errors in this grammar:              S -> A|B       A -> A       B -> t                     LRSTAR Basic 3.0.137 Copyright 2011 Compilerware.              Input silly.grm              silly.grm(6) : A -> A       silly.grm(6) : ---^       silly.grm(6) : Useless production.              silly.grm(6) : A       silly.grm(6) : ---^       silly.grm(6) : Nonterminal symbol in cycle, cannot derive anything.              0 min 0.000 sec, 0.728 MB, 0 warnings, 2 errors.              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca