Trumphurst Ltd.

Submit a comment to an "Available C++ Libraries FAQ" entry

CategoryLibraries available to download (Q-Z)

script - C++ interpreted language

This a set of C++ classes which create a new interpreted language which is freely inspired from "C" and HP RPL (that's calculators).

This scripting language is freely inspired by the C-language syntax and HP's RPL in the way of manipulating variables : - There are no variable declaration, but the first use of a new variable name must be a write (no read allowed on a undefined name). You can considere that the declaration is included in this first write. I find this way to do the declaration good to avoid use of uninitialised variable. - Control structures must have the prefix #. This language syntax isn't very beautiful but I found it cleared the code. - Functions exists through file separation : one file, one function. The behavior is the same as Matlab .M files. - A variable isn't type constant. This allows a variable name to change of type. Actually, 5 types can be used, but the structure of the program allows an easy add of new types : integer, strings, real, array and list.

The full source is provided and some examples of scripts.

Licensing : Public Domain

Do not expect an immediate response - the contents of this form will be added to a queue, which I process manually about once a week. If you don't fill in your email address correctly, you will not (obviously) get any reply at all. Other invalid information may result in a mailed request for clarification.

Enter your comment in the areas provided below. Be sure to include your name and email address.

Please don't bother trying to post spam or links to dodgy web sites - everything you post here is reviewed by a human being before being released for public viewing.

Your Name
Your Email Address

Click to submit your comment.
Up to the FAQ title page

For more information on any of Trumphurst's products and services, please

This page, and all contents, are Copyright © 1997-2018 by
Trumphurst Ltd.
The Willows
St. Martins Moor
SY10 7BH
Contact us is hosted by JumboCruiser.