Closed lubegasimon closed 8 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Looking at how to do this during the parsing might be challenging, mostly about when to decrease the nesting_level (The hack of hijacking the parser isn't nice).
I would like to see the approach where the code-gen keeps track of the level, that way we might not need to track a global integer.
Looking at how to do this during the parsing might be challenging, mostly about when to decrease the nesting_level (The hack of hijacking the parser isn't nice).
I would like to see the approach where the code-gen keeps track of the level, that way we might not need to track a global integer.
Shall we consider this in a separate PR?
fixes https://github.com/davesnx/styled-ppx/issues/359