Languages · Turing tarpits2017
Tick
Four commands on a tape of byte cells, to move, add one and print. No loops, so it can only count.
2017 · esolangs.org
Tested with 1 example and 1 known program · Test method
Run it
Hello World
Expected output
Hello world!
Output
What it is
Tick: > < + * (prints the cell); 8-bit cells, no loops, everything else ignored
Read the story
> < move on a tape of 8-bit cells, + increments, * prints the cell. No loops; everything else is ignored.
How its machine works
Its machine has a tape of accumulators.
Tick reads no input.
Quirks
- A run stops after 3,000,000 steps.
See also
Cell-based
Write your own in Run Convert a program from Tick
Implementation
JavaScript interpreter, source and command line
A JavaScript interpreter, used in the browser and on the command line. Id: tick.
Command line
shib run tick program.txtThe program is long; save it as program.txt first.
shib manual tickSource
- Module
langs/classic.js
Docs: Kernel instructions · The .shib format · Command line · Adding a language
Source esolangs.org (CC0) · Edit on esolangs.org