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.
This page runs Xo's own compiler in your browser, with its WebAssembly backend. Starting it downloads the compiler and the standard library once (3 MB), cached per browser and version; standard library modules you use download when you first use them. Nothing is uploaded.
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.