Re: Parser/Lexer

2000-08-11 Thread Bryan C . Warnock
On Fri, 11 Aug 2000, Nick Ing-Simmons wrote: > In order to make that work you have required the lexer to pass you the {space} > markers. That makes the parser do a lot more work throwing them away. > > It can also easily stop grammar being LALR(1) and hence yacc/bison > parsable - you burn off yo

RE: Parser/Lexer

2000-08-11 Thread Nick Ing-Simmons
Garrett Goebel <[EMAIL PROTECTED]> writes: >From: Nick Ing-Simmons [mailto:[EMAIL PROTECTED]] >> >> In order to make that work you have required the lexer to >> pass you the {space}markers. That makes the parser do a lot >> more work throwing them away. >> >> It can also easily stop grammar bei

RE: Parser/Lexer

2000-08-11 Thread Garrett Goebel
From: Nick Ing-Simmons [mailto:[EMAIL PROTECTED]] > > In order to make that work you have required the lexer to > pass you the {space}markers. That makes the parser do a lot > more work throwing them away. > > It can also easily stop grammar being LALR(1) and hence yacc/bison > parsable - you b

Parser/Lexer

2000-08-11 Thread Nick Ing-Simmons
Bryan C . Warnock <[EMAIL PROTECTED]> writes: >On Thu, 10 Aug 2000, Dan Sugalski wrote: > >> With each box being replaceable, and the process being freezable between >> boxes. The lexer and parser probably ought to be separated, thinking about >> it. > >Not necessarily. It might be dangerous to