The Scriptol Programming Language

Description of the Scriptol Programming Language.


Scriptol was created in 2001 by Denis Sureau. It is a universal language designed to ease programming with an intuitive syntax and powerful control structures. Actually the syntax is designed to make the processing with the less commands.
The simplest example: displaying "Hello".
print "Hello"
 

Main features

 
Scriptol is:
  • Object oriented.
  • Universal: made to write scripts or  applications.
  • Keywords come from the human language: integer, text, array, real, boolean.
    They are not related to the hardware as in C.
  • The semantic is near that of XML, well-known by webmasters:  if /if for example.
 

Main control structures

 

if

while /while

while let

do /do

do until

do while

scan by

Note that Scriptol has not switch case, that is useless because if is powerful enough to handle different kinds of case and actually more powerful than switch because it can use different comporison operators.
Example:
if x
< y: print "less"
= y: print "equal"
else
  print "greater"
/if
 

Links

 

Comments

Denis Sureau
Denis Sureau
Webmaster
France
Article rating:
Your rating:

Reviews

    Knol translations

    Categories

    Based on community consensus.

    Activity for this knol

    This week:

    16pageviews

    Totals:

    350pageviews