/tscript

Reference implementation of the TScript programming language

Primary LanguageHTMLMIT LicenseMIT

TScript

This is the reference implementation of the TScript ("teaching-script") programming language.

Getting Started

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.

Example Programs

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:

Documentation

The documentation is included in the IDE. It can be accessed with the button at the top right. It is also available here.

Testing

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.

Author

TScript is developed by Tobias Glasmachers.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

The TScript IDE uses CodeMirror and interact. Thanks to Manuel Fischer for contributions.