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,016 of 2,753    |
|    Daniel Zingaro to All    |
|    Reasonable Non-LR Grammar    |
|    31 Jul 07 19:34:39    |
      From: zingard@mcmaster.ca              Hi all,              Does anyone have a good example of a piece of a (possible) programming       language grammar which is not LR(k)? I'm specifically looking for an       example of where we can easily use Accent (a compiler-compiler using       Earley parsers) without having to mess around with a grammar to avoid LR       conflicts. I can contrive (mostly bad) examples but wondering what       examples others have.              Thanks,       Dan       [There's always C++, although that may fail the bad example rule. -John]              --- 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