Try to find a library, which will parse sass and build Abstraction Syntax Tree. Once done correctly, this can potentially resolve all the problems with file parsing. If succeeded the program will only map AST to ColorMap, which can drastically decrease complexity
This library seems very solid, but futher investigation crucial.
https://github.com/tonyganch/gonzales-pe
Try to find a library, which will parse sass and build Abstraction Syntax Tree. Once done correctly, this can potentially resolve all the problems with file parsing. If succeeded the program will only map AST to ColorMap, which can drastically decrease complexity
This library seems very solid, but futher investigation crucial.
https://github.com/tonyganch/gonzales-pe