This is the documentation for DS 1.1.0. View the current release

DS Documentation

Reference manuals and the normative specification.

The DS Author's Reference

Installing DS and writing rule files: values, units, expressions, time, facts, rules, actions, calls, series, capabilities and the tools.

The DS Integrator's Reference

Embedding libds in C: its conventions, the engine, facts, callbacks, introspection and determinism.

The DS Bindings Reference

The Python (pyds), JavaScript (@ds-lang/ds) and Mercury bindings, and where C's is.

The DS Internals Reference

How the engine works inside: the Rete network, truth maintenance, series backings, the artefact formats and the atom registry.

The DS Specifications

The normative contract: language, runtime, implementation, integration and the wire format.