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 979 of 2,753    |
|    Thomas Dickey to All    |
|    Re: Flex / Bison Multiple parser questio    |
|    20 Jun 07 12:12:20    |
      From: dickey@saltmine.radix.net              > [That was certainly an issue 20 years ago. But today? -John]              not to the same extent. However, for the same reasons then - one might have       a language which doesn't have the same syntax, e.g., it requires some sort       of mode-switch. Rather than have very-large tables that can handle all       combinations (and mostly unused), you could switch lexers/parsers.              Now that I'm thinking of it, I have an application with more than 50       lexers - the syntax highlighting in vile:               http://invisible-island.net/vile/              But since lexers are adequate for that, they don't need/use yacc.              --       Thomas E. Dickey       http://invisible-island.net       ftp://invisible-island.net              --- 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