home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / mswindo / programm / misc / 3411 < prev    next >
Encoding:
Text File  |  1992-11-14  |  1.4 KB  |  40 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!news.mentorg.com!caeco!gobbler!tate
  3. From: tate@gobbler.slc.mentorg.com (Mike Tate)
  4. Subject: Support for adding command language to my application
  5. Message-ID: <1992Nov13.173452.12704@caeco.mentorg.com>
  6. Sender: news@caeco.mentorg.com
  7. Reply-To: your_name@mentorg.com
  8. Organization: Mentor Graphics Corp.,  Murray, Utah
  9. Date: Fri, 13 Nov 1992 17:34:52 GMT
  10. Lines: 28
  11.  
  12. I am developing an application to which I would like to add a
  13. command language which advanced users can utilize to configure
  14. and control the application.  The command language should be
  15. accessable by both:
  16.  
  17.     1) Placing commands in a file which are read/executed by
  18.        the program at the user's request
  19.  
  20.     2) From a command line within the application
  21.  
  22. Many applications support a "power user" language.  Examples include
  23. WordBasic in Microsoft Word and AutoLisp in Autocad.
  24.  
  25. My question is:  Are there any suppliers of language interpreters
  26. designed to be embedded in other applications.  Can any of the
  27. Microsoft Basic products be used in this way?
  28.  
  29. Note: The main flow of control should remain in my compiled code.  I would
  30. like to dispatch code fragments to the interpreter by calling a method
  31. like:
  32.  
  33.     interpreter.evaluate(codeFragment)
  34.  
  35. rather than writing the main event loop in the interpreted language
  36. (the way I think I would have to in visual basic).
  37.  
  38.  
  39.  
  40.