Skip to content

Best practice for languages that allow for the dynamic definition of operators  #120

@zmaril

Description

@zmaril

Does instaparse support creating parsers for languages that can modify themselves? Both Postgres and Haskell allow the language to be expanded to include new infix operators. I don't know how the implementations work in either case, but I was wondering how similar effects could be achieved in instaparse. All I could come up with was recompiling the grammar every time with the addition of the new operator via combinators.

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