cefn / lauf

Monorepo for lauf packages.
MIT License
5 stars 0 forks source link

Step machine #205

Closed cefn closed 1 year ago

cefn commented 1 year ago

A generator-based runner package in which generators yielding simple calls (functions with parameter lists) can be used to compose a steppable sequence of operations.

This PR also introduces a package with mechanisms for recording and replaying arbitrary generator sequences, including replaying calls to a generator (from previously stepped results).

I am still considering whether the stepmachine name is better reserved for the runner itself, and the record and replay capability should get a different name, like stopwatch since it stops and watches generators.