~/talk

Do you want to build a build tool?

slides:none on file

Explains step‑by‑step how to read .ts files with Node fs and path, parse them with TypeScript’s createSourceFile into an AST, query and mutate calls with TS Query, generate a new function via ts-template (example: wrap every doPhysics(lat,long,alt) call with doMagic and add a doMagic that sets molecule.temperature = -10), print with TypeScript printer and overwrite files on disk — a working end‑to‑end codegen/transformation pipeline.

AI-written summary · about

  1. 0:00Introduction to magic
  2. 5:28Reading and writing files
  3. 13:03Abstract syntax trees
  4. 20:32Modifying source code
  5. 25:41Putting it all together
  6. 27:47Summary and tools
~/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.