StructOp Handbook
Contents Examples Commands
Handbook / What is StructOp?

Scope and roadmap

StructOp 0.1.0 is the first release. This page says what it covers, how that is verified, where each area stands today and what comes next, so that you can plan with it.

On this page

What version 0.1.0 covers#

AreaIn version 0.1.0Read more
TargetsC (C99 to C23) and Rust (editions 2018 to 2024) from the same declarationsC and Rust targets
SystemsmacOS on Apple silicon and Intel; Linux on ARM64 and x86-64Downloads and installation
Lifecycleinit, validate, plan, apply, test, graph and state, with nine verified guaranteesLifecycle guarantees
ProvidersThe core language, desktop windows and terminal games on both targets; bindings for C libraries and Rust crates; a community catalogue with signed approvalConfigure providers
Tools and AI agentsMachine-readable output from nine commands, in a versioned formatMachine-readable output
Evidence209 documented projects, 195 of them on both targets, and a worked application built for C and for RustA worked application

How it is verified#

Every figure on this site comes from StructOp’s own automated tests, which run on every change to the program.

SystemStatus
macOS on Apple siliconVerified natively
Linux on ARM64Verified natively
Linux on x86-64Qualification suite and installers verified under emulation
macOS on IntelVerified under translation (Rosetta) on Apple silicon
WindowsA native build is in preparation

Scope by area#

These notes describe version 0.1.0 as it is, so that a design fits it from the start.

AreaVersion 0.1.0
StorageValues, arrays, lists and byte buffers have declared sizes, checked at run time. Heap blocks grow and shrink while the program runs; every element access is checked, and a block is released when the program ends.
ConcurrencyWorkers run functions on their own threads with copied arguments and results. They share data only through atomic counters and flags, or through values guarded by a lock; validate refuses any other sharing.
ClassesClasses compose through interfaces. An interface is the type of a parameter; a method is called by a call ability.
LanguageOne declaration means the same on C and on Rust: the same output, and the same fault at the same place. That rule decides what belongs to the language, so everything in it works on both targets. A feature that only one of the two languages has, such as unions and bit-fields in C or generics and lifetimes in Rust, stays outside by design; a bound library or native code reaches it on that one target.
PortabilityA project is portable when its providers exist for both targets. Inline C, some library bindings and some stored-pointer patterns belong to one target; validate says so before anything is built. Portability scope
Windows and listsA list in a window adds rows; a view that changes is rebuilt, as the worked application’s report is. Windows are verified with scripted sessions, and structop test drives the command line.
Library bindingsstructop bind writes a provider from a C header or a Rust crate and lists each function it leaves out, with the reason. C libraries and Rust crates
ModulesA module runs once where it is declared. Behaviour called from handlers is written as functions.
TextText has a declared size. On the C target, an expression that combines many text results copies some of them first.
Program resultsA program reports through its output. A fault stops it with the file, line and column of the declaration; setting an exit status is outside 0.1.0.
Change viewsThe plan lists the abilities a change touches. For a change to a rule the whole application shares, the impact view marks the whole application.
LifecycleThe guarantees cover the StructOp commands. Scope of the guarantees

What comes next#

WhenWhat
In the 0.1.0 releaseInstallers for the systems above; heap blocks, workers, atomics and locks in the C and Rust providers 2.3.0; compiler messages mapped back to the declaration they come from; generated C built with optimisation, and faster file reading on the Rust target; a harness for comparing development with and without AI assistance
The release after 0.1.0Lending a block to a function and handing a block to a worker; guards for text and structs; faster loops in the Rust output
ContinuingMore providers and catalogue examples; a native Windows build; native verification of every installer

Dates are not given here: each item is released when it passes the same tests as everything above.