PDDL-ish Parser
The PDDL-ish Parser is a Rust library designed for parsing a relaxed version of the Planning Domain Definition Language (PDDL). This parser is particularly tailored for handling PDDL-like inputs that may be generated by autoregressive language models such as ChatGPT.
Features
- Parse non-standard PDDL files with flexibility.
- Extract domains, objects, and actions from PDDL-like structured text.
- Error handling to provide context for parsing failures.
- Support for common PDDL constructs with leniency in syntax.
Installation
To install the PDDL-ish Parser, you can use cargo add
command:
Or add the following to your Cargo.toml file:
= "0.0.3"
You may want to check on the latest available version on crates.io.
Usage
Here is a basic example of how to use the PDDL-ish Parser:
use parse_problem;
Testing
The library includes tests that you can run to ensure the parser works as expected:
Contributions
Contributions are welcome! Please open an issue or pull request on GitHub.
License
This project is licensed under the MIT License - see the LICENSE file for details.