hfoffani / pddl-lib

A PDDL library that parse PDDL files and provides a very simple interface to interact with domain-problems.
Apache License 2.0
82 stars 20 forks source link

Case sensitivity #20

Open fairf4x opened 6 years ago

fairf4x commented 6 years ago

I have run into some troubles when working with problem files from this domain repository.

In particular the parser complained about uppercase keywords (e.g. INIT,AND) when encountered in problem definition.

It was easy to fix the problem files but it would be convenient if the parser was not case-sensitive. As far as I (and google) know PDDL itself is not case-sensitive.

hfoffani commented 6 years ago

Thanks for the report. To be honest, never thought about case sensitivity before. I agree with you that it should be handled by the parser. The keywords would not be a big issue to fix but I am afraid that with names it will be drawbacks.