Skip to content

Docs: custom / bring-your-own mutation operators #6

Description

@JohnCobbler

Vimes let users supply custom patch sets (Vimes.go(".", [Vimes.defaults..., custom])). Gremlins has the equivalent — an operators= keyword on mutate — but nobody would know, because it is undocumented.

A docs section should cover running a subset of DEFAULT_OPERATORS, writing a custom MutationOperator (a matcher plus a replacer over JuliaSyntax nodes), and passing it via mutate(pkg; operators=[...]), with one worked example end to end. The API already exists, so this is documentation only.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgood first issueGood for newcomers

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions