help-bison
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Input to Parser.


From: Shahida_Aslam
Subject: Input to Parser.
Date: Tue, 30 Oct 2001 17:12:30 +0530

Hi,
   This is Shahida working on Lex and Yacc parser. The normal method of
writing into a file and then passing the file pointer to yyin works fine. I
am having problem when i want to take the input from a buffer. Say for
example i want to call the parser functonality in Linux like  -
System(./lexyacc, buffer) where buffer is char buffer[80] or so containing
the stream. Is this possible and if so could you pls let me know the
procedure to do so. I want to remove the file depency in yacc. Is there any
way doing without file manipulation. 
        It would be nice of you if you could reply me at the earliest.
Thanks in advance. 

Regards,
Shahida.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]