+Output

From Esolang
Revision as of 18:58, 20 March 2024 by EvyLah (talk | contribs) (created page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

+Output is exactly the same as -Output, however there is now an output command. Everything else is still the same, and all -Output programs are compatible with +Output. Read -Output for the basic idea.

New instruction

op Values popped Description
o x Outputs x to the standard output.

That's it. There only needs to be one output command.

Examples

Hello, world!

"Hello, world!" o X

A + B problem + string concatenator

in in + o

Input numbers to add them, input strings to concatenate them, input different types to get an error.

Truth-machine

in #v_0o X
  v1<
  >o^

If you input a string, I don't know what will happen.