Introduction to StructOp
StructOp is a declarative application development platform designed to make software easier to define, understand, build and evolve.
On this page
Rather than expressing an application entirely through traditional imperative source code, StructOp allows developers to describe its structure, data, behaviour and execution relationships using a unified declarative language.
StructOp validates these declarations, resolves dependencies, generates native source code and builds executable applications using the selected target toolchain.
It brings principles associated with declarative infrastructure management into application development, where changes can be planned, execution relationships visualised and supported build resources tracked through state.
StructOp combines an application language, native code generation, provider extensibility and an integrated development lifecycle within a unified platform.
At a glance#
- Declarative programming. An application is a set of named, typed declarations in
.stfiles. See Declarative application development. - Native code generation. StructOp generates C or Rust source and compiles it with that language’s own toolchain. See Native language interoperability.
- State-driven development workflows.
plancompares the declarations with the state that the lastapplyrecorded. See Application development lifecycle. - Extensible providers. Providers define the ability kinds a project can use and the code each one becomes. See Provider architecture.
- Human and AI collaboration. People and tools read the same declarations, diagnostics, plans and graphs. See Human and AI collaboration.
Software as Declarations is a short name for the idea: the declarations are the application, and the generated program follows from them. Declarative software development is not new, and StructOp does not claim to have invented it. StructOp applies it to whole native applications and to the workflow around them.
What StructOp is not#
Each of the following descriptions explains one aspect of StructOp. None of them describes the whole platform.
| Description | What is true | What it leaves out |
|---|---|---|
| A programming language | StructOp has an application language with types, expressions and functions. | The command-line tool, the providers, state and the lifecycle around the language. |
| A low-code tool | Applications need less hand-written C or Rust. | Applications are text files written by people or tools. There is no visual builder. |
| A code generator | apply generates C or Rust source. | Validation, change planning, graphs, recorded state and tests. |
| Terraform for applications | It shares the init, plan, apply and state vocabulary. | StructOp builds programs, not infrastructure, and has a language for behaviour. |
| An AI coding assistant | It is designed for work with AI development agents. | StructOp contains no AI model. The agent is a separate program that you choose. |
Official descriptions#
The handbook and the site metadata use these descriptions.
| Use | Description |
|---|---|
| Technology category | Declarative Application Development Platform. |
| Short description | StructOp is a declarative application development platform for defining, visualising, planning and building native software through a unified, extensible language. |
| Technical description | StructOp is a provider-driven declarative application development platform that combines structured application modelling, dependency-aware execution, native source generation, change planning and state-driven build management within a unified development lifecycle. It enables developers and AI systems to collaborate through explicit, inspectable and machine-readable application definitions. |
| Enterprise description | StructOp introduces a structured and inspectable approach to software development, designed to improve application visibility, change traceability, development consistency and human oversight of AI-assisted software development while leveraging established native programming ecosystems. |
| Core philosophy | Software should not only be executable. It should be understandable, inspectable and intentionally evolvable. StructOp is built around the principle that application structure, behaviour and change should be explicit to both humans and machines. |
| Brand message | StructOp. Declarative by design. Executable by nature. A unified approach to defining, understanding and evolving software. Define. Plan. Visualise. Build. |
The enterprise description states a design aim. StructOp gives reviewers plans, graphs and recorded state to work with; it does not by itself make an organisation’s software or process compliant with any standard.
What exists today#
This chapter describes StructOp 0.1.0. Where a sentence states an aim rather than current behaviour, it says so.
- Targets. C and Rust.
- Systems. macOS on Apple silicon and Intel, and Linux on ARM64 and x86-64. Downloads and installation has the installers and says how each build is verified.
- Commands. Among them
init,validate,plan,apply,destroy,graph,test,fmt,schema,bindand the state and environment commands. The command reference lists them all. - Heap storage and threads. Checked heap blocks, workers, atomics and data shared under a lock, on both targets, with the C and Rust language providers 2.3.0.
- Licence. StructOp and the official providers come under the licence terms.