Skip to content

Operator overloading for basic combinators #1

@nicola-gigante

Description

@nicola-gigante

Hi,

It would be nice to have operator| and operator+ as a shorthand for alt and seq.
Has it not be done already by design?
The many combinator could also be aliased by unary operator*, as in Boost.Spirit, but that's a bit more controversial since the standard syntax would be a postfix operator rather than prefix.

In any case, very well done library!

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