feat: progress

This commit is contained in:
2026-01-18 18:27:48 -05:00
parent f2c8d9f7d2
commit 5f2dcc9394
49 changed files with 227 additions and 1844 deletions

23
pkg/engine/engine.go Normal file
View File

@@ -0,0 +1,23 @@
package engine
import (
"fmt"
"git.maximhutz.com/max/lambda/pkg/repr"
)
type Engine[R repr.Repr] interface {
Run(trace bool, count int) (Trace, bool)
Step() uint64
State() (repr.Repr, error)
fmt.Stringer
}
type Trace interface {
Before() string
After() string
Step() uint64
TransitionName() string
TransitionNodes() string
}