'Python' is not recognized

From Esolang
Jump to navigation Jump to search

'Python' is not recognized is a variant of 'Python' is not recognized as an internal or external command, operable program or batch file. by User:Ractangle

Syntax

; stops the program since the code is a one-liner

: push the next symbol to the stack

? check if the top value equals to the pre-top value on the stack. If they're are equal, execute the code inside the brakets. Otherwise skip to the nearest closing square bracket

@ gets user input

| prints the next charecter

­ ­ creates a label if close to :

j Jumps to the label with the symbol next to it

Examples

Hello, world!

|H|e|l|l|o|,| |w|o|r|l|d|!

Truth-machine

:0@?[|0;]jr :r|1jr

Implementation

Python implementation