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

Is there an HDDL parser? #35

Open famishedrover opened 1 year ago

famishedrover commented 1 year ago

Hi, I was wondering if there is an HDDL parser for HTNs in python? or whether this pddl-lib can be extended to HDDL?

hfoffani commented 1 year ago

Sorry, I didn't even know about the language. I've just downloaded the Höller, et al. paper. Thanks for pointing out. I haven't done anything with this project since a long time. It's a shame, I recon. Without noticing I've been slowly moving out from the field and losing contact.

famishedrover commented 1 year ago

I'm not experienced in writing a parser, but it seems that we may find some help from the pyhipop [code] that uses HDDL files to construct HTN plans and I suppose must be parsing. They are internally using pddl pypi library. There are other planners that also support HDDL files but I don't think they are python based. (or if the parsing is python based.)

Even in pyHiPop the parsing is antrl4 based (java).

hfoffani commented 1 year ago

Thanks, I'll take a look at the paper. Yes, antlr4 is powerful and very convenient to write grammars.