浏览代码

Updated link to SPPF explanation

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.11.0
Erez Sh 3 年前
父节点
当前提交
762fd82da1
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. +1
    -2
      lark/parsers/earley.py

+ 1
- 2
lark/parsers/earley.py 查看文件

@@ -6,8 +6,7 @@ The core Earley algorithm used here is based on Elizabeth Scott's implementation
That is probably the best reference for understanding the algorithm here.

The Earley parser outputs an SPPF-tree as per that document. The SPPF tree format
is better documented here:
http://www.bramvandersanden.com/post/2014/06/shared-packed-parse-forest/
is explained here: https://lark-parser.readthedocs.io/en/latest/_static/sppf/sppf.html
"""

from collections import deque


正在加载...
取消
保存