|Visual Basic as an Implementation Language firstname.lastname@example.org (Steven Salter) (1998-09-26)|
|Re: Visual Basic as an Implementation Language email@example.com (Quinn Tyler Jackson) (1998-09-29)|
|Re: Visual Basic as an Implementation Language firstname.lastname@example.org (Michael J. Brennan) (1998-09-29)|
|Re: Visual Basic as an Implementation Language email@example.com (1998-09-29)|
|From:||"Michael J. Brennan" <firstname.lastname@example.org>|
|Date:||29 Sep 1998 15:38:33 -0400|
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.
Perl, or any other scripting language you want. -John]
Return to the
Search the comp.compilers archives again.