|Visual Basic as an Implementation Language email@example.com (Steven Salter) (1998-09-26)|
|Re: Visual Basic as an Implementation Language firstname.lastname@example.org (Quinn Tyler Jackson) (1998-09-29)|
|Re: Visual Basic as an Implementation Language email@example.com (Michael J. Brennan) (1998-09-29)|
|Re: Visual Basic as an Implementation Language firstname.lastname@example.org (1998-09-29)|
|From:||"Quinn Tyler Jackson" <email@example.com>|
|Date:||29 Sep 1998 15:36:56 -0400|
>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
>and error if there is no appropriate record in the database.
I wrote a math evaluator in BASIC (QuickBASIC, Visual Basic, then
ported to PowerBASIC, finally ported to C++) that can deal with:
1) user defined functions
3) complex numbers
The BASIC versions of ARDAF can be obtained from:
I released the BASIC source into the public domain, so feel free to
rip whatever you might find useful from it.
I believe that version 1.4 was the last directly Microsoft-flavor
BASIC compatible version, but some of the nicer features are available
The C++ version (which has some implementation enhancements, such as
constant folding), can be obtained from:
the above requires:
Quinn Tyler Jackson
Return to the
Search the comp.compilers archives again.