I used the Jx extensions Cloak (?:) and wl ( 104!:1) out of convenience
rather than necessity to show that the foreign verb extension (104!:8) not
only can take arguments that it was not supposed to take but also produce
results that make sense (to me, anyway) just as several official primitives
and official foreign constructions do.
On the one hand, presumably, none of these official words were specifically
designed to take and handle forbidden arguments. On the other hand,
sometimes I sense that there is an overall design to be able to do so but
the Dictionary's rules of engagement are enforced for the user's
environment; although, as we know now, the enforcement is not airtight
(there are at least two punctures). I really have no clue if there is an
overall design, I only glanced at an ancient version of the code of the
interpreter a long time ago with my C illiterate eyes.
To be clear, the fact that I used a modified Jx interpreter is ultimately
irrelevant because one can reproduce the behavior using an official
interpreter (merely by redefining the extensions involved). For example,
JVERSION
Installer: j602a_win.exe
Engine: j701/2011-01-10/11:25
Library: 6.02.023
('v0 a1 c2 N3' k (< o (Cloak <'wl') ;. _1)) '`^&-:`@:>`^:`0 1 2'
┌────┬───┬──┬─────┐
│^&-:│@:>│^:│0 1 2│
└────┴───┴──┴─────┘
v0 a1 c2 N3 N3
0 1 2
1 1.64872 2.71828
1.64872 2.28042 3.89285
How can one redefine the extensions in an official environment?
Obvious hint: Breaking the Dictionary's rules of engagement!
On Sat, Nov 15, 2014 at 1:13 AM, Raul Miller <[email protected]> wrote:
> On Fri, Nov 14, 2014 at 6:27 PM, Jose Mario Quintana
> <[email protected]> wrote:
> > Fantastically (or horridly, depending on one's point of view), the verb
> > (104!:8) can effortlessly make assignments that were never envisioned,
> >
> >
> > ('v0 a1 c2 N3' k (< o (?: <'wl') ;. _1)) '`^&-:`@:>`^:`0 1 2'
>
> ?:
> |spelling error
>
> Modified versions of J maybe should not count for the "never envisioned"
> thing.
>
> Unless, of course, you are saying that you - who designed that
> modification - had not envisioned that your changes would behave this
> way.
>
> 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