Re: flex scanner too huge, suggestions?

"Ron Pinkas" <Ron@Profit-Master.com>
25 Feb 2001 10:51:47 -0500

          From comp.compilers

Related articles
flex scanner too huge, suggestions? troy@bell-labs.com (Troy Cauble) (2001-02-17)
Re: flex scanner too huge, suggestions? tej@melbpc.org.au (Tim Josling) (2001-02-23)
Re: flex scanner too huge, suggestions? snicol@apk.net (Scott Nicol) (2001-02-23)
Re: flex scanner too huge, suggestions? rkrayhawk@aol.com (2001-02-23)
Re: flex scanner too huge, suggestions? olsenc@ichips.intel.com (2001-02-25)
Re: flex scanner too huge, suggestions? Ron@Profit-Master.com (Ron Pinkas) (2001-02-25)
Re: flex scanner too huge, suggestions? troy@bell-labs.com (Troy Cauble) (2001-03-01)
| List of all articles for this month |
From: "Ron Pinkas" <Ron@Profit-Master.com>
Newsgroups: comp.compilers
Date: 25 Feb 2001 10:51:47 -0500
Organization: InternetConnect, Inc. - http://www.internetconnect.net/
References: 01-02-097
Keywords: lex
Posted-Date: 25 Feb 2001 10:51:47 EST

Troy,


> I'm looking for suggestions for either tweaking my flex
> implementation or switching to another scanner generator.


You might want to check SimpLex at:


http://sourceforge.net/projects/simplex


It is an ANSI C, open source, bison compatible, generic lexer. It is not a
generator, rather, it is data driven by an #included .slx language
definition file. It has very strong context capabilities by utilizing YACC
like rules for context analysis.


The resulting lexer is typically 1/2 to 1/4 of an equivalent Flex generated
lexer, and is just as fast (or faster).


Ron Pinkas


Post a followup to this message

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