True (Ractangle)
Jump to navigation
Jump to search
- Not to be confused with True.
true is a FALSE-like language created by User:Ractangle
Commands
Implemented
- Literals
"..."pushes a string to the stack0-9pushes a number to the stack(...)lambda
- I/O
.prints the popped element,gets input and pushes it to the stack
- Stack manipulation
:duplicate the top value of the stack-discard the top value on the stack
- Arithmetic
+addition*multiplacation/division`negates the top value on the stak
- Other
[...]comments|stops the program?conditional
The pointer goes to the beginning of the program when it gets to the end of the program, but does not encounter a newline
Examples
Hello, world!
"Hello, world!".|
Cat program (with EOF error)
,.
Infinite loop
Truth-machine
,( )-::``:.(0=)(|)?