This is the reference implementation of the TScript ("teaching-script") programming language.
TScript comes as a single html file. It does not require installation. Simply open the file in a modern browser and you are ready to go. Click here for a quick test. For more serious use it is recommended to store the page in your local file system — use "save link as" (or similar) from the context menu.
TScript comes with a complete integrated development environment (IDE). You can start programming straight away in the source code editor on the left. Documentation is also built-in - try the Documentation button on the right of the toolbar.
In TScript, "hello world" is a one-liner:
print("Hello World");
For proper example code have a look at the examples directory. Demos of the examples:
The documentation is included in the IDE. It can be accessed with the button at the top right. It is also available here.
If something does not work as expected then please run the unit tests in your browser. If a test should fail then please report a bug.
TScript is developed by Tobias Glasmachers.
This project is licensed under the MIT License - see the LICENSE file for details.
The TScript IDE uses CodeMirror and interact. Thanks to Manuel Fischer for contributions.