flex is a tool for generating scanners. A scanner, sometimes called a tokenizer, is a program which recognizes lexical patterns in text. The flex program reads user-specified input files, or its standard input if no file names are given, for a description of a scanner to generate. The description is in the form of pairs of regular expressions and C code, called rules. Flex generates a C source file named, "lex.yy.c", which defines the function yylex(). The file "lex.yy.c" can be compiled and linked to produce an executable. When the executable is run, it analyzes its input for occurrences of text matching the regular expressions for each rule. Whenever it finds a match, it executes the corresponding C code.

Project Activity

See All Activity >

Categories

Code Generators

License

BSD License

Follow flex: the fast lexical analyser

flex: the fast lexical analyser Web Site

You Might Also Like
Safety Management Platform | SafetyIQ Icon
Safety Management Platform | SafetyIQ

Keep your workers safe, no matter where they are

SafetyIQ is revolutionizing the way businesses approach safety. As a leading provider of comprehensive workplace safety software, we cater to four key areas: Mobile Worker Safety, EHS (Environment, Health, and Safety), Fatigue Management, and Training. Our platform is designed to safeguard your workers, no matter their location or task, ensuring all-around safety compliance. Unlike most safety software providers that only react to incidents or implement proactive measures, SafetyIQ introduces a third pillar to safety management - predictive analytics. We transform the untapped wealth of safety data within your organization into actionable insights to inform safety strategies, mitigating risks even before they aris
Rate This Project
Login To Rate This Project

User Ratings

★★★★★
★★★★
★★★
★★
11
0
0
0
0
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 5 / 5

User Reviews

  • +1
  • Thanks for software and updates.
    1 user found this review helpful.
  • Great App ,Excellent
  • I am not able to see the video of these tutorials. If I could it is really a good job
  • Making install in test-table-opts Error expanding embedded variable *** Error code 1 " How did you compile it?
Read more reviews >

Additional Project Details

Operating Systems

Linux, BSD

Intended Audience

Developers

Programming Language

C++, C

Related Categories

C++ Code Generators, C Code Generators

Registered

2003-12-17