Description
What's Scriptol
Scriptol is compiled programming language, designed to be simple and easy
to learn allowing new users ready to program in some hours, and the work time
largely decreased.
Scriptol is object-oriented, extensible, universal, uses C++, Php or Java
APIs, and GTK for graphical user interface.
It is also xml-oriented, that means it use xml document as another data-structure.
It is universal, that means it is convenient for scripting, to build applications
or to make dynamic web pages Php compatible.
Free scriptol compilers are currently available for Windows and Unix.
Features of Scriptol
Scriptol is :
- objectively modern: it has been designed according to seven rules for simplicity, safety, and doesn't carry ancient obsolete syntax.
- object-oriented, even simple scalar as "int", or literal as "123", are objects and have methods.
- xml-oriented: objects and data can be described in light xml, usable as easily as classes.
- typed: the compiler can check for content and type of variables, that is not possible with usually untyped scripting languages.
- natural: types are not based on computer's hardware but on human's
concepts or mathematical sets: these are text, number,
integer, real, etc...
- powerful and safe: new control structures has been introduced with
scriptol.
Examples:
- composite if, that is both an if statement and a switch case with any kind of values.
- while let, that protects from infinite loop.
- for .. in array, or for .. in a..b, the simplest way to express ranges. - simple: no symbols as -> or ::, just a dot in any case.
Adding 1 to x is just written: x + 1, and not x += 1.
No memory management required, executables have a garbage collector. - C++ compatible: you have just to link C++ object files or library
files, and use the functions they hold, no any extension required
to write!
For example, you have just to add the GTK import libraries in the configuration file of a scriptol source to use the GTK user interface... - Php compatible: you can program web page in Scriptol, your code is converted to Php and all Php functions may be used.
- Portable, run on any Php or C++ compatible platform.
Why to use Scriptol
Mainly for:
- Embedding natural and safe code inside html pages. It will run on any server using Php version 4.
- Protecting your code by distributing a binary executable.
- Writing easily and quickly scripts, thanks to its high-level syntax.
- Prototyping, test quickly your program with the interpreter before to build a native executable.
- Building applications: Scriptol may be integrated into rapid application development tools and can use cross-platform GUI libraries as GTK. Scriptol doesn"t need for makefile or any kind of project file.
- Learn to use xml, and integrate xml into applications.
- Define processing on xml documents.
How to use Scriptol?
You can open a console windows, sometime called "Dos Windows",
and type the command.
solc or solp for options.
![]() |
Using Scriptol at command line
|
An editor is provided along with the compilers
that features syntax-highlightling for Scriptol, C++ or Php sources. One can compile and launch program directly from the editor. The sources with colored syntax can be saved into a Html or Pdf document. |
![]() |
You can also integrate the Scriptol compiler into C Builder (Professional
version) or Visual Studio, that allows to compile the Scriptol source first
and the generated C++ source then.
![]() |
Using Scriptol from within C Builder
|
The licence
The language is free but copyrighted. An interpreter or compiler may be
written by anyone providing compatibility is preserved.
The common edition of Scriptol compilers is free even for building commercial
programs. The entreprise edition requires a licence. See at the order form
for detail.
See:
Licence of the language
Licence of the compilers.
The creator of Scriptol
Denis G. Sureau