Re: Buffered input for a lexer?

"Stefan Monnier" <monnier+comp.compilers/news/@RUM.cs.yale.edu>
19 Apr 2002 22:53:53 -0400

          From comp.compilers

Related articles
[13 earlier articles]
Re: Buffered input for a lexer? bear@sonic.net (Ray Dillinger) (2002-04-10)
Re: Buffered input for a lexer? cgweav@aol.com (2002-04-13)
Re: Buffered input for a lexer? ralph@inputplus.co.uk (2002-04-16)
Re: Buffered input for a lexer? joachim_d@gmx.de (Joachim Durchholz) (2002-04-16)
Re: Buffered input for a lexer? cgweav@aol.com (2002-04-17)
Re: Buffered input for a lexer? rhyde@cs.ucr.edu (Randall Hyde) (2002-04-19)
Re: Buffered input for a lexer? monnier+comp.compilers/news/@RUM.cs.yale.edu (Stefan Monnier) (2002-04-19)
Re: Buffered input for a lexer? rhyde@cs.ucr.edu (Randall Hyde) (2002-04-20)
Re: Buffered input for a lexer? joachim_d@gmx.de (Joachim Durchholz) (2002-04-23)
Re: Buffered input for a lexer? bear@sonic.net (Ray Dillinger) (2002-04-23)
Re: Buffered input for a lexer? rhyde@cs.ucr.edu (Randall Hyde) (2002-04-23)
| List of all articles for this month |
From: "Stefan Monnier" <monnier+comp.compilers/news/@RUM.cs.yale.edu>
Newsgroups: comp.compilers
Date: 19 Apr 2002 22:53:53 -0400
Organization: Compilers Central
References: 02-04-061 02-04-081 02-04-097 02-04-116
Keywords: lex, performance
Posted-Date: 19 Apr 2002 22:53:53 EDT

>>>>> "Randall" == Randall Hyde <rhyde@cs.ucr.edu> writes:
> [How about looking at the end of the file, and using a special slow
> version of the lexer if the eof isn't a newline? -John]


You mean, copy the text, add the missing newline and go back
to the fast version ?


Stefan
[Well, no, but that's probably a better approach. -John]



Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.