Scriptol is a modern, safe, and easy to learn programming language. The compilers produce JavaScript, C++ or PHP code.
Scriptol provides a faster solution to program your JavaScript and PHP scripts and applications. It is the first procedural language to integrate reactive programming and goal orientation.
Object oriented
Classes and inheritance.
Goal oriented
Set goals to achieve synchronously ou asynchronously. More
Reactive programming
Program like in a spreadsheet. More
XML, JSON
You can load an XML file into an multidimensional associative array.
And also...
Pattern-matching.
Promises.
Async/await.
Extended control structures.
Etc...
Documentation
- About Scriptol.
- Scriptol, JavaScript, PHP, syntax compared.
- Compilers compared. Features implemented in each compiler.
- FAQ.
- Compatibility issues.
Scriptol to WebAssembly (and C++)
The Scriptol to C++ compiler implements Scriptol minus JavaScript extensions and produces code usable in web page or locally. Emscriptem must be installed for the generated C++ code to be compiled to WebAssembly.
WebAssembly does not currently support file system access.
- Scriptol to WebAssembly compiler.
- Installing the Scriptol-WebAssembly compiler.
- Download and last changes in the compiler.
- WebAssembly tutorial. (External)
Scriptol to JavaScript
The Scriptol to JavaScript compiler implements the version 3 of the language, launched in 2016.
Compiles Scriptol to JavaScript and may be used either from the command line with Node.js or in a PWA with HTML pages. Can access JS code directly with no wrapper.
The command line version requires scriptol.js while HTML pages must include scriptolbrowser.js.
- Download and versions of the compiler.
- Reference manual. For Scriptol 3 (2016).
Scriptol to PHP
The Scriptol to PHP compiler implement the version 2 of the langage.
The Scriptol-PHP compiler converts Scriptol programs to PHP and makes scripts or dynamic web pages. The PHP code may be interpreted on various platforms by the PHP interpreter.
- Download and last changes in the Scriptol-PHP compiler.
- Installing and using the Scriptol to PHP compiler.
- Reference manual. For Scriptol 2 (2014).
- Document Object Model
Accessing content of XML documents and HTML page with a standard interface. This is a Scriptol extension but it is part of the core PHP 5 language.
News about Scriptol
- 2021 Septembre 2, 2021. Scriptol-WebAssembly 21.8 released.
- 2021 July 26. Scriptol to WebAssembly released.
- 2018 June 12. Scriptol to C++ 18.6 released.
- 2018 May 26. Scriptol to PHP 7 released in a 64 bits version.
- 2018 February 6, Scriptol to JavaScript 2.4 released for Windows.
Translation