Re: Lexical feedback

vern@daffy.ee.lbl.gov (Vern Paxson)
Wed, 25 Oct 1995 23:26:43 GMT

          From comp.compilers

Related articles
Lexical feedback plong@perf.com (Paul Long) (1995-09-22)
Re: Lexical feedback mnp@compass-da.com (Mitchell Perilstein) (1995-09-29)
Re: Lexical feedback plong@perf.com (Paul Long) (1995-10-06)
Lexical feedback 75066.3204@CompuServe.COM (Carl Barron) (1995-10-21)
Re: Lexical feedback rich@rdp.introl.com (Richard Pennington) (1995-10-22)
Re: Lexical feedback pardo@cs.washington.edu (1995-10-23)
Re: Lexical feedback vern@daffy.ee.lbl.gov (1995-10-25)
| List of all articles for this month |

Newsgroups: comp.compilers
From: vern@daffy.ee.lbl.gov (Vern Paxson)
Keywords: parse, yacc, lex
Organization: Lawrence Berkeley Laboratory, Berkeley CA
References: 95-09-143 95-10-032 95-10-065 95-10-122
Date: Wed, 25 Oct 1995 23:26:43 GMT

David Keppel <pardo@cs.washington.edu> wrote:
> I believe -- but haven't used it for sure, so I won't promise -- that
> the current version of `flex' supports a lexer with multiple entry points.


John adds:
> [I haven't seen a version of flex that does that, but it's easy to fake with
> exclusive start states. -John]


John's right. Flex doesn't have hooks for multiple entry points, but
usually you can accomplish what you need in this regard by using exclusive
start states.


Vern
--


Post a followup to this message

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