Scriptol is a scripting language with object-oriented, xml-oriented, extensible, universal, uses C ++, PHP or Java API, and XUL for graphical user interface.
The scriptol file must have a .sol extension,
It is not completely in transit.
Here is the basic skeleton:
int main() ... statements ... return 0 main() ...starting the program
Script code embedded inside html:
<?sol ...code... ?>
Features http://www.scriptol.net/manual.html :
Scriptol can be defined as:
object oriented. - XML-oriented (XML-document may be a data structure in the source). - universal: used to create scripts, dynamic web pages, create executable files. - natural: the types of variables come from science, not from hardware: number, text, real ... - XML-style syntax. - Shows new and very powerful control structures. - list processing on arrays and dictionaries. - compatibility with PHP, C ++ and Java. It is an understandable language thanks to: - Simple syntax. - statements ending with the end of lines. - the same operator for ranges, slices, splices ... - the same syntax for all structures.
Case-Sensitivity on: - You cannot use a word in either lower or upper case. - The keyword must be lowercase. - Identifiers are case sensitive, but you cannot redefine the identifier with another case.
Identifiers: - Size up to 255 characters or less in accordance with the target language. - lower or upper case. - start with a letter, continue with letters, underscores or numbers.
Numbers: - int signed 32 bits. (like "int" in C). - naturals have 64 unsigned bits. - realities, numbers - 64 bits with a floating point. ("double" in C)
Cast: - casting using methods.
Garbage collector: - automatic memory management, there is no need to allocate and free memory.
Object-oriented: - primitives are objects and have methods. - literals are objects and methods. - unidirectional. - overloading methods (only in Scriptol C ++). - designers. No destructors.
XML Oriented: - XML documents can be included in Scriptol sources. XML is a data structure of a language. - instances of XML documents.