using lex with strings, not files

Will Leavitt leavitt at mordor.hw.stratus.com
Sun May 5 01:50:29 AEST 1991


Hi-
   I'd like to use lex & yacc to parse strings within an application, but they
seem to be hardwired to take their input from stdin.  What is the cannonical 
way to get them to work on a string?  Thanks!

     -will

leavitt at mordor.hw.stratus.com


--
...............................................................................
this content-free posting has been brought to you by:
                                           Will Leavitt     508-490-6231
                                           leavitt at mordor.hw.stratus.com 



More information about the Comp.lang.c mailing list