‍true

From Esolang
(Redirected from 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

  • Literals
    • "..." pushes a string to the stack
    • 0-9 pushes a number to the stack
    • ' discards the first input character and pushes it to the stack
  • I/O
    • . prints the popped element
    • , gets input and stores it some where
  • Stack manipulation
    • : duplicate the top value of the stack
    • - discard the top value on the stack
  • Arithmetic
    • ` negates the top value on the stak
  • Subroutine control
    • »n call a subroutine
    • n: create a subroutine
    • ; return to the main code

Newline/IndexError

You can consider this command (yes they're the same) if you want to consider them as commands

All it does is just halt the program

Examples

Hello, world!

"Hello, world!".

Cat program

,»rr:'.»r

Implementations