Spintax is a template language for producing many variants of a text from a
single source. Beyond flat alternatives, it covers permutations that pick and
order a subset, scoped variables, value-driven conditionals, locale-aware
plurals and includes.
The point is where variation comes from. Generating each text from a model costs
money per output and drifts in quality across a large run — by page 400 the
outputs converge on the same shapes. Spintax inverts that: have a model draft one
richly varied template, review it once, then expand it locally, deterministically
and for free. Every variation is one you defined, and an editor proofreads a
single template instead of a thousand texts.
The language is implemented by five independent open-source engines — JavaScript,
PHP, Python, Object Pascal and .NET — all verified against one shared corpus of
golden fixtures, so a template renders identically wherever it runs. Nothing calls
a hosted service: rendering happens inside your own runtime.