Playground
Write Andy C++ and run it right here: the interpreter is compiled to WebAssembly and runs in your browser. Press Ctrl+Enter to run, or open the playground on a page of its own.
The editor knows the language the way an editor with the language server does:
- Errors are underlined as you type.
- Completion offers the functions that fit: after
xs.withxsa list, the ones that take a list. Ctrl+Space asks for it. - Hovering over a name shows its type, or a function’s signature and documentation.
- F12, or Ctrl+click, jumps to where a name is declared.
- Tick Vim for vim’s keys;
:wruns the program.
The examples in this manual can be run too: hover over one and press the ▶ button, or the button next to it to open the example in the playground.