Differences between version 5 and previous revision of Flex.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 5 | Last edited on Saturday, October 25, 2003 6:01:28 pm | by StuartYeates | Revert |
Older page: | version 4 | Last edited on Saturday, August 23, 2003 2:33:24 pm | by KarlBriscoe | Revert |
@@ -1,9 +1,9 @@
An [Acronym] for __f__ast __lex__ical analyzer generator.
[Flex] is used to generate [C] programs that perform pattern matching on text. It produces a single __lex.yy.c__ file which defines a single __yylex()__ function, which can compiled and linked with __libfl__ to produce an executable that analyzes its input for occurrences of regular expresÂsions. Whenever it finds one, it executes the correspondÂing C code.
-It is usually used in conjunction with [Bison]. The [Flex] code then passes the tokens it finds to the [Yacc]
style parser generated by [Bison].
+It is usually used in conjunction with [Bison]. The [Flex] code then passes the tokens it finds to the yacc(1)
style parser generated by [Bison].
As a completely spurious example this is what the rules file could look like:
%{
@@ -19,4 +19,6 @@
%%
/*user supplied functions */
+
+See also: lex(1) yacc(1)