Day 7 involved parsing the output of a shell transcript.

There are narrower solutions to solve just the puzzle, but like many people I opted to parse the transcript into an in-memory tree.


The visualization for today shows parsing progress and current state, by rendering the “stack” of directories up to the “current” directory, and populating its contents as we read the input file.

Day 7 Visualization

New Features

The main memorable enhancement here is the addition of a / glyph.