Skip to content

Feature Request: Kotlin DSL annotations #19

Description

@quad

Context: I'm porting an existing handwritten parser to use parsus.

Right now, parsus offers variety of methods to accomplish almost the same task. e.g. repeatOneOrMore vs. oneOrMore

As parsus' API is mostly undocumented and has to be discovered by type-completion, it would be helpful if the "right" methods were more obviously promoted in their context.

Kotlin offers a @DslMarker annotation for type-safe builders that is designed for this situation.

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions