UBBFriend: Email This Page to Someone!
  uCalc Message Forums
  Official Announcements
  UCalc FMP interactive interpreter

Post New Topic  Post A Reply
profile | register | preferences | faq | search

next newest topic | next oldest topic
Author Topic:   UCalc FMP interactive interpreter
Daniel Corbier
Administrator
posted 01-31-2005 12:47 AM     Click Here to See the Profile for Daniel Corbier     Edit/Delete Message Reply w/Quote
Previous UCalc FMP betas included a demo that allowed the user to evaluate single expressions. To showcase the capabilities of the new Syntax feature, an interpreter was created. From the interpreter prompt, you can interactively define functions and variables, evaluate expressions, and execute single or multi-statement expressions, which may span several lines. The download comes with a PowerBASIC-flavored scripting language. (VB users will also find the syntax familiar). Other kinds of languages can easily be implemented as well. To load another language, open the ucalc.uc text file, and edit the line that says LoadLibrary(“PowerBas.DLL”), and replace PowerBas.DLL with a language DLL that you have designed. A simple language can even be designed entirely using Syntax and Macro definitions that can be defined in a text file that can be loaded by the interpreter. If your syntax definitions are in a text file called MyLang.uc for instance, then use Load(“MyLang.uc”).

The following download link contains all the necessary files for the interpreter to run. http://www.ucalc.com/mathparser/beta/ucintp01.zip (156,422 bytes)

You will likely want to also download UCalc FMP itself to read the documentation for the new syntax feature (see help file topics ucDefine, and ucDefineSyntax) For more info on UCalcFMP click on www.ucalc.com/ubb/Forum1/HTML/000014.html

------------------
Daniel Corbier
UCalc FMP author

IP: Logged

All times are Eastern Time (US)

next newest topic | next oldest topic

Administrative Options: Close Topic | Archive/Move | Delete Topic
Post New Topic  Post A Reply
Hop to:

Contact Us | uCalc

Copyright © 2000-2007 by Daniel Corbier

Powered by: Ultimate Bulletin Board, Version 5.42a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 1999.