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 1,253 of 2,753    |
|    Russ Cox to All    |
|    Re: Computing Follow set    |
|    06 Mar 08 21:04:52    |
      From: rsc@swtch.com              > A -> aB | a       > B -> bA | b       >       >>From the production A -> aB, we have FOLLOW(B) contains FOLLOW(A).       >>From the production B -> bA, we have FOLLOW(A) contains FOLLOW(B).       >       > This ends up being an infinite loop when I code it. I would appreciate       > your suggestions on this.              Start with FOLLOW(A), FOLLOW(B) empty, and then       repeatedly recalculate them, until they stop growing.              Russ              --- 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