implement PLN-0035 spec wording for materialization

This commit is contained in:
2026-04-20 08:51:36 +01:00
parent 811af09ea7
commit 762f60e00f
5 changed files with 33 additions and 3 deletions
@@ -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.