Skip to content

Support Roslyn code-analysis #122

Open
@paulturner-pg

Description

@paulturner-pg

🤔 What's the problem you're trying to solve?

I'd like to be able to use the Gherkin parser within the .NET code-analysis and code-generators ecosystem.

✨ What's your proposed solution?

An implementation of a parser which returned a syntax tree deriving from Microsoft.SyntaxNode would enable integration, allowing the components to treat Gherkin as a first-class language.

⛏ Have you considered any alternatives or workarounds?

At present, implementing an adapter between the output of the existing parser and a new syntax tree is possible, but would come with a performance cost and would never be able to take advantage of the incremental parsing system.

📚 Any additional context?

Whilst looking at building a code-generator for executing Gherkin-based scenarios, it became obvious that for .NET, the Roslyn analysers and code-generators are the way forward.


This text was originally generated from a template, then edited by hand. You can modify the template here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions