phino-0.0.157: test-resources/evaluate-packs/parks-a-firing-whose-operand-reaches-the-terminator.yaml
# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com
# SPDX-License-Identifier: MIT
---
# yamllint disable rule:line-length
# 'block' is applied to 'buffer' only, so its void 'data' stays unfilled and
# the 'dataize' operand 'ρ.data.size' of 'L_dataized' reaches the terminator ⊥.
# Under '_partial' that parks the firing the way an operand parked on a λ
# function no entry answers does, rather than ending the run: the protocol
# writes 'unanswered(⊥)' with the term 𝔻 could not dataize (#1401). The
# firing of 'L_dataized' stands in the 'morph' operand of 'L_entry', which
# gets stuck right there and is parked as a whole, instead of handing on the
# residue its operand parked on (#2014).
symbolic: |
- λ: L_dataized
dataize:
𝛿1: $.target
𝑛: Φ.bytes( φ ↦ ⟦ λ ⤍ 𝜎 ⟧ )
- λ: L_entry
dataize:
𝛿1: $.n
morph:
𝑛1: $.v.φ
𝑛: 𝑛1
location: 'Q.l🌵.e1'
partial: true
input: >
⟦
number ↦ ⟦ φ ↦ ∅ ⟧,
bytes ↦ ⟦ φ ↦ ∅, size ↦ ⟦ λ ⤍ L_bytes_size ⟧ ⟧,
dataized ↦ ⟦ target ↦ ∅, λ ⤍ L_dataized ⟧,
block ↦ ⟦ data ↦ ∅, buffer ↦ ∅, read ↦ ⟦ φ ↦ Φ.dataized( target ↦ ξ.ρ.data.size ).as-bytes ⟧ ⟧,
l🌵 ↦ ⟦
mark ↦ ⟦ n ↦ ∅, v ↦ ∅, λ ⤍ L_entry ⟧,
e1 ↦ Φ.l🌵.mark( n ↦ Φ.number( φ ↦ Φ.bytes( φ ↦ ⟦ Δ ⤍ 3F-F0-00-00-00-00-00-00 ⟧ ) ) )( v ↦ Φ.block( buffer ↦ Φ.bytes( φ ↦ ⟦ λ ⤍ 𝜎1 ⟧ ) ).read ).φ
⟧
⟧
result: '⟦ n ↦ 1, v ↦ Φ.block( buffer ↦ Φ.bytes( φ ↦ 𝜎1:λ ) ).read, λ ⤍ L_entry ⟧.φ'
protocol: |
𝕄(Φ.l🌵.e1):
𝑛·0·1 := ⟦ n ↦ ∅, v ↦ ∅, λ ⤍ L_entry ⟧( n ↦ 1 )
𝑛·0·2 := 𝑛·0·1( v ↦ Φ.block( buffer ↦ Φ.bytes( φ ↦ 𝜎1:λ ) ).read )
𝔼(L_entry):
𝔻(Φ.a🌵0):
𝕄(Φ.a🌵0):
𝑛·1·1 := 1
𝑛·1·2 := Φ.bytes( φ ↦ 3F-F0-00-00-00-00-00-00:Δ )
𝛿·1·1 := 3F-F0-00-00-00-00-00-00 # 1.0
𝛿1·1 := 𝛿·1·1 # 𝔻(ξ.n)
𝕄(Φ.a🌵1):
𝑛·1·3 := Φ.block( buffer ↦ Φ.bytes( φ ↦ 𝜎1:λ ) )
𝑛·1·4 := Φ.dataized( target ↦ ⊥ )
𝔼(L_dataized):
unanswered ⊥ # 𝔻(⊥)
stuck ⊥
stuck ⊥