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

Pattern problem ? #3

Open
JTriggerFish opened this issue Oct 27, 2019 · 2 comments
Open

Pattern problem ? #3

JTriggerFish opened this issue Oct 27, 2019 · 2 comments
Labels

Comments

@JTriggerFish
Copy link

JTriggerFish commented Oct 27, 2019

Is this expected that this sequence works fine
'<0.5 .5/*2>'
but this one doesn't
'<.5/*2>'

( at least in gibber v2 ) ?

Note that I put a forward slash before the '*' so that it is displayed correctly in GitHub but it shouldn't be there in reality.

It looks like the parser doesn't expect the first atom to have a multiplier ?

@charlieroberts
Copy link
Collaborator

No, that sounds like a bug, and I doubt I would have written any tests for the step operator with only one member. Thanks for the report!

@charlieroberts
Copy link
Collaborator

@mariana0pachon I think this is in the PEG, any interest in tackling it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants