Open tunnckoCore opened 9 years ago
After complex tests, consider that it cant be possible. YAML is too dynamic and couple more small reasons.
Working on new CSS parser/lexer, which will handle valid CSS and "whitespace significant" aka Stylus-like css. Basic idea is one day to be the core of ReworkCSS and to can be used as PRE-processor with basic features. Next step is to replace Stylus.
css
lib, which have separate parser, lexer and compiler, which are too complex and too bigcss-whitespace
dont parse full stylus syntaxcss-whitespace
syntax compile it and then pass it to postcsscss-whitespace
only, you dont have access to stylus-like features
Why not? All mixins and etc will be plugins, lol. if-else'es with some basic template engine? Haha.
demo with js-yaml index.js
roots.settings.yml