A C implementation of a Sass compiler
github.com
github.com
On the other hand, I don't see the long-term benefit clearly that would justify writing this in C++. Most of these open source mini-movements hit maintenance and motivation barriers after some time, not performance ones. Although this could mean Sass overcame the prototype phase quite successfully.
Also, at first sight it seems to me that the author of this library is the same as of Sass' itself. (Please correct me.) In this case, congratulations! Must be a real pleasure to see such a big improvement to what once was a pet project. :)
“few hundred milliseconds”? In a project where I'm working, our SCSS files take almost 10 seconds to recompile after every little change.
Maybe this new compiler will make the development less painful.
"implementation of". Not "interface to".
PS. Upvote if you got it :)
This can't be true of the indented-syntax, which has two downsides:
* It's a huge barrier to entry for anyone new to the framework when they already know CSS.
* It makes porting and/or incorporating existing CSS unnecessarily complex.
(The same things could be said about HAML, but people generally have no problem writing HTML, while CSS is still a fluid and ever-changing system).
The indented-syntax is way nicer to look at, but it's a good thing that it's heading off into the sunset.
However, since .sass is no longer the primary syntax (nor default for Rails), and it's not supported by any new development efforts, it's safe to say that it is not the favored child.
I’m also not so sure that this parser can only handle one of the two SASS syntaxes — what gives you that impression?
> Any contribution to the project are seen as copyright assigned to Hampton Catlin. Your contribution warrants that you have the right to assign copyright on your work. This is to ensure that the project remains free and open -- similar to the Apache Foundation.
That seems a little non-standard to me?
Besides that, going native, great job!