that’s the way I had done it in the first place,
only in one line 2 : '1 : (… '' (u A)~ '' … )'
What I forgot was to keep in mind what parts of speech
I’m dealing with so I forgot to parenthesize the noun
to the right; in a simple test case I said i.3 to the right
and the modifier grabbed the i. resulting in an error
So changing i.3 into (i.3) did the trick
(and similarly for real examples)
Just taking code from anyone without understanding results
in copy&waste errors. There is no such thing like copy&paste.
It’s always waste.
So I still don’t do the 5!: thing Raul proposed for I don’t
understand it yet – but I’ll try and learn it.
(And while I’m at it, I’ll try getting familiar with ~’s
usage for evaluation “evoke”.)
so the original problem has been solved and was merely a bug
in the human parser :)
Am 27.02.20 um 12:48 schrieb 'Pascal Jasmin' via Programming:
C =: 2 : 0
1 : ((": m) , ' u~ ' , ": m V n)
)
On Thursday, February 27, 2020, 03:04:57 a.m. EST, Hauke Rehr
<hauke.r...@uni-jena.de> wrote:
What I want is rather something (C here) callable like
noun1 C noun2
resulting in the adverb
noun1 u~ <result of noun1 V noun2>
What you say I knew except if the evaluation
rules changed in j9 and this is new bahaviour.
That said, I got rid of my nested 1 :/2 :
construct (I didn’t mention that yet)
and tried replacing m and n by x and y
but to no avail.
Am 27.02.20 um 01:37 schrieb 'Pascal Jasmin' via Programming:
u or m will be the argument to A. x and y arguments to resulting verb.
it sounds as though you may be trying to do
A =: 1 : 'x u~ x V y' NB. a valid dyadic adverb in j9
and this would be equivalent to
([ u~ V)
On Wednesday, February 26, 2020, 06:20:45 p.m. EST, Hauke Rehr
<hauke.r...@uni-jena.de> wrote:
Hello again,
I’m still confused about modifiers.
Please tell me where to find more information
that might aid in understanding how this works:
I have an adverb A and a verb V but sometimes
x and y for the derived verb for A are known
prior to the verb, so I want to write a modifier
something like this:
m (u A)~ m V n
I get a domain error which afaik is due to both
m and u being bound to the left noun.
So how would one go about this and where to find
further information on constructions like this?
--
----------------------
mail written using NEO
neo-layout.org
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm