, January 04, 2012 12:23 PM
To: Programming forum
Subject: Re: [Jprogramming] Turning verbs to and from strings
There is a workaround, namely applying the atomic representation (5!:1) and
then applying the string representation (5!:5) to *that.* (The inverse is
execute, and then applying 5!:0 to *that
ust/033231.html
>
>
> From: programming-boun...@jsoftware.com [programming-boun...@jsoftware.com]
> On Behalf Of Ian Clark [earthspo...@gmail.com]
> Sent: Tuesday, January 03, 2012 10:18 PM
> To: Programming forum
> Subject: Re: [Jprogramming] Turning verbs to
...@jsoftware.com] On
Behalf Of Ian Clark [earthspo...@gmail.com]
Sent: Tuesday, January 03, 2012 10:18 PM
To: Programming forum
Subject: Re: [Jprogramming] Turning verbs to and from strings
Yes, that's my understanding about 5!:5 too.
> Am I missing something important?
Yes you are missing s
Yes, that's my understanding about 5!:5 too.
> Am I missing something important?
Yes you are missing something important ...to me.
I guess you're puzzled by repnoun in:
repn=: 3 : 0
NB. Re-inputtable represn of item (y)
if. 'NB.' -: 3{. y do. y return. end. NB. output a comment as-is
I believe that
name,'=: ',5!:5 wrote:
> If you're writing your own IDE for J, then see sample code at:
> http://www.jsoftware.com/jwiki/IanClark/LoBrow
>
> LoBrow makes a legible char array from not just an explicit verb but
> any J word. To do that it handles each case separately. See the ve
If you're writing your own IDE for J, then see sample code at:
http://www.jsoftware.com/jwiki/IanClark/LoBrow
LoBrow makes a legible char array from not just an explicit verb but
any J word. To do that it handles each case separately. See the verb:
repn (which mainly uses 5!:5), called by: item2
f1=: verb define
'line 1'
'line 2'
'line 3'
'line 4'
'line 5'
)
m=: 0 : 0
'lina 1'
'lina 2'
'lina 3'
'lina 4'
'lina 5'
)
f1
3 : 0
'line 1'
'line 2'
'line 3'
'line 4'
'line 5'
)
m
'lina 1'
'lina 2'
'lina 3'
'lina 4'
'lina 5'
a=.5!:5 <'f1'
a
3 : 0
'line 1'
'line 2'
'line 3'
'line
Linear representation (5!5) of a name is probably closest to []CR and there
are several ways to convert the text back to a definition, the most obvious
is Explicit (:).
On Sat, Dec 31, 2011 at 8:50 AM, Blake McBride wrote:
> Greetings,
>
> More than 25 years ago I wrote an IDE for APL. At the c
Hi Blake,
I think that the use of gerunds might be the solution. Henry Rich gives a
really good description of how Tie, Agenda and gerunds work together.
http://www.jsoftware.com/help/jforc/loopless_code_iv_irregular_o.htm#_Toc191734391
If you haven't looked at Henry's book before, look through i
Greetings,
More than 25 years ago I wrote an IDE for APL. At the core what I did
(which I don't remember how now) is that I executed something to turn
an APL function into a character matrix. I would then edit it with me
IDE editing facility. When I saved the edited function it would turn
the e
10 matches
Mail list logo