|why use flex? firstname.lastname@example.org (Frank Hale) (1999-01-27)|
|Re: why use flex? email@example.com (1999-01-31)|
|Re: why use flex? firstname.lastname@example.org (1999-01-31)|
|Re: why use flex? email@example.com (1999-02-01)|
|Re: why use flex? firstname.lastname@example.org (1999-02-03)|
|Re: why use flex? Marko.Makela@HUT.FI (Marko =?ISO-8859-1?Q?M=E4kel=E4?=) (1999-02-03)|
|Re: why use flex? email@example.com (1999-02-05)|
|Re: why use flex? Theodore.Papadopoulo@sophia.inria.fr (Theodore.Papadopoulo) (1999-02-05)|
|[3 later articles]|
|Date:||31 Jan 1999 01:13:51 -0500|
On 27 Jan 1999 21:15:32 -0500, Frank Hale <firstname.lastname@example.org> wrote:
>Why would someone use flex as opposed to writing there own lexer? I am
>developing my own scripting language and find it much simpler to
>create a lexer on my own, that way I can tailor it to my needs. What
>makes using flex any easier, the code it generates is very large and
>confusing even for a simple lexer.
I would expect that for most users of flex/lex, the complexity of the
generated scanner code is of little importance. The flex source is
what they will be maintaining. My experience is that flex scanners
are easy to maintain and particularly easy to expend compared to hand
coded scanners. On the other hand, I have not had occasion to need
scanning speeds above those easily obtainable with flex.
Return to the
Search the comp.compilers archives again.