Hi, I'm Rerednaw, a ghost who haunts this wiki whenever he wants. Creating esoteric languages mainly for fun.
My Interpreters (for other languages)
Thank you zone
User:Conor O'Brien for creating an interpreter in Perl, since the old interpreter I made no longer exist.
All of the guys in this page: https://rosettacode.org/wiki/Execute_CopyPasta_Language
The "No problem!" problem
Task: Creating a program that prints "No problem!" that is working even if we delete randomly one command.
Example in CopyPasta Language:
Copy No Problem! Copy No Problem! CoolStoryBro 12 22 CoolStoryBro 12 22 Pasta! Pasta!
The two "Copy" are there in the case that one "Copy" command would be deleted.
"CoolStoryBro" is there in the case that there's still two "Copy", preventing "No problem!" to be printed twice. There's also two of them in the case that one "CoolStoryBro" would be deleted.
That's also the reason why there two "Pasta!", and since "Pasta!" is also the end of the program, it can only print the clipboard once.
In general, this problem can be solved simply like this:
Print "No Problem" If Print not happened Then If Print not happened Then Print "No Problem"
The difficulty of this task depends heavily of what is considered a command. For example, some languages simply can't perform this task because deleting a starting command would be an error.