/SpaceTode

Spatial Programming Language

Primary LanguageJavaScriptMIT LicenseMIT

SpaceTode

SpaceTode is a spatial programming language.
I use it to make new elements in the SandPond engine.
It is heavily inspired by SPLAT.

For more info, check out the SandPond Saga video series.

What does it look like?

You draw spatial rules for atoms to follow, like this one:

element Sand {
    @ => _
    _    @
}

In this example, the @ represents the sand atom.
In this example, the _ represents an empty space.
So... the rule makes the sand atom fall down if there's an empty space below it.

Try it out

The easiest way to try out SpaceTode is by using the SandPond engine.
You can read the SpaceTode Documentation to learn more about the language.