Standard library

The standard library is globally available by default. It is available at https://github.com/elijah629/redditlang-std

I/O

  • coitusinterruptus

    • Standard print function.

    • Function signature:

      call coitusinterruptus(text damn String)
      
  • pulloutnt

    • Standard readline.

    • Reads a line from stdio and returns it without a newline at the end.

    • Function signature:

      call String pulloutnt()
      

System

  • exit

    • Standard exit function

    • Function signature:

      call exit(code damn Number)
      
    • Decimal codes are truncated

Time

  • zzz

    • Standard sleep function.

    • Stops the current thread for timeMs seconds.

    • Function signature:

      call zzz(timeMs damn Number)