Releases: sunsided/pddl-rs
0.0.7
0.0.6
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
forName
that allows comparison withstr
andString
directly.
Changed
- Renamed
Problem::goal
toProblem::goals
to reflect the fact that it is iterable. - If well-known names such as
object
ornumber
are used for aName
, these values will be interned to a'static str
.
Internal
- The
thiserror
dependency is now only brought in with theparser
crate feature. - Use string interning to reduce the number of allocations required for
Name
types. This is enabled by default through theinterning
crate feature.
0.0.5
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>
forPreconditionGoalDefinitions
to get the only element of the list if it is a one-element list, orNone
. TryInto
implementations were added forCEffect
to allow deconstruction intoPEffect
,ForallCEffect
andWhenCEffect
.- Added the
Parser::from_str
method that performs aParse::parse
but discards the remaining unparsed text.
Changes
- The
PrefConGD::And
variant was removed and replaced with thePrefConGDs
type. - The
Effect::All
andEffect::Single
variants were removed and theEffect
type was changed to a struct wrapping a vectorEffects
. - The
CEffect
variants were changed to wrapForallCEffect
andWhenCEffect
types. - The parser now uses nom-greedyerror and nom_locate to improve error handling.
- The
Parser
trait now takes anT: 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 predicateand
.
0.0.4
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 forConditionalEffect
,DurationConstraint
andEffect
that flatten theSingle
andAll
variants into a single iterator.
In all these cases, the(and ...)
representation allows for a cardinality of
zero, one or many, which makesx
and(and x)
identical. - Added
From<AtomicFormula<T>>
forLiteral<T>
.
Changes
- The
PreGD
type was renamed toPreconditionGoalDefinition
. - The
PreconditionGoalDefinition::And
variant was removed and replaced with thePreconditionGoalDefinitions
type.
0.0.3
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
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
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
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"