HoldFastPlayground

HoldFast documentation

Syntax and semantics

Document Subject
Language reference Language syntax, semantics, and tool support
Surface grammar Concrete grammar, precedence, and layout
Effect system Read, write, and call bounds, inference, and confinement
Hosted application profile Proposed runtime and host bindings for applications, including cancellation and recovery
Systems profile Qualification criteria for device ownership, target guarantees, executable costs, and secret processing
Language landscape Related designs for handlers, async lifecycles, ownership modes, unions, and spans

Ownership and resource use

Document Subject
Borrow checking Ownership, loan modes, and lifetimes
Graded types Exact, bounded, and type-only use
Core design and loans Core judgments, loan and mutation rules, refinement checking, and proof obligations
Loan analysis Loan-end inference over explicit flow facts and checked indexed-call comparisons
Outcome tags for loan restoration Minimum cleanup metadata, joint batch encoding, and a checked complexity threshold

Types and proofs

Document Subject
Dependent types Vector lengths that rule out invalid indices
Formal verification Contracts, proof obligations, and Rocq replay
Mathematical elaborator Generic dependent mathematics, first-class proofs, and native Rocq kernel replay

Playground and editor tools

Document Subject
HoldFast Playground Interactive language tour and browser playground
Playground contract Playground architecture, local loopback transport, and the in-browser runtime on GitHub Pages
Language server Pure diagnostics and editing. Choose proof hover for standalone mathematical source or navigation for a locked package.
Authoring tools Formatting, lints, documentation, and checked edit previews
Syntax highlighting Syntax-only editor assets and independent consumers
Tooling protocols Compiler inspection API, LSP, Tree-sitter/TextMate, SARIF, SCIP, BSP, remarks/traces, DWARF, and DAP

Compiler and assurance

Document Subject
Pure compiler Pure checking and Gallina emission
Parser Native Menhir parser, Rocq-extracted pure parser, and generated syntax tests
Verification strategy Proof boundaries, language design constraints, and research
Compiler route contract Retained compiler route and source-to-artifact correspondence contract
Packet validator walkthrough Run short, corrupt, and valid packets through the validator and inspect its writes and returned view

Release and roadmap

Document Subject
First-release contract First-release boundary, primitive semantics, module/package rules, ownership libraries, and first-slice qualification
Project plan Implementation and release qualification
Extension designs First-release foundations, proposed language extensions and target profiles
Workflow contract Release adoption and workflow comparison criteria
Completion log Landing evidence, partial qualifications, and the completed estimates used in the plan