3. Input and Output

3.1 Output

The > operator prints the evaluated expression to the console.

> "Hello, world!"
> + 10 5  # Prints 15

3.2 Input

Input operators halt execution and evaluate to the value entered by the user via stdin:

  • , : Read String
  • . : Read Integer
  • ' : Read Float
> "Enter your name:"
= name ,

> "Enter your age:"
= age .

This site uses Just the Docs, a documentation theme for Jekyll.