For Programmers: Free Programming Magazines  


Home > Archive > Compilers > September 2004 > Recursive definition of a token using flex & bison









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Recursive definition of a token using flex & bison
bato

2004-09-03, 1:09 pm

Hello,

I woul like to know how I can move this production of a grammar :

Expression = "if" Expression "then" Expression "else" Expression | OrExpression

into a flex/bison form knowing that Expression is a token.

Thank you.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com