Skip to content

Bug: Standardization issues #61

Description

@casey-c

P ↔ Q

 ┌─────────┐ ┌─────────┐ 
 │   ┌───┐ │ │   ┌───┐ │ 
 │ P │ Q │ │ │ Q │ P │ │ 
 │   └───┘ │ │   └───┘ │ 
 └─────────┘ └─────────┘ 

...has some issues with the auto-formatting. Specifically, it isn't outputting the exact same format that egg-parser wants (which is supposed to be the de-facto standard).

egg is giving the following output string:
2 21PQ 21QP

while egg-parser has the two main cuts swapped:
2 21QP 21PQ.

I think in this case I might agree with egg's output over egg-parser. The above graph to me looks better than what egg-parser wants, which is:

 ┌─────────┐ ┌─────────┐ 
 │   ┌───┐ │ │   ┌───┐ │ 
 │ Q │ P │ │ │ P │ Q │ │ 
 │   └───┘ │ │   └───┘ │ 
 └─────────┘ └─────────┘ 

In that case, I think this is more of a bug for egg-parser. I'll try and see what's going on and will return when I've come up with a fix to coordinate the two applications.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions