Skip to content
EntityQ1050437· pop 12· linked from 23 articles

Also known as flex.1, flex++, flex(1), lex.1, lex(1), Fast lexical analyzer generator, lex

analyseur lexical

Source code

flex is a tool for generating scanners: programs which recognize lexical patterns in text. The flex codebase is kept in Git on GitHub. Source releases of flex with some intermediate files already built can be found on the github releases page. Use GitHub's issues and pull request features to file bugs and submit patches. [email protected] - where posts will be made announcing new releases of flex. [email protected] - where you can post questions about using flex [email protected] - where you can discuss development of flex itself This code is derived from software contributed to Berkeley by Vern Paxson. The United States Government has rights in this work pursuant to contract no. DE-AC03-76SF00098 between the United States Department of Energy and the University of California. Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Excerpt from the source-code README · 2,980 chars · not written by Vinony

Wikidata facts

Official website
github.com/westes/flex
Show 7 more facts
software version identifier
2.6.2
programmed in
Q15777
copyright license
BSD licenses
source code repository URL
git://github.com/westes/flex.git
inception
1987-00-00
implementation of
lex
operating system
Q3251801
Sources (8)

via Wikidata · CC0

Article · Français

Flex est une version libre de l'analyseur lexical Lex. Il est généralement associé à l'analyseur syntaxique GNU Bison, la version GNU de Yacc. Flex est un outil pour générer des analyseurs, programmes qui reconnaissent des motifs lexicaux dans du texte. Il lit les fichiers d'entrée donnés, ou bien son entrée standard si aucun fichier n'est donné, pour obtenir la description de l'analyseur à générer. La description est une liste de paires d'expressions rationnelles et de code C, appelées règles. En sortie, flex génère un fichier source en langage C, appelé `lex.yy.c', qui définit une routine `yylex'. Ce fichier est compilé et lié avec l'option `-lfl' (correspondant à la bibliothèque flex) afin de produire un programme exécutable. Quand l'exécutable est lancé, il analyse son entrée afin d'y trouver des occurrences correspondant aux précédentes expressions régulières. À chaque expression trouvée, il exécute le code C correspondant. Un outil similaire fonctionnant avec le langage C++ est flex++.

Abstract from DBpedia / Wikipedia · CC BY-SA