Re: Visual Basic as an Implementation Language

"Michael J. Brennan" <brennan@home.com>
29 Sep 1998 15:38:33 -0400

          From comp.compilers

Related articles
Visual Basic as an Implementation Language ksalter@execulink.com (Steven Salter) (1998-09-26)
Re: Visual Basic as an Implementation Language qjackson@wave.home.com (Quinn Tyler Jackson) (1998-09-29)
Re: Visual Basic as an Implementation Language brennan@home.com (Michael J. Brennan) (1998-09-29)
Re: Visual Basic as an Implementation Language dwight@pentasoft.com (1998-09-29)
| List of all articles for this month |

From: "Michael J. Brennan" <brennan@home.com>
Newsgroups: comp.compilers
Date: 29 Sep 1998 15:38:33 -0400
Organization: @Home Network
References: 98-09-145
Keywords: Basic, comment

Steven Salter wrote in message
>I created a simple language to allow the users of an application to
>specify some calculations they would like performed. For now, they
>never see the language, just a fancy front end from which they pick
>fields, functions and operators, and enter numbers.
>
>Since the application is written in Visual Basic, I wrote the
>interpreter in VB also. It takes the expression, looks up the
>appropriate values in the database and gives back an answer, or raises
>and error if there is no appropriate record in the database.


On the web site msdn.microsoft.com/scripting/ Microsoft has a Active-X
control that can run VBScript (or any Active-X Scripting language)
from inside a Visual Basic application. It is free. Although its focus
has been web development, it can be used in any application.


This might save you some development time or give you some ideas on
how Microsoft did it. It would allow dynamic creation of code that
could be executed at run time.


Michael Brennan
[That's an excellent idea -- that lets you use Javascript, VBscript,
Perl, or any other scripting language you want. -John]
--


Post a followup to this message

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