~/talk

Metaprogramming + DSL Design in Elixir

links:none on file
slides:none on file

Covers Elixir’s actual metaprogramming mechanics: quoted expressions as three‑element tuples, use of var and unquote to cross hygiene boundaries, macros to inject code, and compile-time callbacks like @before_compile and on_definition. Builds a DSL that stores sequences in accumulating module attributes, implements sequence, note and embed macros, generates a module function via before_compile, and delegates runtime playback to a note player that calls ALSA aplay. Live coding runs tests and plays the composed track, all tests pass.

AI-written summary · about

  1. 0:0001:02 - Introduction
  2. 1:0301:46 - Metaprogramming: What is it?
  3. 1:4702:57 - Metaprogramming: Pros and Cons
  4. 2:5804:30 - Metaprogramming" When to use it?
  5. 4:3105:28 - Metaprogramming in Elixir
  6. 5:2912:54 - Quoted Expressions
  7. 12:5514:14 - Summary
  8. 14:1527:17 - Let's build a DSL
  9. 28:1837:17 - QnA
~/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.