Documentation

The complete reference, from installing the interpreter to extending it.

Getting started

  1. What is TON618
  2. Installing & building the interpreter
  3. Running a script
  4. The browser playground

The language

  1. Language basics
  2. Types
  3. String formatting
  4. Operators
  5. Control flow
  6. Functions
  7. Arrays
  8. Dictionaries
  9. Classes & objects
  10. Method syntax & the dot operator
  11. Error handling: try / catch / throw / finally
  12. Built-in native functions
  13. HTML type

Modules

  1. Modules (IMPORT://)
  2. Creating a TON618 module — full guide
  3. Installing modules: `ton618 install`
  4. Built-in system modules

Tools

  1. Local server & routes (API)
  2. The debugger

Internals & history

  1. Architecture — how the interpreter works
  2. Extending the interpreter itself
  3. Publishing the docs to GitHub Pages
  4. Known limitations
  5. Changelog