home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ukma!bogus.sura.net!darwin.sura.net!haven.umd.edu!ni.umd.edu!sayshell.umd.edu!louie
- From: louie@sayshell.umd.edu (Louis A. Mamakos)
- Newsgroups: comp.lang.tcl
- Subject: Re: Multiple Interpreters
- Date: 28 Jan 1993 14:45:45 GMT
- Organization: The University of Maryland, College Park
- Lines: 22
- Message-ID: <1k8ripINNqcu@ni.umd.edu>
- References: <1993Jan28.033005.23086@wuecl.wustl.edu>
- NNTP-Posting-Host: sayshell.umd.edu
-
- In article <1993Jan28.033005.23086@wuecl.wustl.edu> omar@wucs1.wustl.edu (Omar El-Ghazzawy) writes:
- >
- >I know there must be many good uses for having multiple interpreters, but
- >I can't seem to think of any.
-
- I have an application that I'm developing which associates some TCL
- "state" with Objective-C objects. The Object has methods which are
- invoked by TCL commands, etc. The great thing about having multiple
- interpreters available is that you have a seperate name space (both
- for commands and variables) which reflect the existing objects and
- classes in the program.
-
- I haven't hacked his stuff into my code yet, as I'm "faking" much of
- it now, but I look forward to giving it a try. It seems just perfect
- for my application.
-
- Actually, it would be great if a new interpreter could inherit
- methods/commands from the "super class" or the interpreter that
- created it, but I can see how that might be difficult to implement.
-
- Louis Mamakos
-
-