ew modifier trains, I've found ^:^:_ as "while". A simple test
> > code: increment while less than 8. (With some errors one need kill the
> > j session.)
> >
> > >: (^:^:_) (<&8) 2
> >
> > 8
> >
> > Wh
2023 13:12:37 +0100
> > From: Jan-Pieter Jacobs
> > To:programm...@jsoftware.com
> > Subject: Re: [Jprogramming] Atop parsing
> > Message-ID:
> > <
> cans99cyu9dmv0kgq+sh4dtvxiueqvcoz_if5iwzw_cvuhh4...@mail.gmail.com>
> > Content-Type: text/plain; charse
^:^:_ as "while". A simple test
code: increment while less than 8. (With some errors one need kill the
j session.)
>: (^:^:_) (<&8) 2
8
While=: ^:^:_
u. While v.
u.^:v.^:_
> Date: Wed, 15 Feb 2023 13:12:37 +0100
> From: Jan-Pieter Jacobs
> To:programm..
0
From: Jan-Pieter Jacobs
To:programm...@jsoftware.com
Subject: Re: [Jprogramming] Atop parsing
Message-ID:
Content-Type: text/plain; charset="UTF-8"
The reason it's hard to find anything else on modifier trains is that they
have been removed from the language a long time ago (
All, but 1 or 2 of https://code.jsoftware.com/wiki/Vocabulary/ModifierTrains
are extremely useful. Their use is mainly in creating compound modifiers
(expressions that return modifiers) or quick modifiers.
The core "adverbial programming" in J has always been the much simpler adverb
sequence t
The reason it's hard to find anything else on modifier trains is that they
have been removed from the language a long time ago (with j501 in 2002,
apparently), and only reintroduced recently with j903.
Before the reintroduction, the only modifier trains were bidents:
- partially applied conjunctio
Thank you for taking the time to explain at the level you knew I could
digest. It is really helpful - I can now use @ vs @: in very practical ways.
And the bonus ...
The myvarp3 is so much more readable I wondered why I never came across
such construction. It puzzled me the entire night as to wh
All conjunctions including @ bind to their right argument "tightly" meaning
just the one token.
The left argument of conjunctions/adverbs is the entire verb phrase to the left
of it.
myvarp1 uses "linear style" even if it is tacit. `[:` has "no binding"
everything to right will execute firs
Rank.
The rank of *: is 0.
Thus ... @ *: has rank 0.
The rank of fork is _ .
*: @: fork (equivalent to [: *: fork) has rank _ , as does (*: @ fork)
Henry Rich
On 2/12/2023 4:46 PM, More Rice wrote:
Masters,
I understand that there is an excellent reference implementation of varp in
a