The Toy Programming Language is an imperative, bytecode-interpreted, embeddable scripting language. Rather than functioning independently, it serves as part of another program, the “host”. This design allows for straightforward customization by both the host’s developers and end users, achieved by exposing program logic through text files.

This website presents the documentation for Toy version 2.x.

Nifty Features

  • Simple C-like/JS-like syntax
  • Intermediate AST representation
  • Strong, but optional type system
  • First-class functions and closures
  • Extensible with importable native code
  • Can re-direct output, error and assert failure messages
  • Open-Source under the Zlib license
Theme adapted from programming pages theme v0.5.22 (https://github.com/pixeldroid/programming-pages)