[Jprogramming] Announcing: dissect, the 2-D J sentence analyzer; and request for a collaborator
Henry Rich
HenryHRich at nc.rr.com
Sun Dec 30 21:56:59 UTC 2012
When I do it, I get correct results for modified-f, and a failure for
modified-g because your input to ds doesn't match the definition of g.
Both grids seem correct, though it's not much fun when you can't click
anything.
ds '''is a'' ([: +./"1 [ E."1 [: > ]) b'
works for g.
Henry Rich
On 12/30/2012 4:45 PM, Linda Alvord wrote:
> Henry, did you notice that both f and g appear to work correctly in jijx, but not when you use ds for each.
>
>
> -----Original -----
> From: programming-bounces at forums.jsoftware.com [mailto:programming-bounces at forums.jsoftware.com] On Behalf Of Henry Rich
> Sent: Sunday, December 30, 2012 9:29 AM
> To: programming at jsoftware.com
> Subject: Re: [Jprogramming] Announcing: dissect, the 2-D J sentence analyzer; and request for a collaborator
>
> The grids are correct, but the grid isn't honoring the mouse-clicks.
> I'l ask for help on this.
>
> Henry
>
> On 12/30/2012 3:01 AM, Linda Alvord wrote:
>> Henry, You may find this interesting. I was just experimenting with your ds in this script:
>>
>> load 'debug/dissect'
>> a=: 0 : 0
>> a is a
>> b is not a
>> c is a or not a
>> )
>> a
>> b=: <;._2 a
>> b
>> f=: 13 :'x&(+./@E.)&>y'
>> f
>> 'is a' f b
>> 'not a' f b
>> g=: 13 :'+./"1 x E."1 > y'
>> g
>> 'is a' g b
>> 'not a' g b
>> ds '(''is a''&(+./@E.)&>)b'
>> ds '(+./"1 ''is a'' E."1 > )b'
>>
>> Linda
>>
>> -----Original Message-----
>> From: programming-bounces at forums.jsoftware.com
>> [mailto:programming-bounces at forums.jsoftware.com] On Behalf Of Henry
>> Rich
>> Sent: Saturday, December 29, 2012 11:17 AM
>> To: programming at jsoftware.com
>> Subject: Re: [Jprogramming] Announcing: dissect, the 2-D J sentence
>> analyzer; and request for a collaborator
>>
>> Yes, I meant J7/GTK. As I understand it, grid requires GTK (if not, I could try to do what's needed to run grid without GTK).
>>
>> All praise should go to the authors of grid and gtkwd, which made the port easy.
>>
>> Henry Rich
>>
>> On 12/29/2012 11:10 AM, bob therriault wrote:
>>> Hi Henry,
>>>
>>> It fails in JHS on a Mac but I am guessing that you were referring to J 7 in GTK. Very impressive that you were able to move it into GTK so quickly.
>>>
>>> 9!:14 ''
>>> j701/2011-01-10/11:25
>>>
>>> ds '20 5 0(*`%/"2@(,: (%:@* -.))@((,: , 1"1) % +/@[))10'
>>> |value error: wd
>>> | wd DISSECT
>>>
>>>
>>> Cheers, bob
>>>
>>> On 2012-12-29, at 7:30 AM, Henry Rich wrote:
>>>
>>>> ds '20 5 0(*`%/"2@(,: (%:@* -.))@((,: , 1"1) % +/@[))10'
>>>
>>> ---------------------------------------------------------------------
>>> - For information about J forums see
>>> http://www.jsoftware.com/forums.htm
>>>
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
More information about the Programming
mailing list