Pete Jinks' Compiler Pages

Information


How do I get yacc & lex for my PC?

Windows-95 (beta) queries, requests or bug reports

Shankar Unni wrote:
Both flex and bison build more or less out of the box on Windows with the Visual C++ compiler, or with the Cygnus gcc (see http://www.cygnus.com).

WStreett@shell.monmouth.com (Wilbur Streett) wrote:
I've got a port of Flex/BISON on my web pages at http://www.monmouth.com/~wstreett/lex-yacc/lex-yacc.html As far as I know, they work fine, lots of downloads, but no complaints to date.

Try searching for "bison" and "flex" from "gnu" or "fsf". When I did this at winsite (5/March/97) I found:
pbisn116.zip winnt 81.1 K 01/01/1996 Gnu Bison for PowerPC/NT
pflex237.zip winnt 87.3 K 01/01/1996 GNU flex for PowerPC/NT
flexbison.zip win95 432.7 K 08/10/1995 Flex and Bison: lex. analyzer and parser generator
mbison.zip winnt 130.5 K 02/19/1993 NT GNU Bison for MIPS R4000 processors (Feb 1993 build)
mflex.zip winnt 130.5 K 02/19/1993 NT GNU Flex for MIPS R4000 processors (Feb 1993 build)
ibison.zip winnt 77 K 02/19/1993 NT GNU Bison for i386+ processors (Feb 1993 build)
iflex.zip winnt 81.7 K 02/19/1993 NT GNU Flex for i386+ processors (Feb 1993 build)


How do I RTFM about gcc/bison/yacc/byacc/lex/flex/sh/csh/ksh/c/sml/...?

man e.g. man gcc
You should be able to find usage information about any package.
Remember that when more pauses you can type e.g. /-c to cause it to jump to information about -c
Also try man flexdoc for flex

ginfo (you may know this as texinfo) e.g. ginfo gcc
You should be able to find information about any GNU package e.g. gcc, bison, flex, bash; bison approximates yacc and byacc, flex approximates lex, bash approximates sh.


Miscellaneous

Examples of BNF, Syntax Diagrams, and EBNF

Humourous looks at programming languages

NASA spacecraft lost because of typing errors (alt.folklore.computers FAQ)

origins of C

Rationale for ANSI C


List of Lists about Programming Languages and Compilers

information about C (which points to information about C and other languages) maintained by Lysator computer society, an association of computer science students at Linkoping University, Sweden.
which point, among other places, to The Programming Language Critiques Page

EG3's Free Electronic Engineers' Toolbox links to Compiler resources: buyer's guide Internet resources White papers, FAQs, overviews
The Compiler Connection
catalog of free compilers and interpreters plus related information
Yahoo's list of programming languages etc. - check the list of indices!

Bibliographies on Programming Languages and Compiler Technology (over 12000 references last time I looked)

Another bibliography: Compilers and Interpreters Archive

ACM SIGPLAN

Catalog of Free Compilers and Interpreters (searchable)
catalog of compiler construction tools

The WWW Virtual Library: Computing, Programming Languages

European Association for Programming Languages and Systems

Programming Language Exploration This is a short set of tutorials & examples run during a conference (IAP Jan 12 - Feb 2 1996, whatever that is), rather than a taught undergraduate or postgraduate course. Probably because of that, it looks very interesting! It looks at Object-Oriented, Functional and Logic languages, but it also contains some relevant general information.
Here are some links etc. stolen from PLE.


comp.lang.misc

Is full of discussions about language design.

comp.compilers

comp.compilers archive & FAQ
or ftp archive Directory pub/index contains index files, one for each year back to 1986
also archived as Compiler Archive

WAIS indexed archive in Singapore

A reading list about lex, yacc and compiling in general from the FAQ.

links to resources mentioned in comp.compilers

Various discussions from comp.compiler about language design: