Re: [Pharo-users] is Renraku general purpose rule checker?

2017-07-27 Thread Juraj Kubelka
Hi,

At ESUG 2016, Yuriy showed that someone can use Renraku for any domain 
(object). So, it is not limited to AST/code based rules.

In the recent effort of Benoit, he adds some rules to improve writing and 
executing test cases experience. This is related to AST/source code, but with 
more complex logic behind.

Juraj


> El 22-07-2017, a las 14:44, Peter Uhnak  escribió:
> 
> Hi,
> 
> I'm looking at Renraku and I wonder, would Renraku be a good start for 
> general-purpose checking?
> 
> E.g. I have a domain, where Person cannot drink if they are underage.
> 
> So I've created a simple ReAbstractRule subclass that does basic check
> 
> SomeRule>>basicCheck: anEntity
>   ^ anEntity age < 18
> 
> and also custom Critique.
> 
> So for everything seems that it works well, however I am not sure if there 
> are some potential roadbloacks down the road, because e.g. Renraku is meant 
> only for AST/code based rules.
> 
> Thanks,
> Peter
> 




Re: [Pharo-users] is Renraku general purpose rule checker?

2017-07-22 Thread Stephane Ducasse
Yes it is its purpose.


On Sat, Jul 22, 2017 at 2:44 PM, Peter Uhnak  wrote:
> Hi,
>
> I'm looking at Renraku and I wonder, would Renraku be a good start for 
> general-purpose checking?
>
> E.g. I have a domain, where Person cannot drink if they are underage.
>
> So I've created a simple ReAbstractRule subclass that does basic check
>
> SomeRule>>basicCheck: anEntity
> ^ anEntity age < 18
>
> and also custom Critique.
>
> So for everything seems that it works well, however I am not sure if there 
> are some potential roadbloacks down the road, because e.g. Renraku is meant 
> only for AST/code based rules.
>
> Thanks,
> Peter
>



[Pharo-users] is Renraku general purpose rule checker?

2017-07-22 Thread Peter Uhnak
Hi,

I'm looking at Renraku and I wonder, would Renraku be a good start for 
general-purpose checking?

E.g. I have a domain, where Person cannot drink if they are underage.

So I've created a simple ReAbstractRule subclass that does basic check

SomeRule>>basicCheck: anEntity
^ anEntity age < 18

and also custom Critique.

So for everything seems that it works well, however I am not sure if there are 
some potential roadbloacks down the road, because e.g. Renraku is meant only 
for AST/code based rules.

Thanks,
Peter