Skip to content
sequelcorePublic

About

A programming language whose compiler proves what the code promises (experimental)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Accord

A programming language whose compiler proves what the code promises.

Status: experimental. Nothing is released. The compiler checks and proves programs, and writes proved programs as TypeScript: the roadmap says what's being built and in what order.

The idea

When an agent writes code, a person still has to decide whether it does what they meant. Accord puts what that decision needs into the language itself: the intent in plain words, the specification, and the evidence. The compiler is the verifier: it turns each specification into proof obligations, discharges them with SMT solvers, and reports each one as proved, refuted, undecided or unsupported, with the inputs that show it where there are any. Evidence is bound to the exact content it checked and goes stale when that changes. Nothing undecided is reported as proved. The concepts define each term, and the background says where the design comes from.

accord check <file or folder> presents each function for review, with its unchecked intent, complete specification, evidence, and proof limits. Add --json for structured diagnostics with stable codes. The receipt reference describes both views; the readability packets await human review.

accord build <file or folder> --out <folder> writes a program whose obligations are all proved as TypeScript modules, with a check of every requires where a caller enters them. The TypeScript reference says what a module holds and what it trusts.

License

Licensed under either of

at your option. Unless you state otherwise, any contribution you submit for inclusion in this work, as defined in the Apache-2.0 license, is dual licensed as above, without any additional terms or conditions.

About

A programming language whose compiler proves what the code promises (experimental)

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages