implement PLN-0035 spec wording for materialization
This commit is contained in:
@@ -17,6 +17,17 @@ All runtime values are stored in VM slots as `Value`.
|
||||
| `bool` | Boolean value |
|
||||
| `float` | 64-bit floating point |
|
||||
|
||||
### String values
|
||||
|
||||
PROMETEU supports string values in the VM language surface.
|
||||
|
||||
String rules:
|
||||
|
||||
- hardcoded strings may be materialized once during build/load through constant-pool-backed storage;
|
||||
- runtime-created strings may materialize at the point where a new string value is semantically created;
|
||||
- the public value model does not require repeated payload copies after first materialization;
|
||||
- reducing repeated string copy pressure is an internal runtime concern and MUST NOT be interpreted as a guest-visible ABI distinction.
|
||||
|
||||
### Built-in vector and graphics types
|
||||
|
||||
These are treated as VM values with stable layout semantics.
|
||||
|
||||
Reference in New Issue
Block a user