lark-parser/lark

testing/debugging grammar interactively ?

Open

#149 ouverte le 22 mai 2018

Voir sur GitHub
 (12 commentaires) (0 réactions) (0 assignés)Python (384 forks)batch import
discussiongood first issuehelp wanted

Métriques du dépôt

Stars
 (4 275 stars)
Métriques de merge PR
 (Merge moyen 41m) (1 PR mergée en 30 j)

Description

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 ?

Guide contributeur