Documentazione
Tutto spintax in un unico posto: il riferimento della sintassi, una serie di guide alla creazione di template, motori open source (JavaScript, PHP, Python, Object Pascal, .NET) e strumenti concreti — il playground nel browser, Spintax Studio, esempi svolti e il flusso da IA a template. Inizia dalla sintassi, poi scegli la guida adatta al tuo compito.
Inizia qui
Riferimento sintassi
Riferimento completo di tutto il markup spintax: enumerazioni, permutazioni, variabili, include, commenti e post-elaborazione.
Cos'è Spintax?
Cos'è lo spintax, da dove viene e come l'IA cambia tutto nella generazione di contenuti basata su template.
Nested Spintax
Approfondimento sull'annidamento: profondità arbitraria, composizione tra elementi diversi e il modello di risoluzione dall'interno verso l'esterno.
Guide alla scrittura
Scrittura al contrario
Scrivete prima il testo finito. Il markup spintax viene per ultimo. Il modello mentale che tiene leggibile ogni template.
Variabili e riuso multi-sito
Come le variabili trasformano un template in molti siti senza impronta. Precedenza, trappola del ri-tiraggio, collisioni di separatore.
Permutazioni in pratica
Dagli elenchi semplici ai titoli seriali. Regole dei separatori, limiti di dimensione e override per elemento.
ENGrammar-safe synonymization
Keep every resolved variant readable. Binding rules for English agreement, and the full Russian-cases section: case families, preposition binding, gender and governance.
Composizione di template
Variabili che contengono HTML già reso. La pipeline elemento → sezione → orchestratore, con esempio completo.
Spintax condizionale
Ramificazione guidata dal valore con {?VAR?then|else}. Regole truthy, pipeline a due passate e differenza dalla scelta casuale.
Concordanza di numero
La forma giusta del sostantivo in base alla quantità. RU/UK/BE e SR/HR/BS a 3 forme, stile EN a 2, con runtime tollerante.
ENRepairing spintax templates
A finished template that still renders dirty is repaired, not rewritten: detect the defect, apply the one named recipe for its class, re-check. The catalogue, the lint codes, and the prompt that keeps a model on the recipe.
Motori e pacchetti
Spintax for JavaScript
The open-source @spintax/core engine on npm. Parse, render, validate spintax on Cloudflare Workers, Node, and in the browser. Zero deps, MIT, parity-verified against the WordPress plugin.
ENSpintax for PHP
The open-source spintax/core engine on Packagist. Conditionals, plural agreement and safe includes — not just {a|b|c}. Zero deps, MIT, PHP 8.0+, bound to the same cross-engine corpus.
ENSpintax engines — the family
One syntax, independent engines — JavaScript, PHP, Python, Object Pascal and .NET — held to one shared golden corpus. Pick by runtime; install, quick start and where they differ.
Strumenti e risorse
Spintax playground
Write a template, define variables, render N variants right in the browser. Inline error highlighting. Share via URL.
Editor Spintax
Spintax Studio, l’editor nativo per Windows, più le estensioni per VS Code e Sublime Text — e l’archivio GTW, il prototipo da cui è nato il linguaggio.
ENSpintax by Example
A finished paragraph reverse-authored into a rich template — variables, permutations, conditionals, plurals and cases, with real renders.
ENWriting templates with AI
Spintax Studio now drafts and checks the template for you; or do it by hand — the prompt, the chat / skill / MCP setups, and the nine mistakes language models reliably make in spintax.
ENThe spintax MCP server
Four tools — validate, render, analyze, and the authoring guide — for an agent. Two doors: hosted spintax.net/mcp and local @spintax/mcp (no caps, no network at runtime, #include from disk).
ENSpintax for cold email
Flat {a|b|c} is what every sending tool gives you. Permutations and conditionals multiply the same email by 144 without rewriting a line — the arithmetic, measured, and the workflow for senders that do not speak the syntax.
ENSpintax for n8n
The community node, as a hands-on guide: render a unique email per lead or a distinct product description per storefront, and let your own LLM draft, validate and repair the template. No credentials; the engine is bundled in.
Quanto costa davvero il contenuto AI
Prezzi reali per articolo su Claude, GPT, Gemini, Grok, DeepSeek, Qwen, Kimi, Mistral (agosto 2026). Cache, batch e il momento in cui pagare a articolo smette di avere senso.
Novità: Spintax per n8n — un unico flusso Render-per-riga per liste di lead e feed di prodotti.