Top "Yacc" questions

The computer program yacc is a parser generator developed by Stephen C. Johnson at AT&T for the Unix operating system.

How to pass the yytext from the lex file to yacc?

Please i am facing a simple problem.. here is the issue, In my lex file i have something similiar to: …

yacc bison lex
Simple Flex/Bison C++

I already looked for my answer but I didn't get any quick response for a simple example. I want to …

c++ yacc bison lex
how to use yy_scan_string in lex

I want to parse a string which I give to the parser in the main function of yacc . I know …

c yacc lex
Generating a compiler from lex and yacc grammar

I'm trying to generate a compiler so I can pass him a .c file after. I've downloaded both YACC and …

c yacc lex
Good parser generator (think lex/yacc or antlr) for .NET? Build time only?

Is there a good parser generator (think lex/yacc or antlr) for .NET? Any that have a license that would …

.net parsing antlr yacc lexer
Creating comments in Lex and Yacc

How does one make a comment in Lex and Yacc? So far I haven't tried Yacc, but in Lex I …

bison flex-lexer yacc lex
How to make YY_INPUT point to a string rather than stdin in Lex & Yacc (Solaris)

I want my yylex() to parse a string rather than a file or standard input. How can I do it …

c solaris yacc lex
Lex and Yacc in PHP

Is there an implementation of Lex and Yacc in PHP? If not, can anyone suggest a lexical analyser and parser …

php yacc lex parser-generator
A notation for empty right-hand sides of rules

When writing a ("theoretical") grammar with a rule with an empty right-hand side, one always use a symbol such as ε (…

bison yacc parser-generator
Flex/bison syntax error

I am trying to write a grammar which will be able to consume the following input: begin #this is a …

bison yacc lex flex-lexer lexical-analysis