postcss-calc icon indicating copy to clipboard operation
postcss-calc copied to clipboard

[Feature Request]: Better parser

Open ludofischer opened this issue 1 year ago • 0 comments

What should be improved?

hat postcss-calc uses an unmantained and I suspect buggy parser generator called jison-gho to generate the parser for the calc() expressions. If I remeber correctly, solving most bugs of postcss-calc would require replacing the parser generated by jison-gho with something else.

Describe the solution you would like

I would really prefer a hand-written parser as would not want to depend again on parser generator that gets abandoned.

Possible alternatives

Fix the parser generated by jison-gho by tweaking the grammar Use another parser generator (for example peggy).

Additional context

No response

Are you willing to work on this?

  • [ ] Yes, I would like to help

ludofischer avatar Mar 28 '24 18:03 ludofischer