Top "Flex-lexer" questions

Flex (fast lexical analyzer generator) is a free software that generates lexical analyzers ("scanners" or "lexers").

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
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
Undefined Reference To yywrap

I have a simple "language" that I'm using Flex(Lexical Analyzer), it's like this: /* Just like UNIX wc */ %{ int chars = 0; …

flex-lexer
Is there an alternative for flex/bison that is usable on 8-bit embedded systems?

I'm writing a small interpreter for a simple BASIC like language as an exercise on an AVR microcontroller in C …

parsing embedded bison flex-lexer avr-gcc
Use regular expression to match ANY Chinese character in utf-8 encoding

For example, I want to match a string consisting of m to n Chinese characters, then I can use: [single …

regex unicode flex-lexer non-english
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
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
premature eof error in flex file

I have the following code and it gives an error" "hello.l",line 31: premature EOF" when I run the following …

c bison lexical-analysis flex-lexer
unistd.h related difficulty when compiling bison & flex program under vc++

I'm using bison & flex (downloaded via cygwin) with vc++. When I compile the program I got an error: ...: fatal …

visual-c++ cygwin bison flex-lexer
difficulty getting c-style comments in flex/lex

I want to make a rule in flex to consume a c-style comment like /* */ i have the following c_comment "/*"[\…

flex-lexer