Open jzohrab opened 3 years ago
Hi -- yes, sounds like a good idea. Happy to look at a PR. :-)
Thanks @0xfe. I've pushed a new branch to my fork with an initial failing test and will try scheduling time to work on the simplified grammar (leaving the existing grammar in place).
https://github.com/0xfe/vextab/compare/master...jzohrab:spike-simplified-grammar
Cheers! jz
Hello @0xfe -- this library, and vexflow, are just incredible. I've been working with vextab for a short while and wondered if you'd consider variations/extensions on the existing grammar, if it increases the clarity/utility of vextab.
For example, the notation below
is vextabbed as
I've only briefly looked at the jison, but believe that it should be possible to extend the grammar to handle some common (?) things in a simplified manner that would render the same results as above, maybe something like:
It's totally a nice-to-have for me at this point, but if you think it would be a good addition, I could take a look into it. I'd prefer to contribute back here rather than fork.
Cheers and thank you again, jz