l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2001 Dec 30 17:08

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] yacc/lex bison/flex
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] yacc/lex bison/flex

On Fri, Aug 17, 2001 at 08:41:36AM -0700, Peter Jay Salzman wrote:
> dear all,
> is either yacc/lex or bison/flex a standard thing to be on peoples' systems?
> do most distros install them by default?
> i know they're pretty standard on debian, but i'm mainly curious about
> standard redhat, mandrake and suse installs.

AFAICT, it's standard on RedHat.

However, a good rule of thumb is not to require it to be installed if
it's a "production" package - IOW, have the .y files already compiled
into .c files.  You can assume it for "developer" packages.

> the issue here is that i need to find a better way of parsing input.
> currently, i do a lot of string acrobatics.  the glib library has made the
> acrobatics less death-defying, but it's still a kludge.
> i've been thinking about using libregex, but it's really not as powerful as i
> would've liked it to be.  and it's certainly not convenient.   i thought
> about libpre3, but i KNOW this library isn't installed by default on many
> distros.

Ah, I see now.  You don't have to worry about bison or flex being
installed on other people's systems - just use it on your own, and
distribute only the .c output files from them with your gzipped

Bison/flex aren't libraries - they're compilers; they compile
bison/flex code into C code.  So once you've compiled on your system,
you no longer have to fuss with what other people have (besides a C


LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.