guisouza / DSS

:fire: Dynamic Style Sheets

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AST to get rules

mauriciosoares opened this issue · comments

Hey Gui! you really are a programming magician, nice project!

I have a suggestion for you, to make your project a lot easier to implement new features and stuff, you may use AST for parsing the CSS rules.

Saying is easier than doing, so I have implemented a simple dss-ast project with a working example... you may check it out! You (or we) could refactor the code if you consider using AST for your project

https://github.com/mauriciosoares/dss-ast

so_good

Really nice 👍
That's what I'm talking about at #11

+1 for AST