I currently work on the Developer Publications team at Apple and am currently focused on the developer user experience, such as learning and using Swift, and documentation systems.
As a former full-time Swift contributor, here are some things that I helped pioneer:
- lib/Markup and Markdown-style documentation comments.
I used the cmark library for parsing doc comments and an internal syntax tree to interface with the compiler. - Reflection metadata for the Xcode Memory Graph Debugger
- lib/Reflection (now RemoteInspection)
- SwiftRemoteMirror
- lib/Syntax.
This was the original C++ implementation which is now removed in favor of the Swift-based SwiftSyntax.
The model is an immutable tree that can share data between trees, using positional information to place the syntax in a concrete place such as a file. - lib/Migrator. This was a rewrite of the migrator engine which previously relied on integrating with a previous version of the Swift compiler to understand the old code.
Other things I helped create more recently:
- Symbol Graph Documentation Format and the library that implements it, SymbolKit.
This represents symbols as nodes and relationships such as "member of", "conforms to", and "subclass of". A symbol ontology, I guess. - Swift Markdown and authoring experience for DocC.
I used a similar approach to lib/Syntax in Swift. This library also contains extensions for block directives, a block element container that allows for metadata such as key-value pairs or other information. - DocC
I post on Mastodon.