When GravityScore uploaded his Brainf**k interpreter I tried to do something with it. Some time ago I noticed that there could be some more functions so I developed a programming language like Brainf**k but with some more functions.
Functions
> Increment data pointer
< Decrement data pointer
+ Increment byte of pointer by one
- Decrement byte of pointer by one
* Multiplicate pointer with the pointer below it
/ Divide pointer with the pointer below it
. Output byte of data pointer
, Output byte of data pointer in ASCII
: Accepts byte of input to store in data pointer (Byte or ASCII)
[ Loops are coming soon!
]
Example Code
Preparing for printing text
+++++++++++++>+++++*
>+++++++++++++++>+++++*
>+++++++++++++++++>+++++*
Writing text
<<---,+++
<<++++,----
>>+,,-
++++,----
>>++,--
<<++++,----
>>---,+++
<<+,-
<<+++,---
Explanation:Spoiler
Line 1: Explanation (Comment)Line 2: Setting Pointer 2 to 65
Line 3: Setting Pointer 4 to 75
Line 4: Setting Pointer 6 to 85
Line 5: Explanation (Comment)
Line 6: Setting cursor to pointer 4, Decrementing byte of pointer by 3, Writing ASCII, Incrementing byte of pointer by 3
…
Usage
Download LymeCode as shown below and run it with this arguments:
LymeCode <path>
Replace <path> with your LymeCode program.Download
Pastebin: BPKqaYrC
Type into your computer to download directly:
pastebin get BPKqaYrC LymeCode