Differences between version 3 and previous revision of Flex.
Other diffs: Previous Major Revision, Previous Author, or view the Annotated Edit History
Newer page: | version 3 | Last edited on Saturday, August 23, 2003 11:28:47 am | by WikiAdmin | Revert |
Older page: | version 2 | Last edited on Saturday, August 23, 2003 10:08:23 am | by AristotlePagaltzis | Revert |
@@ -1,5 +1,5 @@
-An [Acronym] for __f__ast __l
__exical __a__nalyzer __g__enerator
.
+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].