S++Core systems, human-reviewable

Product

One concise business language. Technology underneath.

S++ is made of three layers, a ledger-grade execution service called QService, and a test and debugging toolchain built around business language.

Language

SPP, APP and PHY.

Each layer has one job. Business decisions are made in exactly one place.

SPP

Business

Scenarios, atomic services, rules, quantum conservation and prefabs. It contains no storage, format, deployment or display text.

APP

Application

Tables and keys, query and write declarations, interface adapters, i18n and formats, and execution placement. It makes no business decisions.

PHY

Physical

Database, QService, transaction coordinator and environment. It makes no business decisions.

A scenario reads like a business sequence

A scenario lists its participants, calls checks, calculations and updates in business order, and marks the transaction boundary in the source. Only the front end calls scenarios. Scenarios compose atomic services. There are no queries in loops and no bare database operations.

SPP: payShopOrder (Petstore demo)

Scenario serial payShopOrder(
    Buyer, Merchant, ShopOrder, PaymentAgreement
) {
    checkBuyerCredential;
    checkPaymentEligibility;
    preparePayment;

    transaction {
        payOrderFunds bounds {
            buyer.wallet: [0, null];
            merchant.cash: [0, null];
        };
        updateShopOrder;
        insertReceipt(paymentAgreement.receipt);
    }
}

Illustrative excerpt; omitted preparation and lookup steps are in the demo source.

Concision

Redundancy is a defect.

S++ exists so that humans can review core systems again, so the compiler treats repetition as an error to report. Built-in checks and --strict mode flag problems such as SPP_REDUNDANT_FIELD_COPY, raised for five or more same-name field copies.

Data access

Declarative queries and writes.

Queries are logical conditions over named parameters, never loops. The compiler therefore knows every read in a scenario and can issue them in parallel. Writes are declared with their keys. Only index-backed conditions are allowed, so a query that would scan a table does not compile.

APP: query and write declarations

repository events
    where (account == account.id and seq > cursor.seq)
    first 50
    using ledger nextEvents;

persist balances insert keys (accountNumber, currencyCode) ...

Roles

Role play instead of field copying.

take ... as ... { mapsame; } lets one record play another role. Before-image saving and reversal restore work through two-way roles. Partial updates name only the roles involved. Output projections state just the fields that differ.

SPP: output projection

take AccountHistory as HistoryLine {
    mapsame;
    debitAmount = direction == DEBIT_MARK ? amount : 0.00;
}

Conservation

Quantum conservation is a language element.

A transfer is written as an arrow between two positions. Every commit conserves its legs, and totals are checked at runtime and in every test. Amounts that depend on a balance are evaluated server-side at transfer time, so there is no read-then-transfer race. Prefab pure functions are published by content hash and can execute inside QService next to the data.

How QService executes this

SPP: quantum transfers

A.balance -> B.balance : amount;
A.balance -> T.balance : A.balance;   // amount evaluated server-side at transfer time

Internationalisation

The business layer speaks only in identifiers.

The business layer emits semantic identifiers. Texts, templates and formats live in APP. The compiler reports a missing template, placeholder or key as an error.

Deployment and execution

The same SPP runs wherever you need it.

Deploy as LOCAL, distributed, or QService parallel spaces, with the SPP unchanged. The same tests run on every deployment and must agree, and traces are comparable across deployments. Rules can be pushed down to QService, to the database (compiled to SQL), to stream processing, to gateways, or to GPU batch.

The technical layer uses mature open source for storage, coordination and saga compensation. The SDK writes only thin adapters.

Open source SDK

Build locally, without an account.

The compiler, runtime, CLI and editor tooling in the basic SDK are open source under Apache-2.0. Writing and running your own S++ is free.

Talk to us about your core systems.

Evaluate S++ on a real business flow, or ask how verifiable conversion would work for your legacy estate.