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,586 of 2,753    |
|    Kaz Kylheku to Roger L Costello    |
|    Re: Has lexing and parsing theory advanc    |
|    17 Sep 21 05:51:32    |
      [continued from previous message]              The lookahead example of ++ vs += isn't very good since a LALR       parser only needs to look ahead when it reduces but in general you're       right, it'd be a problem. A much worse problem in combined parsers is       getting rid of noise like comments and white space. In a separate lexer       you can easily discard them between tokens, in a combined lex/parse you       have to include them everywhere they can occur. -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