I can verify that that script runs under j807.

I was disappointed with the lack of documentation,

Still, it took me only a few seconds to crash my J session:

   ( A=. 3 3 $ [: (1&o.) (2&o.) ]sb )
   >A

... which, perhaps, has something to do with why this glitch has been
removed from more recent versions of the interpreter.

For now, I will repeat a paragraph from
http://jsoftware.com/pipermail/chat/2021-December/009020.html

Boxed verbs come with costs: Documentation costs, implementation
costs, maintenance costs (in the J implementation), debugging costs
(in code which did not intend to use the feature but erroneously used
it), opportunity costs (time that could have been spent on other
things). To make a decent decision here one has to be aware of both
the value and the costs of that decision (and someone has to step up
to cover those costs).

....

It might very well be that there's a useful approach here. But it
looks like adequately specifying and documenting that approach would
not be easy.

Thanks,

-- 
Raul

On Thu, Dec 30, 2021 at 7:09 PM Jose Mario Quintana
<[email protected]> wrote:
>
> > Or possibly I made a mistake the last time I tried that exercise, as
> > my copy of J crashed.
> >
> > Without a good specification, it's rather difficult to distinguish
> > between machine problems and implementation problems.
> >
>
> The attached J Wicked Toolkit.txt works for me...
>
> NB.
> ----------------------------------------------------------------------------
> NB. J Wicked Tacit Toolkit...
> NB.
> ----------------------------------------------------------------------------
>
> NB. DO NOT TRY TO LOAD THIS SCRIPT!!!
> NB. Instead, run it using 0!:0, or similar, or paste
> NB. it on an J editing window and use Crtl-A Crtl-E, or
> NB. of course, run the script using a hot key
>
> NB. (0!:0)<'/.../J Wicked Toolkit.js_'
>
> NB. WARNING: This tookit relies unorthodox (theoretically illegal)
> constructions
>
> ...
>
>    mne=. (k e fetch o #) o ('()' ;: o -.~ ":) f.adv
>      assert (A B C D)mne -: box (0&({::))`(1&({::))`(2&({::))`(3&({::))
>      assert (A f. 0&{:: Match) , (B f. 1&{:: Match) , (C f. 2&{:: Match) ,
> (D f. 3&{:: Match)
>
>    erase e o <"0'ABCDEFGHIJKLMNOPQRSTUVWXYZ'
> ┌─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┬─┐
> │1│1│1│1│1│1│1│1│1│1│1│1│1│1│1│1│1│1│1│1│1│1│1│1│1│1│
> └─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┴─┘
>
>
>    (9!:14)''
> j807/j64nonavx/windows/release/commercial/
> www.jsoftware.com/2018-10-05T10:48:34
>
>    ( A=. 3 3 $ [: 1&o. (0) (0) (0) ]sb )
> ┌────┬────┬────┐
> │1&o.│0   │0   │
> ├────┼────┼────┤
> │0   │1&o.│0   │
> ├────┼────┼────┤
> │0   │0   │1&o.│
> └────┴────┴────┘
>
>    ;A
> |domain error
> |       ;A
>
>
> Again, I am just playing with the j807 DLL without a full installation.  I
> hope it works for you.
>
> Good luck!
>
>
>
>
>
>
> On Thu, Dec 30, 2021 at 4:08 PM Raul Miller <[email protected]> wrote:
> >
> > On Thu, Dec 30, 2021 at 2:54 PM Jose Mario Quintana
> > <[email protected]> wrote:
> > > This is what Jx does which in most cases is what official j8xx
> > > interpreters do.  You could find out what the latter interpreters
> illegally
> > > do after running the wicked tacit toolkit holding your nose if
> necessary.
> >
> > Possibly,
> >
> > Or possibly I made a mistake the last time I tried that exercise, as
> > my copy of J crashed.
> >
> > Without a good specification, it's rather difficult to distinguish
> > between machine problems and implementation problems.
> >
> > Thanks,
> >
> > --
> > Raul
> > ----------------------------------------------------------------------
> > 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

Reply via email to