+
Skip to content

Allow sub grammars that left recurse #1

Open
@gknowles

Description

@gknowles

There is no easy way to detect infinite left recursion when it crosses a call boundary. Currently calls are always rolled up into the caller when descending the left side. Instead the subgrammar could be checked for dangerous recursion (pure left side, any right recursion in path breaks the loop and makes it safe) in advance and only rolled up when it's unsafe.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载