Look in va2.c and ve.c

I think you expect it to be more straightforward than it is. Every primitive that supports IRS implicitly does 4 levels of nested loops.  The outer 2 levels are done in a central routine, the inner 2 in each primitive, which can handle the cases vector-vector, vectors-atoms, atoms-vectors.

Henry Rich

On 3/9/2023 11:43 AM, Raul Miller wrote:
We don't currently have something in the wiki that matches the kind of
structure which you had described here.

However, a top level of what you're asking for exists in t.c (and x.c
for the implementation of !:)

https://github.com/jsoftware/jsource/blob/master/jsrc/t.c#L57
https://github.com/jsoftware/jsource/blob/master/jsrc/x.c#L50

Also, since (as I understand it) you were unable to locate the link
for a zip file representing the current j source tree, here's that
link:

https://github.com/jsoftware/jsource/archive/refs/heads/master.zip

I hope this helps,


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to