Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support positional arguments #303

Open
deemp opened this issue Apr 22, 2024 · 0 comments
Open

Support positional arguments #303

deemp opened this issue Apr 22, 2024 · 0 comments
Assignees
Labels
(normalization rules) Related to normalization rules (normalizer) Related to the normalizer application priority 1

Comments

@deemp
Copy link
Member

deemp commented Apr 22, 2024

There are $\alpha$-bindings instead of normal names in generated PHI programs.
eoc can't statically generate correct names for arguments.

Program used in this example is available in this artefact

pipeline/phi/as-phi-tests.phi:

{
  ⟦
    org ↦ ⟦
      eolang ↦ ⟦
        prints-itself ↦ ⟦
          φ ↦ Φ.org.eolang.as-phi(
            α0 ↦ ξ
          ).length.gt(
            α0 ↦ Φ.org.eolang.int(
              α0 ↦ Φ.org.eolang.bytes(
                Δ ⤍ 00-00-00-00-00-00-00-00
              )
            )
          )
        ⟧,
        ...
        λ ⤍ Package
      ⟧,
      λ ⤍ Package
    ⟧
  ⟧
}
@deemp deemp added (normalizer) Related to the normalizer application (normalization rules) Related to normalization rules labels May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
(normalization rules) Related to normalization rules (normalizer) Related to the normalizer application priority 1
Projects
None yet
Development

No branches or pull requests

2 participants