0widthnonjoiner

From Esolang
Jump to navigation Jump to search
The title of this article is not correct because of technical limitations. The correct title is actually (U+200C, Zero width non-joiner).

For ease of use, I'm going to go ahead and use the wrong title.

0widthnonjoiner is made by Unicodes.

This language is run on a stack.

For each line there is 1 instruction + arguments.

Instructions

Instructions
Instruction Action
‌ (U+200C) $arg Push argument onto stack
‌ (U+200B) $arg Pop
‌ (U+200D) $arg Do operation on 1st and 2nd element on stack; If argument is 1, add, if argument is 0, subtract
‌ (U+200A) $arg Print 1st element on stack; If argument is 0, don't pop, else pop
 (U+2009) $arg Loop next instruction argument times
 (U+2008) $arg $arg2 If argument is equal to argument 2, run next instruction, else skip past instruction

Examples

Sorry, there are no sample programs here.

Categories