Rennko
← All projects
O

Once

A little programming language that reads like English.

LanguageWebFree

Once is a free programming language made by Virat Kaukuntla. You write lines like set ball to new circle at 100, 50 moving 3, 0 bouncy, and shapes move, bounce, make sounds and listen to the keyboard. It runs in a browser playground that looks like a code editor, with plain-English error messages, and also from the terminal and inside VS Code.

What it does

  • English-like syntax: set, say, if, repeat, for each, to ... give back
  • About the size of Python's core: 35 statements, 15 operators and 72 built-in instructions, including choose/case, try, lambdas, map and filter
  • Drawing, keyboard and mouse input, sound and simple physics built in
  • Errors in plain words, with the line underlined and a did-you-mean guess
  • A 24-lesson interactive course that ends with you building a top-down shooter
  • Browser playground in light and dark, with share links and export to a single HTML page
  • A once command for the terminal and a VS Code extension with a live preview panel