Hi
I discovered Scala and Lift about a month ago and have since been 
porting my webpage over to it from Ruby's Merb framework. Moving from 
Haml to HTML wasn't much of a problem as my HTML is usually quite 
simple, but keeping CSS organized is a pain. I liked the nested approach 
of Sass (which is the CSS side oh Haml) but didn't want to depend on 
Ruby to compile it to CSS, so as an introduction to parser combinators I 
bashed together a basic Sass compiler. It is nowhere near 100% 
compatible, but it compiles my scripts with no problem. To use it in 
Lift I am currently compiling my Sass files in Boot and storing them in 
a Map, which is accessed by a custom dispatch function. It is probably 
not the best solution but I don't know Maven well enough yet to have it 
compile the Sass files for me.

I need to clean up the code quite a bit and document it, but I thought 
I'd make what I have available if anyone else would rather work with 
Sass instead of CSS.

http://github.com/nebbie/scala-sass-compiler

Derek Williams

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to