home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!news.mentorg.com!caeco!gobbler!tate
- From: tate@gobbler.slc.mentorg.com (Mike Tate)
- Subject: Support for adding command language to my application
- Message-ID: <1992Nov13.173452.12704@caeco.mentorg.com>
- Sender: news@caeco.mentorg.com
- Reply-To: your_name@mentorg.com
- Organization: Mentor Graphics Corp., Murray, Utah
- Date: Fri, 13 Nov 1992 17:34:52 GMT
- Lines: 28
-
- I am developing an application to which I would like to add a
- command language which advanced users can utilize to configure
- and control the application. The command language should be
- accessable by both:
-
- 1) Placing commands in a file which are read/executed by
- the program at the user's request
-
- 2) From a command line within the application
-
- Many applications support a "power user" language. Examples include
- WordBasic in Microsoft Word and AutoLisp in Autocad.
-
- My question is: Are there any suppliers of language interpreters
- designed to be embedded in other applications. Can any of the
- Microsoft Basic products be used in this way?
-
- Note: The main flow of control should remain in my compiled code. I would
- like to dispatch code fragments to the interpreter by calling a method
- like:
-
- interpreter.evaluate(codeFragment)
-
- rather than writing the main event loop in the interpreted language
- (the way I think I would have to in visual basic).
-
-
-
-