3 ms·
So I decided to rewrite it from scratch, using the awesome Treetop parser for ruby. The implementation is now much more robust, and should handle change and new
by cloudhead 17y ago
So I decided to rewrite it from scratch, using the awesome Treetop parser for ruby. The implementation is now much more robust, and should handle change and new features much more smoothly! Mixins can now be namespaced, and you can access arbitrary properties in the style-sheet, through hash-like syntax.
Treetop, being a PEG parser isn't as fast as regexes, as you'll notice, but it sure is worth it. Work is being done though, (in particular by Jason Garber) on speeding things up—and LESS comes bundled with an optimized version of Treetop, so fear not!
Last but not least, 'refresh your browsers!' cause we got ourselves a tasty new website, courtesy of Dmitry from usabilitypost.com