flex-desc.xml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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
  10. what to look for and flex will make a program that looks for those
  11. patterns. The reason people use flex is that it is much easier to set up
  12. rules for what to look for than to write the actual program which finds
  13. the text.</para></sect4>
  14. <sect4><title>flex++</title>
  15. <para>flex++ invokes a version of flex which is used exclusively for
  16. C++ scanners.</para></sect4>
  17. <sect4><title>lex</title>
  18. <para>We create a bash script called lex which calls flex using the -l option.
  19. This is for compatibility purposes for programs which use lex instead
  20. of flex.</para></sect4>
  21. </sect3>
  22. <sect3><title>Library Files</title>
  23. <para>libfl.a</para></sect3>
  24. <sect3><title>Descriptions</title>
  25. <sect4><title>libfl</title>
  26. <para>libfl is the flex library.</para></sect4>
  27. </sect3>
  28. </sect2>