pucrs-automated-planning/pddl-parser

pypi-release?

brean opened this issue · 7 comments

brean commented

Hey,

this looks quite useful. have you considered packaging it for pypi?

Thanks 😄

This is mostly an example project for students, I would like to keep it simple for now (never did a package too).
I may do it in the future though.

If you are interested in automated planning I did experiments about planning representations at HyperTensioN and classical planning visualizations at Web-Planner.

I the end I have extended it a bit for other separate projects in Python. As Mau said, his serious work in planning is all in Ruby (I'm the pseudo pythonista in the group).

When Maurício and I have a little breathing room, we can try to put it in pypi, if you want to help us out, we can hit you up when we are ready.

brean commented

This is mostly an example project for students

Okay, that is not very assuring to use this library 😁.

I also found pypddl-parser as an alternative, but I am unsure which one to use.
My plans have durative actions which are not supported by this nor the pypddl-parser if I see correctly so I need to extend the parser for that anyway. It is based on ply which seems to be a bit better for extending but just writing a new regex is no magic either...

So, if you want to do something quickly, ours is probably much easier to use. From a quick look, Thiago Bueno's parser looks more complete (and he also provides data structures for the domains). Ultimately, it's not an easy choice.

If you are worried about which one is more "battle-tested", the parser in this repo is a simpler version of the one being used by Web-Planner, which you can see here, and we also have a few tests on CI with multiple Python versions (something that you do need to worry with Python) and a basic planner to start with.
You could also look for what temporal planners are using at planning wiki - temporal

I will have time to make a package in October, doesn't seem to be too complicated, but I have a few things to finish first.

Sorry about the delay, I had a lot of personal problems to fix before focusing on this project.
I will try to work on it in the next few days.

Thanks Mauricio