项目
在 GitHub 查看
we-like-parsers/pegen_experiments
关于
Experiments for the official PEG parser generator for Python
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文PEG parser generator experiments
NOTE: The official PEG generator for Python 3.9 and later is now included in the CPython repo under Tools/peg_generator/.
See also PEP 617.
The code here is a modified copy of that generator where I am experimenting with error recovery.
The code examples for my blog series on PEG parsing also exist here (in story1/, story2, etc.).
Blog series
I've written a series of blog posts on Medium about PEG parsing:
- Series overview
- PEG Parsers
- Building a PEG Parser
- Generating a PEG Parser
- Visualizing PEG Parsing
- Left-recursive PEG grammars
- Adding actions to a PEG grammar
- A Meta-Grammar for PEG Parsers
- Implementing PEG Features
- PEG at the Core Developer Sprint
I gave a talk about this at North Bay Python: Writing a PEG parser for fun and profit
探索相关项目
加载中…