AI-Planning / pddl

Unquestionable PDDL 3.1 parser

Home Page:https://ai-planning.github.io/pddl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Far better error handling on failed parsing

haz opened this issue · comments

Is your feature request related to a problem? Please describe.
When a problem or domain fails to parse, the errors are quite cryptic.

Describe the solution you'd like
We should invest in far better error analysis, including pointers in the PDDL file (snippet of the PDDL code) that has caused the problem.

Additional context
Hard to characterize all the ways it can fail, but some common approaches (such as showing the PDDL that broke things) could be universal.