~/talk

Adventures in homoiconicity

Talkat :clojureD 2017 · on Saturday, 2017-02-25· [clojure, compilers-and-language-design]
links:none on file
slides:none on file

Demonstrates concrete uses of Clojure homoiconicity: a Quil sketch reads its current namespace and visualizes the number of public defs (example showed 8 public defs) to drive a 0–255 background color, uses macroexpand to view expansion of macros, and treats code as EDN to store and eval generator programs. Shows a Twitter bot that keeps the generator as data (Twitter bot stores generator code) and a self‑healing example that detects a divide‑by‑zero in average on an empty vector, selects a patch and replaces the failing function so tests pass.

AI-written summary · about

  1. 0:00Introduction
  2. 1:24Overview
  3. 2:40homoiconicity
  4. 5:00code and eval
  5. 7:56visualize yourself
  6. 10:21visualize code core
  7. 12:39def tooling
  8. 14:12macros
  9. 17:36macro confession
  10. 19:20code generation
  11. 22:06selfhealing code
  12. 27:03summary
~/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.