'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

; End the program

: Push the next symbol to the stack

? Check if the two top values on the stack are equal. If they're are, execute the code inside the brakets or the next command. Otherwise skip it

@ Gets user input

| Prints the next char if the stack is empty, else pop the tos and print it

j Jumps to the label with the symbol next to it, if that label doesn't exist, it creates a new one

"..." Comment

{...} Lambda

= Duplicate top of stack

_ Eval the program in the stack

> Push lambda to stack

Examples

Hello, world!

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

Truth-machine

0@?[0|;]jl1|jl

Implementation

Python implementation