Scriptol Examples
These examples work with the Scriptol interpreter and the Scriptol compiler.
Iterative Fibonacci algorithm
Passing arguments to a script
Comparing two files
Load and display an XML document
Counting the occurences of a substring
Class and inheritance
- Code (For Scriptol compilers only, for now).
Using JAVA with Scriptol
- Code (For Scriptol compilers only, for now).
Using the GTK graphical user interface
- Code (For Scriptol
compilers only, for now).
XML
- Load an XML file
The XML file is the list of cars and their number in a parking. Load the file and
display the content, using XML attributes and data.
Source. XML file. - Search in XML
Load a data file about animals, search on attributes and values and return the content.
Source. XML file.
More examples:
See at the algorithms
for more programs...
Webtools, example of graphical front-end.