-
-
Notifications
You must be signed in to change notification settings - Fork 95
Closed
Description
I'm going to do a spike at porting the cucumber parser over to PHP within the cucumber repository. This would contain a complete AST of value objects we could use.
For BC it should be possible to write a thin translation layer to map that to the existing Gherkin objects in this repo via a Loader, but a future version of Behat could rely on its AST directly, or even at some point rely on its 'pickles'.
Pros:
- Help from Cucumber team in maintenance, as internal structure would closely mirror the Java etc implementations
- Faster support for Cucumber language features
- Would use cucumber versioning so users could pin specific translations (see BC in keywords #193)
Cons:
- Relies on Cucumber team caring about PHP
- Introduces a layer of complexity in mapping
Any thoughts/feedback?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels