/FLEX_examples

Contains code snippets and program examples for creating lexical analysers using FLEX

Primary LanguageC

FLEX_examples

Contains code snippets and program examples for creating lexical analysers using FLEX

Compilation

For compiling any .lex file, go to the specific folder and type the following commands:

>> flex <file_name>.lex
>> gcc lex.yy.c
>> ./a.out
(Program running...)