SplitScript reference / Migration / State snapshots in helper functions
State snapshots in helper functions
Migration from ASL
Source pattern
Look for the ASL concept State snapshots in helper functions in the source. The semantic difference below is more important than a token-for-token rewrite.
Canonical SplitScript
Use the canonical language and API symbols linked below.
Semantic difference
Helpers may read old and current directly or accept caller-selected snapshots as inferred parameters. The compiler propagates direct snapshot requirements and rejects calls before committed snapshots exist.
Supported hosts
This uses the standard SplitScript runtime contract. Any provider-specific requirements are documented by the linked canonical API.