Top "Lex" questions

Lex is a computer program that generates lexical analyzers ("scanners" or "lexers"). Lex is commonly used with the yacc parser generator.

How do I remove the following 'implicit declaration of function' warnings?

How do I compile the lex file with gcc without receiving the following warnings? lex.yy.c: In function `yy_…

c lex
Undefined reference to 'yylex()'

I'm trying to use flex and bison to create a simple scripting language. Right now, I'm just trying to get …

g++ bison lex undefined-reference flex-lexer
fatal error:y.tab.h: No such file or directory on fedora

I am running my fedora on VMware Workstation. I am having a lex and yacc program. Compilation of program is …

fedora yacc lex
Lex/Flex - Scanning for the EOF character

Other people have had the following problem that I am having but I can't find anyone that has reported a …

bison yacc lex flex-lexer
Flex and Yacc - Cannot find - lfl?

Hi I'm learing Lex and yacc. I created the following lex program. %{ #include <stdio.h> %} %% [0123456789]+ printf("NUMBER\n"); […

yacc lex
bison end of file

If I forget to put an empty line at the end of any of my files my program gets a …

yacc bison lex eof
in lex how to make yyin point to a file with the main function in yacc?

I am storing the arguments passed to main in yacc in a file. Now I want the lex to read …

c yacc lex flex-lexer
Is there a Sublime Text Syntax for Flex and Bison?

I'm looking for a syntax in Sublime Text that highlights my Flex and Bison files (or lex/yacc) in a …

sublimetext2 bison yacc lex sublimetext3
What is the regex expression for CDATA

Hi I have an example CDATA here <![CDATA[asd[f]]]> and <tag1><![CDATA[asd[f]]]&…

xml regex parsing cdata lex
Getting: warning, rule cannot be matched

I am working on building a lexical and syntax analyzer. I am getting the following warning when I try to …

bison yacc lex flex-lexer