Skip to main content

Python PDDL parser

Project description

This is a PDDL parser library using an ANTLR 4 grammar that provides a very simple interface to interact with domain-problems. This library publishes one object class whose API exposes methods for obtaining:

  • The initial state.

  • The goals.

  • The list of operators.

  • The positive and negative preconditions and the positive and negative effects.

  • The _grounded_ states of a given operator (grounded variables, preconditions and effects).

This is enough for the user to focus on the implementation of state-space or plan-space search algorithms.

The development of this tool was inspired from Univerty of Edimburgh’s Artificial Intelligence Planning course by Dr. Gerhard Wickler and Prof. Austin Tate. The terms used in this API (and the API itself) closely resembles the ones proposed by the lecturers.

As of today it only supports Python but I plan to give support to .NET and Java languages.

The orginal grammar file was authored by Zeyn Saigol from University of Birmingham. I cleaned up it, made it language agnostic and upgraded to ANTLR 4.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pddlpy-0.1.1.tar.gz (35.9 kB view details)

Uploaded Source

File details

Details for the file pddlpy-0.1.1.tar.gz.

File metadata

  • Download URL: pddlpy-0.1.1.tar.gz
  • Upload date:
  • Size: 35.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pddlpy-0.1.1.tar.gz
Algorithm Hash digest
SHA256 480d6bd22a7d5b575675244d75682f14247e0a80082ad0d654d5762496b92753
MD5 340dddc17099268046427dfffdf229f3
BLAKE2b-256 3b976e9f75814be52865137ed3b200b72f06e73cf86e91d3fc68925d7c9358b6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page