Script language description
Scriptol is a compiled programming language designed to be simple and easy to learn, allowing new users to be ready to program in a few hours, and significantly reducing working hours.
Scriptol is object-oriented, extensible, universal, uses PHP libraries or Node.js modules. It is versatile, meaning it is suitable for scripting, building applications or creating dynamic web pages.
There is a free Script compiler for Windows and Linux.
Version 3 of the language, compiled in JavaScript and working with Node.js, is ideal for programming and training android robots, representing virtual worlds.
Script characteristics
Scriptol:
- Objectively modern: it was defined according to the seven rules of simplicity and security, and does not inherit ancient and outdated syntaxes.
- Object-centric, it maintains a simple legacy.
- Goal: Identify the goal and treatment to achieve it, as well as the maximum time .
- Focused on XML. XML can be integrated into Script source code (it is compiled into an associative multilevel table). You can load and save associative tables directly in XML format. This also works with SVG files.
- Reactive programming oriented. Defining results as in a spreadsheet, cells are replaced with variables.
- Typé: the compiler can compare the assigned content and type of variables, which is not possible with scripting languages.
- Natural: Types are not based on computer hardware, but on human concepts and mathematical sets: text, number, integrator, present, etc.
- Powerful and confident: new controlling structures were introduced along with Scriptol.
Examples:
- if composite, which is both an if statement and a switch, but with all kinds of values.
- while let, which protect against endless loops.
- for.. in the list, or for.. in a.. b, the easiest way to express the interval. - It's just. No genre symbols -> or::, only one point anyway.
Add 1 to x simply written: x + 1, not x + = 1
Memory management is not required, the collection garage is included. - Clear. Semicolon is a delimiter. The end of the string is a terminator. Other languages accumulate both unnecessarily.
The language is intended for modern editors with syntactic coloring. C, Java, etc. use {}, # characters suitable for older publishers.
- Compatible with PHP or JavaScript depending on the compiler: you can program web pages in Script, the code is converted to PHP, all PHP functions can be used. The same goes for JavaScript.
- Portable, works on any platform that supports Node.js or PHP.
Why use Script
Mainly for:
- Integrate safe and natural code inside HTML pages.
- solWrite scripts easily and quickly using high-level syntax.
- Prototyping, quick testing of the program with an interpreter before building your own executable file.
- Creating applications. Scripting can be built into rapid development tools and can use a cross-platform user interface like HTML 5.
- Processing XML documents such as makefiles or configuration files.
- Programming the intelligence of robots and simulators using high-level functions such as targets, reagent formulas.
How to use Script
? You can open the Windows console, sometimes called the DOS Window, and enter the command:
solc or solp or solj to see variants.

Use scripting on the command line
You can also configure the code editor to run scripting programs.
The editor is provided on the download page, where there is syntactic coloring for Script, C++ or PHP sources.
The choice of Scriptol, which was taken into new languages
Some innovations and Script choices have been embraced by later languages, which helps facilitate programming.
- The global variable name cannot be reused in a local block in Script. In Dart (2011), this triggers a warning.
- Share dynamic and statically typed variables. This is happening now with Dart, TypeScript, Julia and all new languages.
- Matching (switch, if) using different types of tests. This can be found in Go.
- Removing parentheses in if or for conditions is resumed by Go and Swift.
- Semicolons are the delimiter of statements in Script. But it is useless if there is a line end code. The same goes for Guo . Unlike
- Python, which represents the interval on ":" as Algol, Scriptol chose to use the classic printing press... "" This is picked up by many new languages, such as Rust and Swift.
This symbol has already been used by Pascal (1970), Ada (1995), Ruby (1995), it is this choice that now prevails. Since Pascal succeeded Algol W, this should be an improvement. - The Scala language allows Script-type XML to be integrated into the source .
Facebook's JSX also extends JavaScript with XML and compiles it into JS or interprets XML. - Reactive programming and the reactive reserved word were perceived by Red 0.6.1 (which is a language derived from Rebol).
Licenses
The Script compiler in C++ is licensed under the Mozilla license. Anyone can write a compiler for the language.
Scriptol Creator: Denis Suro.