ela

Tutorial, lesson 1 of 9

Hello, world

A line of ela is a command unless it reads as code. echo is a command: it prints its arguments with a space between them, then ends the line.

Press Run. The script runs in your browser, on ela’s own interpreter built for WebAssembly, with nothing sent to a server. Change the text and run it again.

Text in double quotes is one argument, spaces and all. Without the quotes, echo hello, world prints the same line, from two arguments.

The page runs the language. A program such as ls doesn’t run in the playground: try it, and the error says so at its line, with the rule behind it and what to write instead. Every error in ela reads that way.

What it prints
hello, world