summaryrefslogtreecommitdiff
path: root/README
blob: 482a9514dc00347ca2fc7419f789c081ea1980f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// $Header$

This is release 2.3 of flex - a full release.

The flex distribution consists of the following files:

	README		This message

	Makefile
	flexdef.h
	parse.y
	scan.l
	ccl.c
	dfa.c
	ecs.c		flex sources
	gen.c
	main.c
	misc.c
	nfa.c
	sym.c
	tblcmp.c
	yylex.c

	libmain.c	flex library (-lfl) source

	initscan.c	pre-flex'd version of scan.l

	flex.skel	skeleton for generated scanners

	flexdoc.1	full user documentation
	flex.1		reference documentation

	Changes		Differences between this release and the previous one

	COPYING		flex's copyright

	MISC/		a directory containing miscellaneous porting-related
			notes (for Atari, MS-DOS, Turbo-C, and VMS)


Decide where you want to keep flex.skel (suggestion:  /usr/local/lib),
but don't move it there yet.  Edit "Makefile" and change the definition
of SKELETON_FILE to reflect the full pathname of flex.skel.

Read the "Porting considerations" note in the Makefile and make
the necessary changes.

To make flex for the first time, use:

    make first_flex

which uses the pre-generated copy of the flex scanner (the scanner
itself is written using flex).

Assuming it builds successfully, you can test it using

    make test

The "diff" should not show any differences.

If you're feeling adventurous, issue "make bigtest" and be prepared
to wait a while.

Install flex using:

	make install


Please send problems and feedback to:

	vern@ee.lbl.gov
	ucbvax!ee.lbl.gov!vern

	Vern Paxson
	Computer Systems Engineering
	46A/1123
	Lawrence Berkeley Laboratory
	1 Cyclotron Rd.
	Berkeley, CA 94720