We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

True (Ractangle)

From Esolang
(Redirected from ‍true)
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 stack
    • 0-9 pushes 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=)(|)?

Implementations