Func++

From Esolang
Jump to navigation Jump to search

Func++ is an extension of Func, created by User:None1, it is backwards compatible with Func.

In Func++, you are allowed to:

  • Use decimal input and output.
  • Make quines.
  • Output strings easier.

Extensions

The follwing built-in functions are available in Func++, but not in Func.

Extensions in Func++
Function Meaning
intinput() Reads an integer from user input and returns it.
intoutput(x) Outputs the decimal integer x.
quine() Outputs quine().
<anycharacter>() Outputs <anycharacter> and returns its ASCII value.

Example Programs

Hello World

do(do(do(do(do(do(do(do(do(do(do(H(),e()),l()),l()),o()), ()),W()),o()),r()),l()),d()),!())

Quine

quine()

A+B Problem

intoutput(add(intinput(),intinput())

See also