Closed erikedin closed 3 years ago
that sounds like a lot of work
Note as much as you'd think. Most of the tasks in the list above are actually trivial. It's a lot less work than the current parser, for sure.
The new experimental parser can now parse a very simple Feature file with Rules, Scenarios, and Given steps. I'll create additional issues for the missing features until the new parser is complete.
The parser did not turn out as well as I'd hoped. In order to add Rules, and become less brittle, I think it needs an overhaul. I made an experimental prototype in a separate repository, and I believe that parser combinators will work well for this.
I'll use this issue to track progress, aiming to parse a full Feature, with limited but correct functionality.
Once this is done, I'll create additional issues for fixing the missing pieces.
Basic parser combinators unrelated to Gherkin specifics
Gherkin specific things
Scenario:
,Background:
, orGiven
.