John,

Sorry for screwing up the thread...
Yes, I am talking about that ruby_dsl.rb.
Its purpose is basically to return a parse tree for your DSL, right?  so why 
not use ParseTree?

[There is a bunch of issues with set expressions... that I was not sure to 
bring up before I got an exchange going]
Thanks,
Pat.

On May 17, 2010, at 10:19 AM, John Mettraux wrote:

> 
> On Mon, May 17, 2010 at 10:04:47AM -0400, Cappelaere Patrice wrote:
>> John,
>> 
>> Just curious but what was the reasoning behind writing your own ruby_dsl 
>> parser?  and not use ParseTree and its s-expressions?
>> 
>> The reason I ask (if you really want to know)...I am trying to extend a 
>> participant to be a DSL for spectral image processing.  So I really want to 
>> define an algorithm (aka a process) in a similar manner... and then use that 
>> within a workflow...
>> 
>> I was trying to visualize with ruote-fluo to quickly show the equivalence of 
>> representation... this would make it very seamless.
>> 
>> This would also allow full arithmetic operations...
>> 
>> b1 = band(23)
>> b2 = band(24)
>> c   = b1 + b2
>> d   = b1 > 0...
>> 
>> Thanks,
>> Pat.
> 
> Hello Patrice,
> 
>> Just curious but what was the reasoning behind writing your own ruby_dsl
>> parser?  and not use ParseTree and its s-expressions?
> 
> Well, I did not write a parser, I'm using an internal DSL.
> 
>  http://github.com/jmettraux/ruote/blob/ruote2.1/lib/ruote/parser/ruby_dsl.rb
> 
> I'm ready to change its name if it's too misleading.
> 
> 
> Best regards,
> 
> -- 
> John Mettraux - http://jmettraux.wordpress.com
> 
> -- 
> you received this message because you are subscribed to the "ruote users" 
> group.
> to post : send email to [email protected]
> to unsubscribe : send email to [email protected]
> more options : http://groups.google.com/group/openwferu-users?hl=en

-- 
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en

Reply via email to