J labs (as of summer 2026)

16 views
Skip to first unread message

Raul Miller

unread,
May 31, 2026, 2:07:28 PM (5 days ago) May 31
to J Programming Forum
Recently, my frustration level with my own initiative and with some
labs (which have been withdrawn for lack of attention) has pushed me
to try and work through various issues.

One of these issues is the state of the documentation on how to author labs.

My current sticking point (and the reason I am posting this message)
has to do with https://code.jsoftware.com/wiki/Labs/The_lab_Verb which
currently says:

lab n run line n
lab n m run lines n through m (to max script length)

However, testing this (using the "Rotations" lab, it looks like lab n
(for positive integer n) tries to select chapter n, and it's not clear
to me what lab n m is about.

I suspect - since chapter selection has a different documented
interface - that this should be treated as an implementation issue
rather than a documentation issue.

And, quite possibly (given the current state of affairs) I should
volunteer to maintain the code to deal with this issue (and plausibly
others).

That said, before jumping into any of this, it would probably be wise
of me to ask for other informed views on how these things should be
tackled.

For example:
(*) does anyone rely on lab n or lab n m?
(*) Do people here have a stymied interest in lab authoring, where
it's plausible that cleanup efforts might help move things forward?
(*) Has anyone noticed other examples where documentation has not
matched behavior in the context of J labs?
(*) Does anyone have a favored "lab authoring workflow" that they
would care to share?

I am still in the process of looking things over, but I do not want to
get stalled on research. Still, if it looks like I am overlooking a
readily available resource, I also wouldn't mind a few pointers.

Thanks,

--
Raul

Devon McCormick

unread,
May 31, 2026, 5:43:21 PM (5 days ago) May 31
to fo...@jsoftware.com
Hi Raul - I've only used the labs a few times and may occasionally refer back to one or another but am unsure how useful they really are.

Have others had more experience with them?

Regards,

Devon

Devon McCormick




To unsubscribe from this group and stop receiving emails from it, send an email to forum+un...@jsoftware.com.

Raul Miller

unread,
May 31, 2026, 5:48:58 PM (5 days ago) May 31
to fo...@jsoftware.com
Devon, I have used the labs at various points. I am currently trying
to update a lab which was dropped (so that it can be used on recent
versions of J) because I found it useful.

That said, labs are documentation. Since the scope of the language is
broad, it should be entirely expected that some documentation covers
topics which some people do not engage with.

Thanks,

--
Raul
Reply all
Reply to author
Forward
0 new messages