flex-desc.xml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <sect2><title>Contents of Flex</title>
  2. <para>Last checked against version &flex-contversion;.</para>
  3. <sect3><title>Program Files</title>
  4. <para>flex, flex++ (link to flex) and lex</para></sect3>
  5. <sect3><title>Descriptions</title>
  6. <sect4><title>flex</title>
  7. <para>flex is a tool for generating programs which recognize
  8. patterns in text. Pattern recognition is very useful in many applications.
  9. A user sets up rules about what to look for and flex will make a program
  10. that looks for those patterns. The reason people use flex is that it is
  11. much easier to set up rules for what to look for than to write the actual
  12. program which finds the text.</para></sect4>
  13. <sect4><title>flex++</title>
  14. <para>flex++ invokes a version of flex which is used exclusively for
  15. C++ scanners.</para></sect4>
  16. <sect4><title>lex</title>
  17. <para>We create a bash script called lex which calls flex using the -l option.
  18. This is for compatibility purposes for programs which use lex instead
  19. of flex.</para></sect4>
  20. </sect3>
  21. <sect3><title>Library Files</title>
  22. <para>libfl.a</para></sect3>
  23. <sect3><title>Descriptions</title>
  24. <sect4><title>libfl</title>
  25. <para>libfl is the flex library.</para></sect4>
  26. </sect3>
  27. </sect2>