Add working SpeckDL examples to examples/ #11

Closed
opened 2026-04-29 03:55:00 +00:00 by sscoble · 0 comments
Owner

The examples/ directory only has a .gitkeep. Add complete, self-contained SpeckDL examples that demonstrate the language:

  1. RetryHandler.speck — Already in the spec, simple retry with backoff constraints
  2. DrugDosageCalculator.speck — Medical device example from the spec, shows provenance + SpeckBOM
  3. PaymentService.speck — Shows import pinning with hash verification
  4. TemperatureMonitor.speck — IoT example, shows constraint-based verification
  5. AccessControl.speck — Shows derives/satisfies for regulatory traceability

Each example should compile (once the compiler exists) and demonstrate a different language feature. Include comments explaining the provenance and BOM annotations.

The examples/ directory only has a .gitkeep. Add complete, self-contained SpeckDL examples that demonstrate the language: 1. **RetryHandler.speck** — Already in the spec, simple retry with backoff constraints 2. **DrugDosageCalculator.speck** — Medical device example from the spec, shows provenance + SpeckBOM 3. **PaymentService.speck** — Shows import pinning with hash verification 4. **TemperatureMonitor.speck** — IoT example, shows constraint-based verification 5. **AccessControl.speck** — Shows derives/satisfies for regulatory traceability Each example should compile (once the compiler exists) and demonstrate a different language feature. Include comments explaining the provenance and BOM annotations.
sscoble 2026-04-29 04:23:51 +00:00
  • closed this issue
  • added the
    docs
    label
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: sscoble/speckl#11
No description provided.