Esolang: InfiniTick
Description:
Task
Make a custom esolang interpreter for the language InfiniTick. InfiniTick is a descendant of Tick but also very different. Unlike Tick, InfiniTick has 8 commands instead of 4. It also runs infinitely, stopping the program only when an error occurs. You may choose to do the Tick kata first.
Syntax/Info
InfiniTick runs in an infinite loop. This makes it both harder and easier to program in. It has an infinite memory of bytes and an infinite output amount. The program only stops when an error is reached. The program is also supposed to ignore non-commands.
Commands
>
: Move data selector right.
<
: Move data selector left.
+
: Increment amount of memory cell. Truncate overflow: 255+1=0.
-
: Decrement amount of memory cell. Truncate overflow: 0-1=255.
*
: Add ascii value of memory cell to the output tape.
&
: Raise an error, ie stop the program.
/
: Skip next command if cell value is zero.
\
: Skip next command if cell value is nonzero.
Examples
Hello world!
The following is a valid hello world program in InfiniTick.
'++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++**>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*>++++++++++++++++++++++++++++++++*>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*<<*>>>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*<<<<*>>>>>++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*>+++++++++++++++++++++++++++++++++*&'
Notes
- Please be wordy and post your likes/dislikes in the discourse area.
- If this kata is a duplicate or uses incorrect style, this is not an issue, this is a suggestion.
- Please don't edit this kata just to change the estimated rank. Thank you!
Similar Kata:
Stats:
Created | Jan 20, 2017 |
Published | Jan 20, 2017 |
Warriors Trained | 1806 |
Total Skips | 777 |
Total Code Submissions | 5508 |
Total Times Completed | 407 |
Python Completions | 238 |
JavaScript Completions | 115 |
PHP Completions | 35 |
Haskell Completions | 36 |
Total Stars | 43 |
% of votes with a positive feedback rating | 91% of 128 |
Total "Very Satisfied" Votes | 109 |
Total "Somewhat Satisfied" Votes | 15 |
Total "Not Satisfied" Votes | 4 |
Total Rank Assessments | 10 |
Average Assessed Rank | 5 kyu |
Highest Assessed Rank | 5 kyu |
Lowest Assessed Rank | 6 kyu |