• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 249
  • Last Modified:

FLEX - where to find long examples

 I'm using flex to make a scanner, I'm trying to look for longer examples apart
from the ones that come with flex itself.  I've been searching all over the web with
no luck.
  I would be pleased if someone had any longish examples or a site where I could
find some.

Thanks a lot Matt.
0
mattybat
Asked:
mattybat
  • 3
  • 2
1 Solution
 
duneramCommented:
long examples of what?  are you trying to scan sentences of text or numbers?  what is the nature of your tokens you are trying to isolate?

I have written many languages using these tools.
0
 
jhanceCommented:
This book "lex & yacc" is without a doubt the definitive book on the subject.  It is full of examples and I can't imagine writing any significant lex or yacc application without it.

http://www.oreilly.com/catalog/lex/
0
 
duneramCommented:
There are problems with the book though.  Just letting you know before hand.  I have programmed using it.
0
 
jhanceCommented:
Are you using the 2nd edition?  It cleans up most of the problems.  Also, you can download the examples (cleanup up) from the ftp.ora.com website.
0
 
duneramCommented:
yeah I had both editions 1 & 2
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now