xref: /minix3/external/bsd/flex/dist/README (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1357f1050SThomas VeermanThis is flex, the fast lexical analyzer generator.
2357f1050SThomas Veerman
3357f1050SThomas Veermanflex is a tool for generating scanners: programs which recognize
4357f1050SThomas Veermanlexical patterns in text.
5357f1050SThomas Veerman
6357f1050SThomas VeermanMore information about flex as well as the latest official release of
7357f1050SThomas Veermanflex can be found at:
8357f1050SThomas Veerman
9357f1050SThomas Veermanhttp://flex.sourceforge.net/
10357f1050SThomas Veerman
11*0a6a1f1dSLionel SambucBug reports should be submitted using the SourceForge Bug Tracker for
12*0a6a1f1dSLionel Sambucflex at:
13357f1050SThomas Veerman
14*0a6a1f1dSLionel Sambuchttp://sourceforge.net/tracker/?group_id=97492&atid=618177
15*0a6a1f1dSLionel Sambuc
16*0a6a1f1dSLionel SambucThe flex codebase is kept in git at:
17*0a6a1f1dSLionel Sambuc
18*0a6a1f1dSLionel Sambuchttps://github.com/westes/flex
19357f1050SThomas Veerman
20357f1050SThomas VeermanThere are several mailing lists available as well:
21357f1050SThomas Veerman
22357f1050SThomas Veermanflex-announce@lists.sourceforge.net - where posts will be made
23357f1050SThomas Veermanannouncing new releases of flex.
24357f1050SThomas Veerman
25357f1050SThomas Veermanflex-help@lists.sourceforge.net - where you can post questions about
26357f1050SThomas Veermanusing flex
27357f1050SThomas Veerman
28357f1050SThomas Veermanflex-devel@lists.sourceforge.net - where you can discuss development of
29357f1050SThomas Veermanflex itself
30357f1050SThomas Veerman
31*0a6a1f1dSLionel SambucFind information on subscribing to the mailing lists at:
32*0a6a1f1dSLionel Sambuc
33*0a6a1f1dSLionel Sambuchttp://sourceforge.net/mail/?group_id=97492
34*0a6a1f1dSLionel Sambuc
35*0a6a1f1dSLionel SambucThe flex distribution contains the following files which may be of interest:
36*0a6a1f1dSLionel Sambuc
37*0a6a1f1dSLionel SambucREADME - This file.
38*0a6a1f1dSLionel Sambuc
39*0a6a1f1dSLionel SambucNEWS - current version number and list of user-visible changes.
40*0a6a1f1dSLionel Sambuc
41*0a6a1f1dSLionel SambucINSTALL - basic installation information.
42*0a6a1f1dSLionel Sambuc
43*0a6a1f1dSLionel SambucABOUT-NLS - description of internationalization support in flex.
44*0a6a1f1dSLionel Sambuc
45*0a6a1f1dSLionel SambucCOPYING - flex's copyright and license.
46*0a6a1f1dSLionel Sambuc
47*0a6a1f1dSLionel Sambucdoc/ - user documentation.
48*0a6a1f1dSLionel Sambuc
49*0a6a1f1dSLionel Sambucexamples/ - containing examples of some possible flex scanners and a
50*0a6a1f1dSLionel Sambucfew other things. See the file examples/README for more details.
51*0a6a1f1dSLionel Sambuc
52*0a6a1f1dSLionel SambucTODO - outstanding bug reports, desired features, etc.
53*0a6a1f1dSLionel Sambuc
54*0a6a1f1dSLionel Sambuctests/ - regression tests. See TESTS/README for details.
55*0a6a1f1dSLionel Sambuc
56*0a6a1f1dSLionel Sambucpo/ - internationalization support files.
57*0a6a1f1dSLionel Sambuc
58*0a6a1f1dSLionel SambucYou need the following tools to build flex from the maintainer's
59*0a6a1f1dSLionel Sambucrepository:
60*0a6a1f1dSLionel Sambuc
61*0a6a1f1dSLionel Sambuccompiler suite - flex is built with gcc
62*0a6a1f1dSLionel Sambucbash, or a good Bourne-style shell
63*0a6a1f1dSLionel Sambucm4 - m4 -p needs to work; GNU m4 and a few others are suitable
64*0a6a1f1dSLionel SambucGNU bison;  to generate parse.c from parse.y
65*0a6a1f1dSLionel Sambucautoconf 2.69; for handling the build system
66*0a6a1f1dSLionel Sambucautomake 1.12.2; for Makefile generation
67*0a6a1f1dSLionel Sambucgettext 0.18; fori18n support
68*0a6a1f1dSLionel Sambuchelp2man 1.36; to generate the flex man page
69*0a6a1f1dSLionel Sambuctar, gzip, etc.; for packaging of the source distribution
70*0a6a1f1dSLionel SambucGNU texinfo 498;  to build and test the flex manual
71*0a6a1f1dSLionel SambucGNU indent 2.8; for indenting the flex source the way we want it done
72*0a6a1f1dSLionel Sambuc
73*0a6a1f1dSLionel SambucOnce you have all the necessary tools installed, life becomes
74*0a6a1f1dSLionel Sambucsimple. To prepare the flex tree for building, run the script:
75*0a6a1f1dSLionel Sambuc
76*0a6a1f1dSLionel Sambuc$ ./autogen.sh
77*0a6a1f1dSLionel Sambuc
78*0a6a1f1dSLionel Sambucin the top level of the flex source tree.
79*0a6a1f1dSLionel SambucThis script calls the various tools needed to get flex ready for the
80*0a6a1f1dSLionel SambucGNU-style configure script to be able to work.
81*0a6a1f1dSLionel Sambuc
82*0a6a1f1dSLionel SambucFrom this point on, building flex follows the usual configure, make,
83*0a6a1f1dSLionel Sambucmake install routine.
84357f1050SThomas Veerman
85357f1050SThomas VeermanThis file is part of flex.
86357f1050SThomas Veerman
87357f1050SThomas VeermanThis code is derived from software contributed to Berkeley by
88357f1050SThomas VeermanVern Paxson.
89357f1050SThomas Veerman
90357f1050SThomas VeermanThe United States Government has rights in this work pursuant
91357f1050SThomas Veermanto contract no. DE-AC03-76SF00098 between the United States
92357f1050SThomas VeermanDepartment of Energy and the University of California.
93357f1050SThomas Veerman
94357f1050SThomas VeermanRedistribution and use in source and binary forms, with or without
95357f1050SThomas Veermanmodification, are permitted provided that the following conditions
96357f1050SThomas Veermanare met:
97357f1050SThomas Veerman
98357f1050SThomas Veerman1. Redistributions of source code must retain the above copyright
99357f1050SThomas Veerman   notice, this list of conditions and the following disclaimer.
100357f1050SThomas Veerman2. Redistributions in binary form must reproduce the above copyright
101357f1050SThomas Veerman   notice, this list of conditions and the following disclaimer in the
102357f1050SThomas Veerman   documentation and/or other materials provided with the distribution.
103357f1050SThomas Veerman
104357f1050SThomas VeermanNeither the name of the University nor the names of its contributors
105357f1050SThomas Veermanmay be used to endorse or promote products derived from this software
106357f1050SThomas Veermanwithout specific prior written permission.
107357f1050SThomas Veerman
108357f1050SThomas VeermanTHIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
109357f1050SThomas VeermanIMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
110357f1050SThomas VeermanWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
111357f1050SThomas VeermanPURPOSE.
112357f1050SThomas Veerman
113357f1050SThomas Veerman
114