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,045 of 2,753    |
|    Armel to All    |
|    coupling LALR with a scanner?    |
|    05 Jul 11 01:02:22    |
      From: armelasselin@hotmail.com              Hi,              I am exploring the possibility of choosing between several lexers depending       on the current state of an LALR parser (i.e. if a state can accept       productions such as A => A . 'a' b, B => . 'c', then the selected lexer will       accept (at least) 'a' and 'c', for rightmost positions the lookahead symbols       would be acceptable as well)              Is there any literature about this? or example? I searched around for       scannerless/lexerless parsing but could not make my mind.              Regards       Armel Asselin       [The usual approach is to set flex start states in your yacc or bison parser.       -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