|lex & yacc: beyond calculator examples email@example.com (1998-01-14)|
|Re: lex & yacc: beyond calculator examples firstname.lastname@example.org (Ralph Corderoy) (1998-01-26)|
|From:||Ralph Corderoy <email@example.com>|
|Date:||26 Jan 1998 00:53:28 -0500|
> I'd like to extend this driver program to have more
> programming-language-like constructs such as branching, so that
> itcan be programmed to repetitively generate sequences of messages.
Consider using Tcl. If speed of execution isn't a prime concern then you
could add your application specific routines to a Tcl interpreter and have
Tcl supply all the variables, arrays, hash tables, flow constructs, etc.
You wouldn't need lex or yacc but you'd have to put up with Tcl constructs
instead of whatever you'd prefer.
[Python and rexx are also decent embeddable extension languages. -John]
Return to the
Search the comp.compilers archives again.