Skip to the content.

Argon Documentation

This is the documentation for Argon, a dynamically typed scripting language, as implemented by Chloride, its C interpreter (a bytecode compiler and virtual machine). It also covers Isotope, Argon’s package manager.

If you already know a scripting language like Python or JavaScript, most of Argon will feel familiar. The biggest differences are that blocks are opened with do and closed by indentation, functions are declared with let name(args) = ..., and numbers are exact rationals rather than floating point.

let greet(name) = `Hello, $(name)!`

for (name in ["Ada", "Grace"]) do
    term.log(greet(name))

Versions: this documentation describes Chloride v4.1.0 and Isotope 1.0.0. If you’re running an older version, see Changes in v4.1.0. Chloride is still under active development, so if something here disagrees with the interpreter, trust the interpreter (and please fix this doc!).

Start here

Language guide

Standard library

See the standard library overview for a summary of every module.

Isotope (package manager)

Tooling

Changes in v4.1.0

These behaved differently in Chloride v4.0.3 and earlier:

For AI coding agents

skills/argon is an agent skill that summarises the language, its pitfalls, the standard library and Isotope, for coding agents writing Argon. To use it with Claude Code, copy or symlink the skills/argon directory into ~/.claude/skills/ (or into a project’s .claude/skills/).

License

Chloride is released under the GNU General Public License v3.0 (or later). The standard library is released under the GNU LGPL v3.0 (or later). See the project’s LICENSE.txt and LICENSES/ directory for details.