Solved

FLEX - where to find long examples

Posted on 1998-08-01
5
222 Views
Last Modified: 2010-04-15
 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
Comment
Question by:mattybat
  • 3
  • 2
5 Comments
 
LVL 2

Expert Comment

by:duneram
ID: 1251889
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
 
LVL 32

Accepted Solution

by:
jhance earned 20 total points
ID: 1251890
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
 
LVL 2

Expert Comment

by:duneram
ID: 1251891
There are problems with the book though.  Just letting you know before hand.  I have programmed using it.
0
 
LVL 32

Expert Comment

by:jhance
ID: 1251892
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
 
LVL 2

Expert Comment

by:duneram
ID: 1251893
yeah I had both editions 1 & 2
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
This tutorial is posted by Aaron Wojnowski, administrator at SDKExpert.net.  To view more iPhone tutorials, visit www.sdkexpert.net. This is a very simple tutorial on finding the user's current location easily. In this tutorial, you will learn ho…
The goal of this video is to provide viewers with basic examples to understand recursion in the C programming language.
The goal of this video is to provide viewers with basic examples to understand opening and reading files in the C programming language.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question