Added a few comments here and there
[linux_from_scratch.git] / newxml / appendixa / flex.xml
blob13fedeb8ead5462a66f0d89704a2dc2e1cb720f1
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3CR2//EN" "http://www.docbook.org/xml/4.3CR2/docbookx.dtd" [
3   <!ENTITY % flex-entities SYSTEM "../ent/flex.ent">
4   %flex-entities;
5 ]>
6 <sect1 id="aa-flex" xreflabel="Flex">
7 <title>Flex</title>
8 <?dbhtml filename="flex.html"?>
10 <para>For installation instructions see <xref linkend="ch06-flex"/>.</para>
12 <sect2><title>Official Download Location</title>
14 <literallayout>Flex (&flex-version;): 
15 <ulink url="ftp://ftp.gnu.org/non-gnu/flex/"/></literallayout>
16 </sect2>
18 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="flex-contents.xml"/>
22 <sect2><title>Short descriptions</title>
24 <para><command>flex</command> is a tool for generating programs that
25 recognize patterns in text. Pattern recognition is useful in many applications.
26 From a set of rules on what to look for flex makes a program that looks for
27 those patterns. The reason to use flex is that it is much easier to specify
28 the rules for than to write the actual pattern-finding program.</para>
30 <para><command>flex++</command> invokes a version of flex that is used
31 exclusively for C++ scanners.</para>
33 <para><command>libfl.a</command> is the flex library.</para>
35 </sect2>
39 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="flex-deps.xml"/>
43 </sect1>