packages feed

phino-0.0.163 / test-resources / rewriter-packs / custom / string.yaml

# SPDX-FileCopyrightText: Copyright (c) 2025 Objectionary.com# SPDX-License-Identifier: MIT---input: |  [[ attr -> 55 ]]output: |-  ⟦ str ↦ "attr", num ↦ "55" ⟧rules:  custom:    - name: string function      pattern: '[[ !t1 -> !e1, !B1 ]]'      result: '[[ str -> !e-str, num -> !e-num, !B1 ]]'      where:        - meta: '!e-str'          function: string          args: ['!t1']        - meta: '!e-num'          function: string          args: ['!e1']