Tick
Jump to navigation
Jump to search
Description
Tick is a esolang created in 2017. It has only 4 commands and an infinite memory tape. It is made to also ignore non-command characters. It is an incomplete TrivialBrainfuckSubstitution.
Commands
Command | Description |
---|---|
>
|
Move the selector to the next cell |
<
|
Move the selector to the previous cell |
+
|
Increment the memory cell at the selector. Truncate overflow: 255+1=0 |
*
|
Add the ASCII value of memory cell at the selector to the output stream |
Hello world!
The following is a hello world program in Tick
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ *+++++++++++++++++++++++++++++*+++++++**+++*>+++++++++++++++++++++++++++ +++++*<++++++++*>+++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++*+++*>++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*>++++ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++++*>+++++++++++++++++++++++++++++++++*
Interpreter
As it is a Trivial Brainfuck Substitution the interpreter is equally trivial.
#!/usr/bin/ruby eval 'm=Hash.new(p=0);'+ARGF.read.gsub( /./, '>' => 'p+=1;', '<' => 'p-=1;', '+' => 'm[p]+=1;', '*' => 'putc m[p];')
Interpreter
- Common Lisp implementation of the Tick programming language.