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
+add the two top intergers together`negates the top value on the stak
- Other
[...]comments
The pointer goes to the beginning of the program when it gets to the end of the program, but does not encounter a newline
Newline
You can consider this as a command if you want to
All it does is just halt the program
Unimplemented
?conditional
Examples
Hello, world!
"Hello, world!".
Cat program (with EOF error)
,.
Infinite loop
As long as you don't encounter an IndexError/EOFError, have your code be on one line (a.k.a. not adding a new line) and do absolutely nothing, it will loop