SplitScript reference / Migration / DeepPointer and native state roots
DeepPointer and native state roots
Migration from ASL
Source pattern
Look for the ASL concept DeepPointer and native state roots 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
A bare numeric root in an ASL native state field or DeepPointer is normally main-module-relative. Preserve it as at "game.exe", offset; SplitScript's at offset form is an absolute virtual address. Use typed state paths for polled fields or process.follow for dynamically discovered paths.
Supported hosts
This uses the standard SplitScript runtime contract. Any provider-specific requirements are documented by the linked canonical API.
Related reference
-
state (language)
-
Process.follow (standard library)