by tethercode development team
Like Python 3, but with static scoping, no significant whitespace and compile-to-binary.

The tethercode programming language offers the intuitive and simple-to-use experience of dynamic typing combined with the benefits of a lexical static scope which, unlike in most other scripting languages, allows detecting many incorrectly typed identifiers safely at compile time.

It has a clean syntax that encourages readable code, but it does away with the strong significant whitespace requirements of Python 3 to avoid the need of whitespace debugging.

For easy deployment, tethercode programs compile to binaries that run without any dependencies (no interpreter install required on target systems).

In addition, tethercode was designed with sandboxing functionality in mind, to allow running code in a confined sandbox with fine-grained limits on execution time and memory use. The language is still in a very experimental state and in development.

Real-world code can be found here in the repository containing the standard library: https://gitlab.com/tethercode/stdlib/tree/master

import random

# A collection of text snippets to display when the program is run:
let text_snippets = [
    "A gnome with a red hat waves to you in excitement!",
    "A gnome with a blue hat waves to you in excitement!",
    "A gnome with a green hat waves to you in excitement!"
]

func main {
    # Display a random text snippet:
    print(text_snippets[random.rand_int(0, 3)])
}
Information updated 11/11/17
View Comments