Skip to content

Releases: sunsided/pddl-rs

0.1.0

19 May 15:19
c6c989c
Compare
Choose a tag to compare

To add pddl/0.1.0 to your project, run

or use

[dependencies]
pddl = "0.1.0"

To install the latest version, run

cargo add pddl

Changes since 0.7.0

This release mainly improves on the reported code coverage and covers some additional edge cases with tests. In addition, the version was raised from 0.0.x to 0.1.0 to be a bit less intimidating. Full Changelog: 0.0.7...v0.1.0.

Internal

  • #84: Added code coverage tracking and improved test coverage.
  • #83: Added tea constitution file.

0.0.7

27 May 00:27
2d11791
Compare
Choose a tag to compare

pddl/0.0.7

To use it in your project, add:

[dependencies]
pddl = "0.0.7"

Changes since 0.0.6

Added

  • #82: Added support for PDDL line comments.

0.0.6

07 May 15:17
bd1381f
Compare
Choose a tag to compare

pddl/0.0.6

To use it in your project, add:

[dependencies]
pddl = "0.0.6"

Changes since 0.0.5

Added

  • Added a PartialEq for Name that allows comparison with str and String directly.

Changed

  • Renamed Problem::goal to Problem::goals to reflect the fact that it is iterable.
  • If well-known names such as object or number are used for a Name, these values will be interned to a 'static str.

Internal

  • The thiserror dependency is now only brought in with the parser crate feature.
  • Use string interning to reduce the number of allocations required for Name types. This is enabled by default through the interning crate feature.

0.0.5

05 May 20:55
7742eae
Compare
Choose a tag to compare

pddl/0.0.5

To use it in your project, add:

[dependencies]
pddl = "0.0.5"

Changes since 0.0.4

Added

  • Added TryInto<PreconditionGoalDefinition> for PreconditionGoalDefinitions to get the only element of the list if it is a one-element list, or None.
  • TryInto implementations were added for CEffect to allow deconstruction into PEffect, ForallCEffect and WhenCEffect.
  • Added the Parser::from_str method that performs a Parse::parse but discards the remaining unparsed text.

Changes

  • The PrefConGD::And variant was removed and replaced with the PrefConGDs type.
  • The Effect::All and Effect::Single variants were removed and the Effect type was changed to a struct wrapping a vector Effects.
  • The CEffect variants were changed to wrap ForallCEffect and WhenCEffect types.
  • The parser now uses nom-greedyerror and nom_locate to improve error handling.
  • The Parser trait now takes an T: Into<Span<'a>> argument.
  • All parser methods now take an T: Into<Span<'a>> argument.

Fixed

  • Fixed an issue where (and ...) conditional effects would be accidentally parsed into an atomic formula with predicate and.

0.0.4

03 May 23:11
44c728a
Compare
Choose a tag to compare

pddl/0.0.4

To use it in your project, add:

[dependencies]
pddl = "0.0.4"

Changes since 0.0.3

Added

  • Added IntoIterator implementations for ConditionalEffect, DurationConstraint
    and Effect that flatten the Single and All variants into a single iterator.
    In all these cases, the (and ...) representation allows for a cardinality of
    zero, one or many, which makes x and (and x) identical.
  • Added From<AtomicFormula<T>> for Literal<T>.

Changes

  • The PreGD type was renamed to PreconditionGoalDefinition.
  • The PreconditionGoalDefinition::And variant was removed and replaced with the PreconditionGoalDefinitions type.

0.0.3

03 May 18:31
120f34a
Compare
Choose a tag to compare

pddl/0.0.3 hides the nom parser from the crate features, instead exposing only the parser feature.

To use in your project, add:

[dependencies]
pddl = "0.0.3"

0.0.2

24 Apr 20:58
82a44fb
Compare
Choose a tag to compare

pddl/0.0.2 adds some quality of life improvements, such as top-level re-exports of the domain and problem types, a Parser trait simplifying the parsing experience and slightly improved documentation.

To use in your project, add:

[dependencies]
pddl = "0.0.2"

0.0.1

23 Apr 22:18
d702584
Compare
Choose a tag to compare

pddl/0.0.1 provides some minor usability adjustments such as added accessors for internal state of structs.

To use in your project, add:

[dependencies]
pddl = "0.0.1"

0.0.0

23 Apr 18:52
0.0.0
14f8daa
Compare
Choose a tag to compare

pddl/0.0.0 is the initial release. This version is able to parse PDDL 3.1 but may not be entirely useful due to non-public enum variant contents. These usability concerns will be addressed in a future version.

To use in your project, add:

[dependencies]
pddl = "0.0.0"