2002-06-04 12:30:14 +01:00
|
|
|
<sect2><title>Contents of Flex</title>
|
|
|
|
|
|
|
|
<para>Last checked against version &flex-contversion;.</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2002-02-06 23:15:46 +00:00
|
|
|
<sect3><title>Program Files</title>
|
|
|
|
<para>flex, flex++ (link to flex) and lex</para></sect3>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2002-02-06 23:15:46 +00:00
|
|
|
<sect3><title>Descriptions</title>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2002-02-06 23:15:46 +00:00
|
|
|
<sect4><title>flex</title>
|
|
|
|
<para>flex is a tool for generating programs which recognize
|
|
|
|
patterns in text. Pattern recognition is very useful in many applications.
|
|
|
|
A user sets up rules
|
2001-01-24 00:31:17 +00:00
|
|
|
what to look for and flex will make a program that looks for those
|
2002-09-18 19:31:39 +01:00
|
|
|
patterns. The reason people use flex is that it is much easier to set up
|
|
|
|
rules for what to look for than to write the actual program which finds
|
2002-02-06 23:15:46 +00:00
|
|
|
the text.</para></sect4>
|
|
|
|
|
|
|
|
<sect4><title>flex++</title>
|
|
|
|
<para>flex++ invokes a version of flex which is used exclusively for
|
|
|
|
C++ scanners.</para></sect4>
|
|
|
|
|
|
|
|
<sect4><title>lex</title>
|
2002-05-10 23:22:45 +01:00
|
|
|
<para>We create a bash script called lex which calls flex using the -l option.
|
2002-02-06 23:15:46 +00:00
|
|
|
This is for compatibility purposes for programs which use lex instead
|
|
|
|
of flex.</para></sect4>
|
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3><title>Library Files</title>
|
|
|
|
<para>libfl.a</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>Descriptions</title>
|
|
|
|
|
|
|
|
<sect4><title>libfl</title>
|
2002-05-23 18:04:36 +01:00
|
|
|
<para>libfl is the flex library.</para></sect4>
|
2002-02-06 23:15:46 +00:00
|
|
|
|
|
|
|
</sect3>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|