Skip to content

alethkit/cbe

Repository files navigation

CBE: Categorical Backend Experiment

CBE is a QBE-derived compiler IR laboratory for categorical program representation, semantic provenance, proof-obligation generation, and artifact invalidation.

It is not trying to preserve QBE's original minimal-backend goals.

Origin

CBE is derived from QBE, the Quick Backend compiler:

QBE is distributed under the MIT license. See LICENSE.

The original upstream README has been preserved as README.qbe-upstream.

Initial goals

  • Ingest QBE IL.
  • Normalize phi-node SSA into block-argument SSA.
  • Export an olog-shaped categorical database instance.
  • Generate structural proof obligations.
  • Track dependency provenance and invalidation after edits.

Build

Run:

make

About

Categorical Backend Experiment: QBE-derived compiler IR lab for semantic provenance and proof artifacts

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors