speckl/examples
Scott Scoble 8b520284cb TS generator: fix #12 (5 expression patterns) + #11 (opaque record types)
#12: All 5 untranslated SpeckDL patterns now emit valid JS:
  - notIn → !.has(), old() → drop, union → Set spread,
    set diff → filter, append() → [...X, Y], length() → .length
  - ==/!= operator replacement fixed (word-boundary regression)
  - Postcondition object comparisons get @ts-expect-error TS2839

#11: Generator auto-detects opaque identifier types used in state
  variables and action params, emits 'type X = any' before class.
  - State properties use ! (non-null assertion) for strict mode

TigerBeetleLedger → tsc --noEmit = 0 errors. 37/37 tests pass.
2026-05-11 10:16:15 -07:00
..
.gitkeep Initial commit: Speckl project scaffold 2026-04-28 01:20:22 -07:00
AccessControl.speck Add SpeckDL examples with Dark Provenance primitives 2026-04-29 14:44:00 -07:00
AccountLedger.speck fix: add dist-check guard + List<T> type parsing + state machine examples 2026-05-05 03:11:53 -07:00
DrugDosageCalculator.speck Add SpeckDL examples with Dark Provenance primitives 2026-04-29 14:44:00 -07:00
KafkaKRaft.speck feat(z3): zero-error SMT-LIB2 output + BMC verify blocks for KRaft 2026-05-09 23:07:56 -07:00
OAuth2AuthorizationCode.speck feat: OAuth 2.0 authorization code flow with PKCE spec 2026-05-09 21:51:51 -07:00
Paxos.speck refactor: remove WAT/WASM generator (superseded by IR→Rust→WASM path) 2026-05-09 22:03:20 -07:00
PaymentService.speck Add SpeckDL examples with Dark Provenance primitives 2026-04-29 14:44:00 -07:00
PreconditionTest.speck refactor: remove WAT/WASM generator (superseded by IR→Rust→WASM path) 2026-05-09 22:03:20 -07:00
Raft.speck refactor: remove WAT/WASM generator (superseded by IR→Rust→WASM path) 2026-05-09 22:03:20 -07:00
RetryHandler.speck Add SpeckDL examples with Dark Provenance primitives 2026-04-29 14:44:00 -07:00
SQLitePager.speck fix(z3): robust = conversion + SQLite pager spec (DB.2) 2026-05-10 01:02:00 -07:00
SQLiteWAL.speck TS generator: fix #12 (5 expression patterns) + #11 (opaque record types) 2026-05-11 10:16:15 -07:00
TemperatureMonitor.speck Add SpeckDL examples with Dark Provenance primitives 2026-04-29 14:44:00 -07:00
TigerBeetleLedger.speck fix: add dist-check guard + List<T> type parsing + state machine examples 2026-05-05 03:11:53 -07:00
ToggleSwitch.speck fix: add dist-check guard + List<T> type parsing + state machine examples 2026-05-05 03:11:53 -07:00
TwoPhaseCommit.speck fix: add dist-check guard + List<T> type parsing + state machine examples 2026-05-05 03:11:53 -07:00