Top "Lex" questions

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

error: unknown type name ‘bool’

I downloaded the source code and wanted to compile the file of scanner. It produces this error: [meepo@localhost cs143…

c gcc lex
how to install Lex and Yacc in Ubuntu?

I am doing project in SENSE, for that i have to install Lex and Yacc. If you can help me …

yacc lex
How to compile LEX/YACC files on Windows?

I'm having Lex and YACC files to parse my files (.l file and .y file). How to compile those files …

windows bison yacc lex flex-lexer
Lex - How to run / compile a lex program on commandline

I am very new to Lex and Yacc. I have a Lex program. Example: wordcount.l I am using windows …

c lex
Regular expression for a string literal in flex/lex

I'm experimenting to learn flex and would like to match string literals. My code currently looks like: "\""([^\n\"\\]*(\\[.\n])*)*"\"" {/*matches …

c regex lex string-literals flex-lexer
Good tools for creating a C/C++ parser/analyzer

What are some good tools for getting a quick start for parsing and analyzing C/C++ code? In particular, I'm …

c++ c parsing yacc lex
What is the difference between Flex/Lex and Yacc/Bison?

What is the difference between Flex & Lex and Yacc & Bison. I searched the Internet wildly and I didn't …

parsing bison yacc flex-lexer lex
what is the difference between lex and yacc

I have worked with lex for executing some code whenever some regular expression is found, Can Yacc do something more …

yacc lex
Resources for lexing, tokenising and parsing in python

Can people point me to resources on lexing, parsing and tokenising with Python? I'm doing a little hacking on an …

python parsing resources lex
String input to flex lexer

I want to create a read-eval-print loop using flex/bison parser. Trouble is, the flex generated lexer wants input of …

c bison yacc lex flex-lexer