|lex input from a queue email@example.com (2002-04-29)|
|Re: lex input from a queue firstname.lastname@example.org (sumesh) (2002-05-01)|
|Date:||29 Apr 2002 01:57:47 -0400|
|Posted-Date:||29 Apr 2002 01:57:47 EDT|
i'm writing an interpreter for a robot programming language using
lex & yacc(Windows version).Actually i'm not used to writing
interpreters.We are planning to store the robot controlling commands
in a buffer(Queue).This queue should be the input to the lex.i'm now
working on Yacc (Windows version)-PARSER GENERATOR-a software which
was downloaded from the Bumblebee software site in which input to lex
is given either from keyboard or from a file.
I would like to modify this program and make it read from the
queue...But i have doubts regarding which all source files to be
modified and how to make a new library from these modified source
Can someone help me ASAP regarding these topics?
Any help would be greatly appreciated.
Thanks & regards,
[Assuming their version of yacc isn't too strange, it calls yylex() to
read tokens. Define that to read from your queue. -John]
Return to the
Search the comp.compilers archives again.