gibber-cc/tidal.pegjs

Pattern problem ?

JTriggerFish opened this issue · 2 comments

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 ?

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!

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