🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.unix.programmer
2 messages
2 total messages Started by Brent Burton Mon, 26 Nov 1990 04:02
yacc and lex sources
#1287
Author: Brent Burton
Date: Mon, 26 Nov 1990 04:02
13 lines
963 bytes
I have flex and bison, but out of curiousity I was wondering if 
the soruces for yacc and lex are available.  I _did_ hear recently on
the net that the yacc code is available.  However, I wasn't able to take
note of it at the time.

Thanks for any info.


             +----------------------+------------------------+
             | Brent Burton         | n138ct@tamuts.tamu.edu |
             | Texas A&M University | brentb@nuchat.UUCP     |
             +----------------------+------------------------+
Re: yacc and lex sources
#1290
Author: Len Reed
Date: Tue, 27 Nov 1990 16:02
32 lines
2100 bytes
In article <BRISTER.90Nov26133944@westworld.decwrl.dec.com> brister@decwrl.dec.com (James Brister) writes:
>On 26 Nov 90 04:02:49 GMT, n138ct@tamuts.tamu.edu (Brent Burton) said:
>
>> I have flex and bison, but out of curiousity I was wondering if 
>> the soruces for yacc and lex are available....

>I'm sure someone will point it out if I'm wrong :-), but lex and yacc are
>AT&T code that you won't be able to get unless you pay big bucks.

Correct.  Be aware, though, that flex (fast lex) comes from Berkeley is
is owned by the Regents of the U. of Calif.  Berkeley yacc is also available;
it was posted to comp.sources.{unix or misc}.  Both of these programs
have very liberal copyrights: you can do pretty much what you want with
it other than sell it or claim you wrote it.  (Don't quote me on this--get
the copyright yourself and hire a team of laywers to decode it.  :-))

Bison comes from the FSF.  It's free in the sense that it doesn't cost any
money, but it comes with more strings attached.  In particular, I wouldn't
use it to generate anything I intended to sell.

I highly recommended flex as a drop in replacement for lex.  It runs much
faster than lex, generates faster lexers, and has additional useful features.
It even runs on DOS.  I consider it to have made lex obsolete.

I have no corresponding opinions on compiler-compilers.  Bison runs on
DOS; I don't know if Berkeley yacc runs on DOS.  I yacc'ed perl with it
on Xenix 386 after it [B. yacc] was posted, but I continue to use yacc.
-- 
Len Reed
Holos Software, Inc.
Voice: (404) 496-1358
UUCP: ...!gatech!holos0!lbr
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads