grammars-v4 icon indicating copy to clipboard operation
grammars-v4 copied to clipboard

Grammar for gherkin and galen is missing

Open Chris2011 opened this issue 7 years ago • 6 comments

It would be great, to have grammar files for the galen framework language and the gherkin language for cucumber.

Regards

Chris

Chris2011 avatar Jul 06 '17 08:07 Chris2011

Do you have a link to these languages, and perhaps BNF specifications?

teverett avatar Jul 08 '17 21:07 teverett

Here is the reference for using gherkin in cucumber: https://cucumber.io/docs/reference and here is the link to BNF: https://github.com/cucumber/gherkin2/wiki/BNF

For galen I only have the link to the languauge, no BNF :/ sry: http://galenframework.com/

Maybe the spec guide can help(?): http://galenframework.com/docs/reference-galen-spec-language-guide/

Regards

Chris

Chris2011 avatar Jul 09 '17 21:07 Chris2011

FYI, I created a ticket at the galen repo, to ask for BNF or ANTLR grammar files: https://github.com/galenframework/galen/issues/505

Chris2011 avatar Jul 09 '17 21:07 Chris2011

Hope this can help: https://github.com/hypery2k/galen_ide/blob/master/com.galenframework.specs.parent/com.galenframework.specs/src/com/galenframework/Specs.xtext

Chris2011 avatar Jul 10 '17 11:07 Chris2011

Hi, What exactly has to be done to solve this issue? Making an ANTLR grammar for gherkin and galen?

Marti2203 avatar Apr 14 '21 11:04 Marti2203

Hi, Can someone share the g4 file for Gherkin, please? Note: https://github.com/cosenmarco/yabdd/blob/master/yabdd/src/main/antlr4/Gherkin.g4 some things are missing in this. for example docstr(")

hgedik avatar Sep 07 '21 16:09 hgedik