TIScript is a programming language and an implementation of a compiler, a virtual machine running bytecodes and a runtime.
TIScript uses well known, time-proven and popular language constructs of ECMAScript (JavaScript).
Here is Comparison of TIScript and JavaScript
Features:
- TIScript supports JavaScript runtime behavior as closely as possible.
- TIScript uses JavaScript notation and syntax in full but with some additions, e.g. lambda functions, types (classes and namespaces) and properties.
- TIScript uses a simplified prototype model so that
'string'.prototype === String evaluates to true in TIScript
- TIScript supports template content generation similar to PHP and ASP:
some literal text <% script inclusion %> some more literal text
- TIScript has builtin and native persistence with the classes Storage and Index. We use the term JSON-DB as it is a database which stores JSON objects. We believe that TIScript is the first language to use a JSON-DB idiom.
SVN source distribution includes a makefile and a project file for Dev-C++ (Bloodshed Software.) If you have Dev-C++ and/or GCC/MinGW installed then you can compile it out of the box.
TIScript is used as a scripting engine of the Sciter.
In downloads - tiscript.zip - command line interpretter, does not require installation. In source - source of it.
Concepts and source code structure.
Our gratitude:
- to David Betz for his BOB language implementation. TIScript is derived from BOB in many aspects.
- to Konstantin Knizhnik for his DyBASE engine - core of the TIScript persistence.