Lexical Scanning in Go - Rob Pike
推荐理由
It's far more interesting than it sounds, and even if you don't know much about lexing/parsing it's easy to follow.
强烈推荐TomNomNom · 原文
说明
这是2011年由GoogleFOSSSydney发布的一部演讲,主题归在Compilers, interpreters & program analysis。它讲的是lexical scanning这一支里的具体问题,而不是把整个领域扫一遍。适合已经能看懂基本术语、想继续往下走的人。内容上可以概括成: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 returns to it for years as an elegant introduction to writing a lexer that is easy to follow even without a parsing background.讲法不绑某一条新闻,过几年仍然可以当材料看。从2012年到2025年,有13位不同的读者在12个不同月份把它推荐出来,其中明确叫别人去看的有4次。适合一次性看完。讲者把一个判断讲透,演示是在给这个判断配例子。如果已经会了基本定义,就把注意力放在它怎么把lexical scanning变成能跟着复述的例子。
视频信息
- 频道
- GoogleFOSSSydney
- 时长
- 51 分 18 秒
- 发布年份
- 2011
同主题更多
- Rich Harris - Rethinking reactivity
- William Byrd on "The Most Beautiful Program Ever Written" [PWL NYC]
- CppCon 2016: Jason Turner “Rich Code for Tiny Computers: A Simple Commodore 64 Game in C++17”
- Clasp: Common Lisp using LLVM and C++ for Molecular Metaprogramming
- Compiling C to printable x86, to make an executable research paper
- Break Me00 The MoVfuscator Turning mov into a soul crushing RE nightmare Christopher Domas