{"id":21519158,"url":"https://github.com/dcspark/pddl-ish-parser","last_synced_at":"2025-10-30T13:39:20.809Z","repository":{"id":207850607,"uuid":"720239279","full_name":"dcSpark/pddl-ish-parser","owner":"dcSpark","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-18T00:06:54.000Z","size":18,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T08:32:14.637Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dcSpark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2023-11-17T22:32:27.000Z","updated_at":"2024-11-15T10:04:44.000Z","dependencies_parsed_at":"2023-11-18T01:00:30.749Z","dependency_job_id":"f5d77b69-7433-4933-9762-9d99f0c7eb71","html_url":"https://github.com/dcSpark/pddl-ish-parser","commit_stats":null,"previous_names":["dcspark/pddl-ish-parser"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcSpark%2Fpddl-ish-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcSpark%2Fpddl-ish-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcSpark%2Fpddl-ish-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dcSpark%2Fpddl-ish-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dcSpark","download_url":"https://codeload.github.com/dcSpark/pddl-ish-parser/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251128894,"owners_count":21540544,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T00:56:00.339Z","updated_at":"2025-10-30T13:39:15.780Z","avatar_url":"https://github.com/dcSpark.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PDDL-ish Parser\n\nThe 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.\n\n## Features\n\n- Parse non-standard PDDL files with flexibility.\n- Extract domains, objects, and actions from PDDL-like structured text.\n- Error handling to provide context for parsing failures.\n- Support for common PDDL constructs with leniency in syntax.\n\n## Installation\n\nTo install the PDDL-ish Parser, you can use `cargo add` command:\n\n```bash\ncargo add pddl-ish-parser\n```\n\nOr add the following to your Cargo.toml file:\n```toml\npddl-ish-parser = \"0.0.3\"\n```\n\nYou may want to check on the latest available version on [crates.io](https://crates.io/crates/pddl-ish-parser).\n\n## Usage\n\nHere is a basic example of how to use the PDDL-ish Parser:\n\n```rust\nuse pddl_ish_parser::parser::problem_parser::parse_problem;\n\nfn main() {\n    let input = r#\"(define (problem your-problem)\n        ...\n    )\"#;\n\n    match parse_problem(input) {\n        Ok((_, problem)) =\u003e println!(\"{:?}\", problem),\n        Err(e) =\u003e eprintln!(\"Error parsing problem: {:?}\", e),\n    }\n\n    let domain_input = r#\"(define (domain your-domain)\n        ...\n    )\"#;\n\n    match parse_domain_types(domain_input) {\n        Ok((_, domain_types)) =\u003e println!(\"Parsed domain types: {:?}\", domain_types),\n        Err(e) =\u003e eprintln!(\"Error parsing domain types: {:?}\", e),\n    }\n}\n```\n\n## Testing\n\nThe library includes tests that you can run to ensure the parser works as expected:\n\n```bash\ncargo test\n```\n\n## Contributions\n\nContributions are welcome! Please open an issue or pull request on GitHub.\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcspark%2Fpddl-ish-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdcspark%2Fpddl-ish-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdcspark%2Fpddl-ish-parser/lists"}