hackertubescom
← 视频目录

Lexical Scanning in Go - Rob Pike

GoogleFOSSSydney · 13 则 HN 推荐

视频问答

可以让 AI 解释当前片段,或总结整部视频。如果回答附有时间戳,点击即可跳到对应片段。

试着问:这里讲的是什么意思?

需要用 Google 登录。确认前可查看最多会扣除多少积分。

Rob Pike shows how the Go text/template lexer is built, using state functions, goroutines and channels. The talk was given at a Google Technology User Group in Sydney in 2011.

HN 推荐的原因: HN returns to it for years as an elegant introduction to writing a lexer that is easy to follow even without a parsing background.

“It's far more interesting than it sounds, and even if you don't know much about lexing/parsing it's easy to follow.” 阅读 HN 讨论 ↗