Skip to content

Iguana API #5

Description

@keyboardDrummer

Hi there,

I'm not sure where to ask questions on Iguana so I'm using the Github issues for it.

From the documentation and API I get the impression that when using Iguana the grammar should be specified in an Iguana specific grammar language, and that the result of a parse is a tree of type iguana.parsetrees.term.Term.

However I was looking for a more conventional combinator parser API, where you can specify the grammar using functions in the host language, and you can also apply 'map' so that the result of a parse is a custom data structure, instead of a generic 'iguana.parsetrees.term.Term'.

Is such functionality also planned for Iguana? I'm mostly interested in Iguana for its treatment of left recursive grammars and operator precedence. However with the current level of documentation and API is does not seem to be a good fit. I've also looked at your Meerkat parsers but it seems to be in a comparible level of maturity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions