lark-parser/lark

testing/debugging grammar interactively ?

Open

#149 geöffnet am 22. Mai 2018

Auf GitHub ansehen
 (12 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (384 Forks)batch import
discussiongood first issuehelp wanted

Repository-Metriken

Stars
 (4.275 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 41m) (1 gemergte PR in 30 T)

Beschreibung

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 ?

Contributor Guide