Hog Bay

Bike: Outline Path Implementation

The article explains the design and implementation of Bike’s outline paths, a feature that allows efficient and expressive matching of rows and text runs in a tree-structured outline. It details the key components—including an Abstract Syntax Tree (AST) in Swift, a parser built with the swift-parsing library featuring tracing for syntax highlighting and error recovery, and an evaluator that walks the AST to produce query results—and provides links to tools and a simplified code example for developers to explore and understand the system.

https://www.hogbaysoftware.com/posts/bike-outline-path-implementation/

Mac: Where Is Save As?

Save As… isn’t gone in macOS; it's replaced by Auto Save + Versions since 2011. This system auto-saves documents and maintains a version history, altering the previous Save As… workflow. Save As… can still be accessed as a hidden option (via Option key) but can confuse users with version management. The main commands are now Save, Duplicate, and Revert To, streamlining saving and versioning while allowing access to the old manual process.

https://www.hogbaysoftware.com/posts/mac-save-as/

Scroll to Top