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

pretty printing is a bit off #574

Closed
yegor256 opened this issue Nov 28, 2024 · 4 comments
Closed

pretty printing is a bit off #574

yegor256 opened this issue Nov 28, 2024 · 4 comments

Comments

@yegor256
Copy link
Member

Check this out:

$ cat bar.phi
{⟦ m ↦ ⟦ x ↦ ⟦ t ↦ ∅ ⟧ (t ↦ ξ.k), k ↦ ⟦ λ ⤍ Fn ⟧ ⟧.x.t.p ⟧}
$ eo-phi-normalizer rewrite -s bar.phi
{
  ⟦
    m ↦ ⟦
      t ↦ ∅
    ⟧
    (
      t ↦ ⟦
        x ↦ ⟦
          t ↦ ⟦
            x ↦ ⟦
              t ↦ ⟦
                x ↦ ⟦
                  t ↦ ⟦
                    x ↦ ⟦
                      t ↦ ⟦
                        x ↦ ⟦
                          t ↦ ⟦
                            x ↦ ⟦
                              t ↦ ∅
                            ⟧
                            (
                              t ↦ ξ.k
                            ),
                            k ↦ ⟦
                              λ ⤍ Fn
                            ⟧
                          ⟧
                          .k
                        ⟧
(), k ↦ ⟦
                          λ ⤍ Fn
                        ⟧
                      ⟧
                      .k
                    ⟧,
                    k ↦ ⟦
                      λ ⤍ Fn
                    ⟧
                  ⟧
                  .k
                ⟧,
                k ↦ ⟦
                  λ ⤍ Fn
                ⟧
              ⟧
              .k
            ⟧,
            k ↦ ⟦
              λ ⤍ Fn
            ⟧
          ⟧
          .k
        ⟧,
        k ↦ ⟦
          λ ⤍ Fn
        ⟧
      ⟧
      .k
    )
    (
      ρ ↦ ⟦
        x ↦ ⟦
          t ↦ ∅
        ⟧
        (
          t ↦ ξ.k
        ),
        k ↦ ⟦
          λ ⤍ Fn
        ⟧
      ⟧
    )
    .t.p
  ⟧
}

In one line something went off.

@yegor256
Copy link
Member Author

@deemp can you help?

@deemp
Copy link
Member

deemp commented Nov 28, 2024

@yegor256, ok, will check it.

@deemp deemp linked a pull request Nov 28, 2024 that will close this issue
@deemp deemp removed a link to a pull request Nov 28, 2024
@deemp
Copy link
Member

deemp commented Nov 28, 2024

@yegor256, can you try the version on master so that we have a more tight feedback loop?

@yegor256
Copy link
Member Author

yegor256 commented Dec 3, 2024

@deemp thanks!

@yegor256 yegor256 closed this as completed Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants