Synergize is a dynamically typed, interpreted, Turing-complete programming language whose source code reads like an unbearable software middle manager speaking during a status meeting. This is not a transpiler demo; it is a real interpreter with closures, generators, workstreams (async tasks), operating models (classes), playbooks (modules), sources of truth (SQLite), and a standard library of more than 550 management-speak operators — every one of them implemented and tested.
create a source of truth called maximum headcount around 100.
set up a meeting called current headcount around single-threaded ownership.
let's circle back while current headcount is no further along than maximum headcount.
assuming the residual bandwidth from current headcount against 15 is aligned with zero headcount.
socialize "FizzBuzz".
otherwise assuming the residual bandwidth from current headcount against 3 is aligned with zero headcount.
socialize "Fizz".
otherwise assuming the residual bandwidth from current headcount against 5 is aligned with zero headcount.
socialize "Buzz".
otherwise.
socialize current headcount.
land the plane.
roll current headcount forward.
land the plane.
Installation
Synergize requires Python 3.12 or newer and has zero runtime dependencies beyond the standard library.
git clone <this repository> synergize && cd synergize python -m venv .venv && . .venv/bin/activate # or your preferred flow pip install -e .
You can also skip installation entirely and use python -m synergize ...
from the repository root.
CLI
synergize run examples/fizzbuzz.syn # execute a narrative synergize check examples/fizzbuzz.syn # parse + static validation only synergize repl # interactive alignment session synergize operators # the full operator vocabulary synergize operators --category arithmetic synergize explain "move the needle on" # documentation for one operator synergize ast examples/factorial.syn # readable decision tree synergize tokens examples/hello_world.syn # lexical output synergize format examples/fizzbuzz.syn # the Alignment Facilitator synergize test my_validations.syn # run Synergize-native tests
All of the above also work as python -m synergize <command>.
Hello, world
socialize "Hello, stakeholder".
For the version with a steering committee, a RACI matrix, a north star
metric, delegated workstreams, executive air cover, and a scheduled
postmortem — which nevertheless prints exactly Hello, world! — see
examples/enterprise_hello_world.syn.
Why it is Turing complete
Synergize provides unbounded iteration (let's circle back loops run until
someone takes them offline), mutable storage, arbitrary-precision integers
(Python integers underneath — factorial of 50 just works), conditional
branching, recursion, and user-defined initiatives with closures. That is
everything a Turing machine needs and considerably more than most middle
managers have.
The demonstration is examples/brainfuck_interpreter.syn:
a complete Brainfuck interpreter written entirely in Synergize —
ordinary jiras, loops, branches, and narratives; nothing native — which
executes examples/brainfuck/hello_world.bf
and prints Hello World!. Since Brainfuck is Turing complete and Synergize
interprets it, Synergize is Turing complete by reduction. An automated
integration test (tests/test_examples.py) verifies the output. The formal
argument lives in LANGUAGE_SPEC.md.
Documentation
- LANGUAGE_SPEC.md — grammar, precedence, scoping, concurrency, the whole operating model.
- OPERATOR_REFERENCE.md — every operator phrase,
generated directly from the registry (
synergize docs). It cannot drift from the implementation; a test enforces this. - CONTRIBUTING.md — rules of engagement for new jargon.
Testing
The suite covers the lexer, longest-phrase matching, parser precedence, scoping, closures, recursion, blockers, collections, playbooks, file I/O, SQLite, async workstreams, the formatter's idempotence, registry completeness (every operator resolves to an implementation and parses deterministically), and end-to-end execution of every example, including the Brainfuck interpreter.
Warning
Use of Synergize in production may result in a quarterly planning process. The maintainers accept no responsibility for org charts, steering committees, alignment theater, or feelings of profound recognition experienced while reading the standard library.