Hi,

Yes the format is aimed to please the YAML fans. So not for everyone and in
the same way as with Perl, you can do great things, but also a huge mess.
The ideal YaRD file is likely something you can read without, or with
minimal, scrolling.

There is also the possibility of having a Guided Editor in the future.
Maybe paired with support for JSON and this will make the file content more
complicated. However the UI will give more control.

For risking 10.0.0. Since this is a "leaf" in the tree, nothing depends on
it yet. This means nothing upstream can break. This leaves a risk of the
changes simply breaking the build.
If this is seen as a risk then we would have to merge it after 10.0.0.

The work on YaRD itself will continue. This is just an offering for the KIE
Apache group.
One of the benefits of having this in KIE is easier access to the
Verification & Validation tooling that will be able to support both Drools
and YaRD. Possibly other Rule formats as time goes by.

Toni

On Mon, Mar 4, 2024 at 4:02 PM Alex Porcelli <[email protected]> wrote:

> Toni,
>
> As in previous discussion related to the new Drools parser, my concern
> is how much this might affect the 10.0.0 release.
>
> I personally am not a big fan of YAML, in a recent demo I got in
> trouble because of 2 spaces :D - but I understand that this might look
> appealing to k8s audience :)
>
> On Mon, Mar 4, 2024 at 8:23 AM Toni Rikkola <[email protected]> wrote:
> >
> > Hello,
> >
> > I am proposing we add YaRD into the kie-drools repository. YaRD is used
> > to describe Decisions, Rules and Declarative logic in the YAML format.
> > At the current state it supports Decision Tables and Literal
> > Expressions.
> >
> > Example of a Decision Table is in attached file
> > "yard-dtable-example.txt". ( In .txt for easier viewing. )
> > A more complex example is in attached "costs.txt".
> >
> > The YAML structure and the used scripting language is not set in stone
> > and the feature at the moment is experimental.
> >
> > Under the YAML cover it runs Drools, in more detail the Drools Rule
> > Units DSL.
> >
> > Due to the move to Apache we are in a weird situation where we already
> > have an editor for YaRD in kie-tools without a backend. The existing
> > editor has a simple autocomplete with support for Validation that finds
> > redundancy and subsumption from the Decision Tables. To follow the
> > Apache community rules and to show visibility I am now asking for
> > approval to add the backend in.
> >
> > Thank you
> > Toni Rikkola
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [email protected]
> > For additional commands, e-mail: [email protected]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to