fkling / astexplorer

A web tool to explore the ASTs generated by various parsers.
https://astexplorer.net/
MIT License
6.14k stars 729 forks source link

Please please please add sass AST #206

Open trusktr opened 7 years ago

trusktr commented 7 years ago

Pleeeeease. 🙏

RReverser commented 7 years ago

PostCSS has SCSS parser option already, but PR required for a proper SASS :)

fkling commented 7 years ago

What's the difference between SASS and SCSS?


To get SCSS: Select CSS as category, select postcss as parser, click gear icon next to the parser and select scss in the parser option.

trusktr commented 7 years ago

The difference: http://thesassway.com/editorial/sass-vs-scss-which-syntax-is-better

trusktr commented 7 years ago

To get SCSS: Select CSS as category, select postcss as parser, click gear icon next to the parser and select scss in the parser option.

Oh cool! I didn't see it. Maybe it can be exposed in the UI.

trusktr commented 7 years ago

Ah, postcss supports other syntaxes too: https://github.com/postcss/postcss#syntaxes, so it may be easy to add them to the site.

skratchdot commented 7 years ago

Perhaps with the new Tool Registry work in #197, we could add a "tags" array to the interface (or change category to be an array), so that filtering/searching for things like css / scss is easier.