postcss / postcss-calc

PostCSS plugin to reduce calc()
MIT License
212 stars 34 forks source link

[Feature Request]: #198

Open ludofischer opened 3 months ago

ludofischer commented 3 months ago

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?