flâneur — a map of the web's best reading

Lexical Analysis With Flex, for Flex 2.6.2: Introduction

westes.github.io · 145 words · saved by 1 readers

Lexical Analysis With Flex, for Flex 2.6.2: Introduction

Lexical Analysis With Flex, for Flex 2.6.2: Introduction Next: Simple Examples , Previous: Reporting Bugs , Up: Top [ Contents ][ Index ] 3 Introduction flex is a tool for generating scanners . A scanner is a program which recognizes lexical patterns in text. The flex program reads the given 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 as output a C source file, lex.yy.c by default, which defines a routine yylex() . This file can

Explore this link on the map →

related reading