A small toolkit connecting LemmaScript and Quint, illustrated across live TypeScript apps.
And now, `lemmascript-quint` provides a more mechanical path to the answer. You can generate Quint from LemmaScript contracts, and check that those contracts actually support the system-level, temporal properties that you care about. You can even mutate clauses one by one to see which ones matter, and connect the LemmaScript/TypeScript implementation directly to Quint for model-based testing of outer shells like async loops that are (currently) beyond the reach of LemmaScript.
Across four case studies, we found that in addition to the LemmaScript function-level guarantees, the Quint system-level guarantees afford new assurances, in particular about the overall functioning of the app across time, with concurrent actions. We caught issues like weak contracts and real async races.
1 comment
And now, `lemmascript-quint` provides a more mechanical path to the answer. You can generate Quint from LemmaScript contracts, and check that those contracts actually support the system-level, temporal properties that you care about. You can even mutate clauses one by one to see which ones matter, and connect the LemmaScript/TypeScript implementation directly to Quint for model-based testing of outer shells like async loops that are (currently) beyond the reach of LemmaScript.
Across four case studies, we found that in addition to the LemmaScript function-level guarantees, the Quint system-level guarantees afford new assurances, in particular about the overall functioning of the app across time, with concurrent actions. We caught issues like weak contracts and real async races.
Read the full thread on Hacker News →
Related stories
- Hacker News · 2 points · 2 months ago
- Hacker News · 1 points · 2 months ago
- The Verge · 0 points · 2 months ago
- Lobsters · 5 points · over 3 years ago
- Hacker News · 1 points · 2 months ago
- Show HN: Sign Contracts on a Scroll with Waxscrollusign.comHacker News · 1 points · 5 days ago