Xo is experimental. The source is now public on GitHub, or try Xo in your browser.

REPL

Type Xo one entry at a time: each is checked, compiled, and run in this tab, and the session keeps what it defines. New to Xo? Follow the steps beside it. For whole programs, use the playground.

xo repl
Type an expression, a statement, or a declaration and press Enter. Shift+Enter starts a new line, Up and Down recall earlier entries, and :help lists the commands.