Re: lex & yacc: beyond calculator examples

Ralph Corderoy <ralph@inputplus.demon.co.uk>
26 Jan 1998 00:53:28 -0500

          From comp.compilers

Related articles
lex & yacc: beyond calculator examples scholine@plnt004.comm.mot.com (1998-01-14)
Re: lex & yacc: beyond calculator examples ralph@inputplus.demon.co.uk (Ralph Corderoy) (1998-01-26)
| List of all articles for this month |
From: Ralph Corderoy <ralph@inputplus.demon.co.uk>
Newsgroups: comp.compilers
Date: 26 Jan 1998 00:53:28 -0500
Organization: InputPlus Ltd
References: 98-01-060
Keywords: interpreter

scholine@plnt004.comm.mot.com wrote:
> 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.
--
Ralph Corderoy
[Python and rexx are also decent embeddable extension languages. -John]




--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.