[Home]  [Edit this page]  [Recent Changes]  [Special Pages]  [Help
Scriptol
Scriptol is an object oriented programming language which makes use of XML as an internal data structure. Scriptol is designed to be easy to learn and for use in creating general-purpose scripts, dynamic webpages and standalone graphical applications. It is compatible with Xul and GTK.

The simpler scripts look as:

print "Hello World!"

Xml document are loaded of defined inside Scriptol source, and then, instances may be created. The original document or the instance are used to store and deliver data. Unlike classes, the xml structure may be changed at runtime.

Xml is expressed in light form in the source:

 xml demo
   element
     subelement1
       "data1"
     /
     subelement2 attrib = "value" 
        "data2"
     / 
   /element     
 /xml


Creating an instance:
demo demoinstance


Scriptol is also a powerful classical procedural language. The if control structure is extended in a such manner:

if x
= 10 : print "equal 10"
< 5 :  print "less than 5"
> 1000: print "more than 1000"
else
  print "other range"
/if


Site of the language and the interpreter: http://www.scriptol.net

Site of free compilers: http://www.scriptol.com

last edited (January 13, 2006) by scriptolphp, Number of views: 1573, Current Rev: 1

[Edit this page]  [Page history]  [What links here]  [Discuss this topic]  [Printer Friendly]  

Members

Username:

Password:


Register
Forgot Password?




Programmers Heaven - for .NET, Java, C/C++ and WEB Developers!
© 1996-2008 Community Networks Ltd. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited. Violators of this policy may be subject to legal action. Please read Terms Of Use and Privacy Statement for more information. Development by Tore Nestenius at .NET Consultant - Synchron Data.