~/talk

Automating the Automator

slides:none on file

Shows that with Elixir 1.13 plus Sourceror you can parse source to AST, apply targeted transforms and render formatted code back; demonstrates a working Credo plugin auto-correct that reads linter issues, applies AST edits and writes fixes; highlights zipper/patcher APIs for local edits versus full reformatting; gives concrete examples (underscore removal in string_to_charlist changes, converting filter_map into filter + map, router edits for Phoenix generators), and notes limits: comments, formatting and syntax errors.

AI-written summary · about

  1. 0:00Introduction
  2. 1:25Horror story of automation
  3. 4:34Talk origins and compiler basics
  4. 6:22How compilers parse code
  5. 7:26Code mods and AST manipulation
  6. 9:54Sorcerer library evolution
  7. 10:56AST transformation example
  8. 13:06Building AST tools
  9. 15:20Refactoring with Credo
  10. 18:12Library migrations with code mods
  11. 19:35Editor tools and Wrangler
  12. 21:42Code mods in JavaScript
  13. 22:44Benefits and drawbacks of code mods
  14. 24:13Acknowledgments
  15. 26:12Q&A
~/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.