Open mingodad opened 9 months ago
Looks like a neat project for working with flex/bison grammars. The current grammar there is just for a Bosque Literal Object Notation language. Which is (mostly) a subset of the Bosque language grammar and why the file looks incomplete in some ways.
Maybe I missed it but I didn't see the grammar in the playground dropdown list.
It's not there because I was thinking that that grammar was for the language itself and I could not get it to parse any example I found. But the grammar is in the first comment, copying and paste it on https://mingodad.github.io/parsertl-playground/playground/ and you can test it there.
I'm trying to add this project grammar to https://mingodad.github.io/parsertl-playground/playground/ but noticed that the grammar in
src/bsqon/parser/lb/bsqon.y
is far for complete (see bellow the adapted grammar/lexer to use at https://mingodad.github.io/parsertl-playground/playground/).I think that https://mingodad.github.io/parsertl-playground/playground/ can help fast iteration to develop/debug/document the grammar.
Any feedback is welcome !