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