Convert a single expression to a Value — the literal-collapsing rule set from docs/design.md §3.1. Exported for tests and for tools that want to walk attribute values directly.
Convert a single expression to a Value — the literal-collapsing rule set from docs/design.md §3.1. Exported for tests and for tools that want to walk attribute values directly.