V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
Learn Python the Hard Way
Python Sites
PyPI - Python Package Index
http://diveintopython.org/toc/index.html
Pocoo
值得关注的项目
PyPy
Celery
Jinja2
Read the Docs
gevent
pyenv
virtualenv
Stackless Python
Beautiful Soup
结巴中文分词
Green Unicorn
Sentry
Shovel
Pyflakes
pytest
Python 编程
pep8 Checker
Styles
PEP 8
Google Python Style Guide
Code Style from The Hitchhiker's Guide
chinesehuazhou
V2EX  ›  Python

Python 之父开博客写的解析器系列文章

  •  
  •   chinesehuazhou · 2019-08-04 09:57:55 +08:00 · 2982 次点击
    这是一个创建于 1720 天前的主题,其中的信息可能已经有所发展或是发生改变。

    上个月,Python 之父 Guido van Rossum 跑去 Medium 上开了博客,开始写 PEG 解析器的系列文章,目前已发布两篇:

    1、https://medium.com/@gvanrossum_83706/peg-parsers-7ed72462f97c

    2、https://medium.com/@gvanrossum_83706/building-a-peg-parser-d4869b5958fb

    按照预告,他已经列了后续的 7 个主题。

    这两篇,我翻译了出来:

    1、Python 之父新发文,将替换现有解析器 https://mp.weixin.qq.com/s/yqVVaZVn8RRanllaXMFD9A

    2、Python 之父再发文:构建一个 PEG 解析器 https://mp.weixin.qq.com/s/yUQPeqc_uSRGe5lUi50kVQ

    顺便把他一年前写的一篇相关文章也翻了:

    Python 之父撰文回忆:为什么要创造 pgen 解析器? https://mp.weixin.qq.com/s/ovIiw7ZmXJM4qUSTGDk7kQ

    9 条回复    2019-09-07 11:50:32 +08:00
    secondwtq
        1
    secondwtq  
       2019-08-04 11:30:34 +08:00
    Python 之父都去 Medium 了,整个一 Python 药丸的样子 ...
    Wicked
        2
    Wicked  
       2019-08-04 12:14:54 +08:00 via iPhone
    必须拜读一下
    laike9m
        3
    laike9m  
       2019-08-05 02:34:28 +08:00
    @secondwtq 这是什么逻辑?
    pythonee
        4
    pythonee  
       2019-08-05 09:41:28 +08:00
    编写一个解析器,实现一个自己的语言,是不是所有程序员的心愿之一
    secondwtq
        5
    secondwtq  
       2019-08-05 10:57:25 +08:00 via iPhone   ❤️ 1
    @laike9m 黑下 Medium 而已,不是有说法说硅谷混到颠峰就是在 Medium 写鸡汤么
    foxyier
        6
    foxyier  
       2019-08-05 16:09:00 +08:00
    同拜读一下
    chinesehuazhou
        7
    chinesehuazhou  
    OP
       2019-08-10 19:34:10 +08:00
    补充,刚翻译好的第三篇:
    Python 之父的解析器系列之三:生成一个 PEG 解析器
    https://mp.weixin.qq.com/s/ojSq6u9FC0xlBDncuoKczw
    chinesehuazhou
        8
    chinesehuazhou  
    OP
       2019-08-28 11:15:37 +08:00
    补充,第四篇译文:
    Python 之父的解析器系列之四:可视化 PEG 解析
    https://mp.weixin.qq.com/s/RLH98T1kYoDb6eTt_5X0ow
    chinesehuazhou
        9
    chinesehuazhou  
    OP
       2019-09-07 11:50:32 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4428 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 10:07 · PVG 18:07 · LAX 03:07 · JFK 06:07
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.