Remove n' Check
Jump to navigation
Jump to search
Remove n' Check is an esoteric programming language that was made to 'interpret' Matching Machines.
Commands
| Commands | Disc |
|---|---|
| Remove 'ab': n | keep removing ab from input string until none are left, then jump to n |
| Check 'b': n | If current input string is b, jump to n |
| Return 'hello' | Print hello. |
Programs
Hello, World!
Return 'Hello, World'
Cat
Leaves input string alone.
MM Interpreter
Remove '()': 2
Check ' ': 7
Check '(': 6
Check ')': 6
Check ')(': 6
Return 'invalid': 6
Return 'valid': 8
If string is this:
(())
It will remove ():
()
Then do this:
...
And return valid.