leo_gomes | 2 Dec 2009 10:53
Picon

Re: [rules-dev] Rete DSL testing harness


Is it an internal dsl written in jython or something like that, or an
external one that you crafted with antlr?

Is it on trunk?

Leo.

Mark Proctor wrote:
> 
> Thought i'd flash this up on dev mailing list, incase anyone wanted to 
> discuss it - or help :)
> http://blog.athico.com/2009/11/rete-dsl-testing-harness.html
> 
> Mark
> 
> _______________________________________________
> rules-dev mailing list
> rules-dev <at> lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
> 
> 

--

-- 
View this message in context: http://n3.nabble.com/Rete-DSL-testing-harness-tp63446p66217.html
Sent from the Drools - Dev mailing list archive at Nabble.com.
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
(Continue reading)

Michael Neale | 2 Dec 2009 10:57
Picon
Gravatar

Re: [rules-dev] Rete DSL testing harness

I think it would be mvel - kind of an external dsl, but mvel is a  
languge as well, so not sure how you would classify it.

Sent from my phone.

On 02/12/2009, at 8:53 PM, leo_gomes <leonardo.f.gomes <at> gmail.com> wrote:

>
> Is it an internal dsl written in jython or something like that, or an
> external one that you crafted with antlr?
>
> Is it on trunk?
>
> Leo.
>
>
> Mark Proctor wrote:
>>
>> Thought i'd flash this up on dev mailing list, incase anyone wanted  
>> to
>> discuss it - or help :)
>> http://blog.athico.com/2009/11/rete-dsl-testing-harness.html
>>
>> Mark
>>
>> _______________________________________________
>> rules-dev mailing list
>> rules-dev <at> lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-dev
>>
(Continue reading)

Mark Proctor | 2 Dec 2009 13:49

Re: [rules-dev] Rete DSL testing harness

Michael Neale wrote:
I think it would be mvel - kind of an external dsl, but mvel is a languge as well, so not sure how you would classify it.
No it's a simple java line parser. I just chunk based on indendation. I do evaluate parts of those chunks with MVEL, for things like array building. I did it like this as I found any other DSL language just had too much extra verbage, like more brackets or symbols, because it's restricted to the way it's parser works.
trunk/drools-core/src/test/java/org/drools/reteoo/test/ReteDslTestEngine.java

So first I put it through chunkReader(). This turns it into a list of strings, it removes any comments but keeps spacing

The chunkReader is used by
buildDslCommands(). This iterates each String in the list and uses indentation position to know which commands execute against which steps. I chose indentation rather than { ... } brackets as I wanted something that was more easily readable. It does make the authoring slightly more fragile, but readability was important here.

Once we have the list of steps we can evaluate them with
run().

Mark
Sent from my phone. On 02/12/2009, at 8:53 PM, leo_gomes <leonardo.f.gomes <at> gmail.com> wrote:
Is it an internal dsl written in jython or something like that, or an external one that you crafted with antlr? Is it on trunk? Leo. Mark Proctor wrote:
Thought i'd flash this up on dev mailing list, incase anyone wanted to discuss it - or help :) http://blog.athico.com/2009/11/rete-dsl-testing-harness.html Mark _______________________________________________ rules-dev mailing list rules-dev <at> lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-dev
-- View this message in context: http://n3.nabble.com/Rete-DSL-testing-harness-tp63446p66217.html Sent from the Drools - Dev mailing list archive at Nabble.com. _______________________________________________ rules-dev mailing list rules-dev <at> lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-dev
_______________________________________________ rules-dev mailing list rules-dev <at> lists.jboss.org https://lists.jboss.org/mailman/listinfo/rules-dev

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Michael Neale | 2 Dec 2009 23:42
Picon
Gravatar

Re: [rules-dev] Rete DSL testing harness

So to answer Leo's question, that would be an external DSL.

On Wed, Dec 2, 2009 at 11:49 PM, Mark Proctor <mproctor <at> codehaus.org> wrote:
> Michael Neale wrote:
>
> I think it would be mvel - kind of an external dsl, but mvel is a
> languge as well, so not sure how you would classify it.
>
>
> No it's a simple java line parser. I just chunk based on indendation. I do
> evaluate parts of those chunks with MVEL, for things like array building. I
> did it like this as I found any other DSL language just had too much extra
> verbage, like more brackets or symbols, because it's restricted to the way
> it's parser works.
> trunk/drools-core/src/test/java/org/drools/reteoo/test/ReteDslTestEngine.java
>
> So first I put it through chunkReader(). This turns it into a list of
> strings, it removes any comments but keeps spacing
>
> The chunkReader is used by buildDslCommands(). This iterates each String in
> the list and uses indentation position to know which commands execute
> against which steps. I chose indentation rather than { ... } brackets as I
> wanted something that was more easily readable. It does make the authoring
> slightly more fragile, but readability was important here.
>
> Once we have the list of steps we can evaluate them with run().
>
> Mark
>
> Sent from my phone.
>
> On 02/12/2009, at 8:53 PM, leo_gomes <leonardo.f.gomes <at> gmail.com> wrote:
>
>
>
> Is it an internal dsl written in jython or something like that, or an
> external one that you crafted with antlr?
>
> Is it on trunk?
>
> Leo.
>
>
> Mark Proctor wrote:
>
>
> Thought i'd flash this up on dev mailing list, incase anyone wanted
> to
> discuss it - or help :)
> http://blog.athico.com/2009/11/rete-dsl-testing-harness.html
>
> Mark
>
> _______________________________________________
> rules-dev mailing list
> rules-dev <at> lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>
>
>
>
> --
> View this message in context:
> http://n3.nabble.com/Rete-DSL-testing-harness-tp63446p66217.html
> Sent from the Drools - Dev mailing list archive at Nabble.com.
> _______________________________________________
> rules-dev mailing list
> rules-dev <at> lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>
>
> _______________________________________________
> rules-dev mailing list
> rules-dev <at> lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>
>
>
>
> _______________________________________________
> rules-dev mailing list
> rules-dev <at> lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>
>

--

-- 
Michael D Neale
home: www.michaelneale.net
blog: michaelneale.blogspot.com
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

Geoffrey De Smet | 5 Dec 2009 15:53
Picon
Gravatar

[rules-dev] drools-solver module renamed to drools-planner

Hi guys,

Just a heads up: on trunk, I've renamed the drools-solver modules to 
drools-planner. Let me know if you're having any problems.

You 'll probably have to remove the old projects in eclipse and import 
the renamed ones:
   drools-planner/drools-planner-core/.project
   drools-planner/drools-planner-examples/.project

--

-- 
With kind regards,
Geoffrey De Smet

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

Mark Proctor | 6 Dec 2009 04:13

[rules-dev] drools-flex-editor

Anyone played with this?
http://code.google.com/p/drools-flex-editor/

Any good?

Mark

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

Salaboy | 6 Dec 2009 12:29
Picon
Gravatar

Re: [rules-dev] drools-flex-editor

I download it about a month ago and Seems to be abandoned

- Ing. Mauricio Salatino -

On Dec 6, 2009, at 1:13 AM, Mark Proctor <mproctor <at> codehaus.org> wrote:

> Anyone played with this?
> http://code.google.com/p/drools-flex-editor/
>
> Any good?
>
> Mark
>
> _______________________________________________
> rules-dev mailing list
> rules-dev <at> lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

Michael Neale | 6 Dec 2009 22:56
Picon
Gravatar

Re: [rules-dev] drools-flex-editor

I heard about it around ORF 2008, or before ? it looked like a good
idea then, but never got to look deeper.

I did like the idea of using flex to create a richer text editor,
which sends chunks to the server to provide content awareness like an
IDE, as its not easy to make text areas useful in a cross browser way
(ie for DRL editing on the web).

On Sun, Dec 6, 2009 at 10:29 PM, Salaboy <salaboy <at> gmail.com> wrote:
> I download it about a month ago and Seems to be abandoned
>
> - Ing. Mauricio Salatino -
>
> On Dec 6, 2009, at 1:13 AM, Mark Proctor <mproctor <at> codehaus.org> wrote:
>
>> Anyone played with this?
>> http://code.google.com/p/drools-flex-editor/
>>
>> Any good?
>>
>> Mark
>>
>> _______________________________________________
>> rules-dev mailing list
>> rules-dev <at> lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-dev
> _______________________________________________
> rules-dev mailing list
> rules-dev <at> lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>

--

-- 
Michael D Neale
home: www.michaelneale.net
blog: michaelneale.blogspot.com
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

Mauricio Salatino | 6 Dec 2009 23:24
Picon
Gravatar

Re: [rules-dev] drools-flex-editor

for me it's a very good idea too. But it requires a lot of work and the maintenance when adobe release their new versions.
You can do very rich editors in flex. Fedex it's a very big example

On Sun, Dec 6, 2009 at 7:56 PM, Michael Neale <michael.neale <at> gmail.com> wrote:
I heard about it around ORF 2008, or before ? it looked like a good
idea then, but never got to look deeper.

I did like the idea of using flex to create a richer text editor,
which sends chunks to the server to provide content awareness like an
IDE, as its not easy to make text areas useful in a cross browser way
(ie for DRL editing on the web).



On Sun, Dec 6, 2009 at 10:29 PM, Salaboy <salaboy <at> gmail.com> wrote:
> I download it about a month ago and Seems to be abandoned
>
> - Ing. Mauricio Salatino -
>
> On Dec 6, 2009, at 1:13 AM, Mark Proctor <mproctor <at> codehaus.org> wrote:
>
>> Anyone played with this?
>> http://code.google.com/p/drools-flex-editor/
>>
>> Any good?
>>
>> Mark
>>
>> _______________________________________________
>> rules-dev mailing list
>> rules-dev <at> lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-dev
> _______________________________________________
> rules-dev mailing list
> rules-dev <at> lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>



--
Michael D Neale
home: www.michaelneale.net
blog: michaelneale.blogspot.com
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev



--
- http://salaboy.wordpress.com
- http://www.jbug.com.ar
- Salatino "Salaboy" Mauricio -
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Michael Neale | 6 Dec 2009 23:50
Picon
Gravatar

Re: [rules-dev] drools-flex-editor

Also, is it worth having a rich drl text editor on the web over say good eclipse integration? (of course if people choose to maintain it, whynot both!). 
To do a better web drl text editor means using flex/flash, or dropping ie. 

Sent from my phone. 

On 07/12/2009, at 9:24 AM, Mauricio Salatino <salaboy <at> gmail.com> wrote:

for me it's a very good idea too. But it requires a lot of work and the maintenance when adobe release their new versions.
You can do very rich editors in flex. Fedex it's a very big example

On Sun, Dec 6, 2009 at 7:56 PM, Michael Neale <michael.neale <at> gmail.com> wrote:
I heard about it around ORF 2008, or before ? it looked like a good
idea then, but never got to look deeper.

I did like the idea of using flex to create a richer text editor,
which sends chunks to the server to provide content awareness like an
IDE, as its not easy to make text areas useful in a cross browser way
(ie for DRL editing on the web).



On Sun, Dec 6, 2009 at 10:29 PM, Salaboy <salaboy <at> gmail.com> wrote:
> I download it about a month ago and Seems to be abandoned
>
> - Ing. Mauricio Salatino -
>
> On Dec 6, 2009, at 1:13 AM, Mark Proctor <mproctor <at> codehaus.org> wrote:
>
>> Anyone played with this?
>> http://code.google.com/p/drools-flex-editor/
>>
>> Any good?
>>
>> Mark
>>
>> _______________________________________________
>> rules-dev mailing list
>> rules-dev <at> lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-dev
> _______________________________________________
> rules-dev mailing list
> rules-dev <at> lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>



--
Michael D Neale
home: www.michaelneale.net
blog: michaelneale.blogspot.com
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev



--
- http://salaboy.wordpress.com
- http://www.jbug.com.ar
- Salatino "Salaboy" Mauricio -
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

Gmane