~/talk

Formatting F# source code

slides:none on file

Explains how Fantomas actually formats F# by combining the F# compiler tokenizer + untyped AST, attaching trivia tokens (comments, newlines) back to AST ranges, then emitting writer events that produce formatted text; shipped as a CLI, NuGet/DLL and editor integration (fsautocomplete, VS Code) and used for codegen. Describes a refactor that fixes comment-preservation bugs, adds editorconfig support, gains G‑Research funding, and speeds a 4,000‑line file from 50s to 5s.

AI-written summary · about

  1. 0:00Introduction
  2. 0:55Phantoms
  3. 4:45Abstract Syntax Tree
  4. 6:17Tokenizing
  5. 7:48Trivia
  6. 8:54Trivia Notes
  7. 10:54Debugging
  8. 12:57Writing instructions
  9. 13:53Formatting action
  10. 16:07How to use Phantoms
  11. 22:55Phantomlist
  12. 25:35Fsharp compiler
  13. 27:13Fsharp mentorship program
  14. 27:54Anthony Lloyd
  15. 30:54Phantoms release
  16. 31:35Meeting Don sein
  17. 32:34Im not alone
  18. 32:46Nintendo Kevin
  19. 33:36Debug tool
  20. 34:08Pull requests
  21. 35:32Comments in AST
  22. 36:39Working as a consultant
  23. 37:40Unexpected opportunity
  24. 38:29Negotiations
  25. 42:36Roads to Adoption
  26. 43:15ISharp Conference Online
  27. 43:32Visual Studio Plugin
  28. 44:12G Research Star Guides
  29. 45:14Benchmarks
  30. 45:34Closing thoughts
  31. 46:58Outro
~/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.