Parsing SGF files for fun

July 17, 2026 [Programming, Rust, Tech, Videos]

SGF files describe a board game like Go, including all the possible variations someone wants to talk about. Let's write Rust to parse one of these files!

They look something like this:

(;FF[4]GM[1]SZ[19];B[aa];W[bb];B[cc];W[dd];B[ad];W[bd])

Follow me on mastodon: @andybalaam@mastodon.social