~/talk

Abusing Preprocessor ASTs

Talkat CSSConf US 2013 · on Tuesday, 2013-05-28· [frontend-architecture, developer-experience]
slides:none on file

Claims that preprocessor ASTs let code-level edits replace fragile regex hacks: actually modifies AST nodes to add global !important, or to remove !important rules by deleting rule nodes; extracts every variable and counts where each is used; exposes a JSON endpoint of variables→selectors via an Express/rework pipeline. Compilation is millisecond-fast but too slow for slider events so a demo builds a live theme builder without recompiling by injecting generated style blocks. The demo runs and reproduces those behaviors.

AI-written summary · about

  1. 0:00Start
  2. 2:08How Does Parsing Work
  3. 11:04Reduce Your Preprocessor Ast into a Css Ast
  4. 16:03Change Variables in Real Time
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.