October 2015
Intermediate to advanced
288 pages
7h 35m
English
There is a fantastic DSL for generating CSS called SASS. In general the SASS DSL is only available for Ruby programmers. In this chapter we’ll take some steps towards our own SASS DSL in Clojure.
In this chapter we assume that you are aware of CSS as it is used for laying out HTML pages in the browser.
The benefit of this chapter is a richer understanding of how zippers can be used in parsing a DSL. In the future you can use this to build your own DSL.
Tables 12.1 and 12.2 provide an example of what SASS can do.

Table 12.1 Nesting ...
Read now
Unlock full access