lark-parser/lark

testing/debugging grammar interactively ?

Open

#149 创建于 2018年5月22日

在 GitHub 查看
 (12 评论) (0 反应) (0 负责人)Python (4,275 star) (384 fork)batch import
discussiongood first issuehelp wanted

描述

I am thinking something along the lines of https://omrelli.ug/nearley-playground/ that provides an interactive feedback to the user creating a grammar, via examples or other way. The nicest tool I know is about regular expressions only : https://regex101.com/

Is there something like that for parser grammars ? where we could just add lark syntax?

I am not used to write parser grammars, and I am currently doing this in a python interpreter. The raw python error messages can be quite cryptic for a newcomer. Any idea ? Am I missing an obvious tool here ?

贡献者指南