SplitScript reference / Migration / ASL primitive state types
ASL primitive state types
Migration from ASL
Source pattern
Look for the ASL concept ASL primitive state types 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
Preserve the bytes read by the ASL state declaration: bool is one byte; signed and unsigned integers and floating-point values map to the corresponding explicit-width SplitScript type. Treat stringN, byteN, pointers, enums, and values created in C# action code according to their actual representation rather than their nearest-looking name.
Supported hosts
This uses the standard SplitScript runtime contract. Any provider-specific requirements are documented by the linked canonical API.