Skip to content

Use a grammar parser #96

@tbarbette

Description

@tbarbette

Recently for ZLT I used Lark (see

constraint_parser = Lark(constraint_grammar, start="start", parser="lalr")
), which is easy and works great.

It should be used for parsing variable as a first step.

Then also to parse the whole .npf file, which would allow to have a clear grammar at the same time.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions