Clay is an experimental, prototype-based, pure object-oriented language: everything is an object, objects talk by sending messages, and new objects are made by cloning existing ones. Programs run in a bytecode VM or compile to C for native executables.
self and super, blocks and closures, control flow, operators,
strings, numbers, arrays, Dicts, errors, imports.System,
File, Date, Http, Regex, Fiber, Vec3, Thread, Graphics,
Db, and a reference table of every built-in method.brick.json, installing and
publishing bricks, and the bundled standard library (stdlib) and web bricks (web).clay --compile, the generated C, the architecture, calling C through FFI,
and writing plugins.
clay_plugin.h, ownership, errors, native data and API versions.Every runnable code sample in this guide is executed by the test suite
(ctest -L docs), so the examples stay correct as the language evolves.