Hacker News new | past | comments | ask | show | jobs | submit login

I agree, CSS preprocessor is a more fitting term.

It does trivial macro expansion and arithmetic. No control or data structures.




That's incorrect. Your knowledge is more than 1 year old.

SassScript is Sass's built in scripting language and it is turing complete. Here's a stylesheet that calculates and displays the mandlebröt set using background colors:

http://gist.github.com/280756


I prefer to call it a designer's programming language. BTW, Sass does have simple control statements (if and while). I didn't cover all of the things that Sass can do. To get that see: http://sass-lang.com/docs/yardoc/file.SASS_REFERENCE.html




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: