Splinter

From Esolang
Jump to navigation Jump to search

Splinter is an esoteric programming language designed by Keymaker in 2007. It was intended to be Turing-incomplete, and was purposefully kept so, but initially wrongly classified as a finite-state machine, the author not realizing certain things could be done with it, after all. Later, User:ais523 proved it to be a push-down automaton. The language has 26 unbounded memory storages, splinters, but not enough abilities to modify their content. The language has three instructions, one for placing data from splinters to the current program execution, one to set content for splinters, and one for output.

Example

Here's an example program to print "1, 2, 3." along with a new-line.

B{\,\ }
A{
  \1B
  A{
    \2B
    A{
      \3\.\
    }
  }
}
AAA

For more complex example, see a 99 bottles of beer program: http://yiap.nfshost.com/esoteric/splinter/99.spl

External resources