We want everyone to enjoy Sass, no matter what language they use. Sass was originally written in Ruby. LibSass is a C/C++ port of the Sass engine. The point is to be simple, faster, and easy to integrate. Find out more about the project over at GitHub.
LibSass is just a library. To run the code locally (i.e. to compile your stylesheets), you need an implementer, or "wrapper". There are a number of other wrappers for LibSass. We encourage you to write your own wrapper - the whole point of LibSass is that we want to bring Sass to many other languages, not just Ruby!
Below are the LibSass wrappers that we're currently aware of. Sometimes there are multiple wrappers per language – in those cases, we put the most recently-updated wrapper first.
SassC (get it?) is a wrapper written in C.
To run the compiler on your local machine, you need to build SassC. To build SassC, you must have either a local copy of the LibSass source or it must be installed into your system. For development, please use the source version. You must then setup an environment variable pointing to the LibSass folder, for example:
The executable will be in the bin folder. To run it, simply try something like:
./bin/sassc [input file] > output.css
Wellington is an extension to libsass that adds spriting. It is available on brew:
brew install wellington
The Lua wrapper is found at lua-sass.
LibSass has also been ported back into Ruby for the sassc-ruby project.
sass_rscrate is a LibSass wrapper and is updated regularly.
The only Scala project, Sass-Scala, hasn't been updated in a couple of years.