Feature request: richer spin syntax, open engine ready
spintax
Belgrad
The internal spinner has been flat {a|b|c} for years. There is now an open spin superset spec (permutations, reusable variables, conditionals, plural agreement, includes) with a ready Object Pascal engine: zero dependencies, MIT, and it compiles under Free Pascal and the free Delphi edition. It passes the same shared conformance corpus as the JavaScript, PHP and Python engines, 164 of 168 with none failing.
What SER users get out of it: everything you already write keeps working. Flat and nested {a|b|c} render as today, and the engine leaves any %macro% it does not recognise exactly as written, case and all, so the %...% variables you already use in SER pass straight through untouched. On top of that you get variables you define once and reuse across a template, subset permutations with your own separator, conditionals, and correct plural forms. Author a template once with a cheap model using the published authoring prompt, then spin it locally at no marginal cost on every submit.
I run a couple of licenses and want nothing for this. Best case the engine lands in SER so templates render natively. Short of that, these are open and free:
Engine and source: https://github.com/investblog/spintax-win
Syntax reference: https://spintax.net/docs/syntax
Editor with a live render: https://apps.microsoft.com/detail/9mw3ch7b530p
Happy to answer technical questions.