Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Scipting language.

Status
Not open for further replies.

elziko

Programmer
Nov 7, 2000
486
GB
I realize this a non-trivial and large task to do so I'm just looking for advice on where to start, web pages or recommended books.

We have a big bank of mathematical functions and want to write a scripting language enabling the end user to define his own operations on his own data. A bit like MathCAD/Maple.

Any advice at all on creating these sort of scripting languages would be appreciated!

elziko
 
Don't create a scripting language. Check out the MS Scripting Control. Read in entire modules using READALL (FileSystemObject). Define implicit objects just like ASP e.g. Application, Session whatever. If you still need the user to pass expressions to be evaluated, expose a method for it. The script can use functions and methods of your VB6 objects. You will have to do some work with variants as arguments.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top