List Info

Thread: Re: SuperSnazzy Sneak Peek: Sass!




Re: SuperSnazzy Sneak Peek: Sass!
country flaguser name
United States
2007-02-18 12:55:45
perhaps we could use firefox's CSS parser for css2sass ?



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Haml" group.
To post to this group, send email to hamlgooglegroups.com
To unsubscribe from this group, send email to
haml-unsubscribegooglegroups.com
For more options, visit this group at http://grou
ps.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: SuperSnazzy Sneak Peek: Sass!
country flaguser name
United States
2007-02-18 14:18:46
The problem is that Firefox's CSS parser isn't written in
Ruby :p. 
Chances are it's either in C++, Javascript, or some mix of
the two, and 
makes use of XPCOM and other Mozilla-licious technologies,
which is all 
well and good, but would mean that we'd have to include
native code at 
the very least, if not a Javascript engine and XPCOM
framework.

It shouldn't be too hard to build a simple parser, though -
since 
nothing's nested in normal CSS, it should be doable with
just a bunch of 
Regexes. Something to look forward to in 1.5++.

- Nathan

weepy wrote:
> perhaps we could use firefox's CSS parser for css2sass
?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Haml" group.
To post to this group, send email to hamlgooglegroups.com
To unsubscribe from this group, send email to
haml-unsubscribegooglegroups.com
For more options, visit this group at http://grou
ps.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )