~/talk

Algebraic Data Types for C#

Talkat NDC Sydney 2017 · 2017-08-14..08-18· [dotnet, compilers-and-language-design]
slides:none on file

Generates immutable sum and product types for C# by parsing a small DSL with F# parser combinators, mapping its AST to a Roslyn AST builder, and plugging the output into Visual Studio via the single-file generator extension. Replaces ~300 lines of handwritten boilerplate with one declarative union or record line, includes value semantics, copy-with and a match dispatcher, and outputs idiomatic C# code (open source on GitHub) that the IDE and debugger accept.

AI-written summary · about

  1. 0:00Start
  2. 18:03PROBLEM OVERVIEW
  3. 23:19REPRESENTATION SYNTAX & SEMANTICS DESIGN
  4. 49:42INTEGRATION : VISUAL STUDIO INTEGRATION
  5. 57:29SUMMARY OF STEPS
~/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.