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

Blab output - grouping is not perserved #59

Open
stestagg opened this issue Feb 7, 2022 · 2 comments
Open

Blab output - grouping is not perserved #59

stestagg opened this issue Feb 7, 2022 · 2 comments

Comments

@stestagg
Copy link

stestagg commented Feb 7, 2022

Given this example:

echo -e 'b = a " "\n\na = ("1" / "2") "3"' | kgt -l abnf -e blab | blab -n 10

The output should be:

13 23 23 23 13 23 23 13 23 23

But instead, we get:

1 23 23 23 1 23 23 1 23 23

Because the generated blab output is:

b = a  " "

a = "1" | "2"  "3"

Rather than (something like):

b = a  " "

a = ("1" | "2")  "3"
@stestagg
Copy link
Author

stestagg commented Feb 7, 2022

You may regret your suggestion that I try blab 😈

@katef
Copy link
Owner

katef commented Feb 20, 2022

not at all! this is a genuine bug, thank you

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