> Linda
>
> -Original Message-
> From: programming-boun...@jsoftware.com
> [mailto:programming-boun...@jsoftware.com] On Behalf Of Roger Hui
> Sent: Friday, March 09, 2012 1:35 AM
> To: Programming forum
> Subject: Re: [Jprogramming] Sequential Machine
>
> x wa
alue error: x
Linda
-Original Message-
From: programming-boun...@jsoftware.com
[mailto:programming-boun...@jsoftware.com] On Behalf Of Roger Hui
Sent: Friday, March 09, 2012 1:35 AM
To: Programming forum
Subject: Re: [Jprogramming] Sequential Machine
x was defined in my msg; it was:
Here's a little puzzle. What is the third example doing?
state=: 3 2 2$ 1 1 2 1 1 1 2 2
(0;state;mailto:programming-boun...@jsoftware.com] On Behalf Of Linda Alvord
Sent: Thursday, March 08, 2012 9:30 PM
To: 'Programming forum'
Subject: Re: [Jprogramming] Sequential Machine
> 2.57016e_5
>
> -Original Message-
> From: programming-boun...@jsoftware.com
> [mailto:programming-boun...@jsoftware.com] On Behalf Of Roger Hui
> Sent: Thursday, March 08, 2012 10:05 PM
> To: Programming forum
> Subject: Re: [Jprogramming] Sequential Machine
>
>
3 2 2$ 1 1 2 1 2 0 2 2 1 0 2 2
S=:0;state;mailto:programming-boun...@jsoftware.com] On Behalf Of Roger Hui
Sent: Thursday, March 08, 2012 10:05 PM
To: Programming forum
Subject: Re: [Jprogramming] Sequential Machine
Yes it is. The example looks strange because the first character of a is
&q
Yes it is. The example looks strange because the first character of a is
"a", not normally used as a separator. If the first character is a blank
(say), then it looks more normal. e.g.
state=: 3 2 2$ 1 1 2 1 2 0 2 2 1 0 2 2
a=: ' a good way to start the day'
(0;state;
> Roger, I'm n
a Alvord
Sent: Thursday, March 08, 2012 9:30 PM
To: 'Programming forum'
Subject: Re: [Jprogramming] Sequential Machine
Roger, I'm not sure that this is what you had in mind.
a=:'a good way to start the day'
<;.1 a
-T--
o:programming-boun...@jsoftware.com] On Behalf Of Roger Hui
Sent: Monday, February 27, 2012 10:04 PM
To: Programming forum
Subject: Re: [Jprogramming] Sequential Machine
Yes, and your mission, should you decide to accept it, is to program this
function (let's say <;.1 y where ' '={.y) us
You should think of the application of ;: as an atomic operation.
You can, however, run it multiple times.
--
Raul
On Tue, Feb 28, 2012 at 4:42 AM, Steven Taylor wrote:
> just checking, is there a way to generate additional inputs (or internal
> state) when the machine enters certain states?
>
just checking, is there a way to generate additional inputs (or internal
state) when the machine enters certain states?
When I last looked at the sequential machine, I figured that it only
responded to static input + planned to come back to it.
-Steven
> Date: Mon, 27 Feb 2012 19:04:03 -0800
> From: Roger Hui
> Subject: Re: [Jprogramming] Sequential Machine
> To: Programming forum
> Message-ID:
>
> Content-Type: text/plain; charset=KOI8-R
>
> Yes, and your mission, should you decide to accept it, is t
> L--+-++---+--++-
>
>
> -Original Message-
> From: programming-boun...@jsoftware.com
> [mailto:programming-boun...@jsoftware.com] On Behalf Of Roger Hui
> Sent: Monday, February 27, 2012 1:22 PM
> To: Programming forum
> Subject: Re: [Jprogramm
rt │the │day │
L--+-++---+--++-
-Original Message-
From: programming-boun...@jsoftware.com
[mailto:programming-boun...@jsoftware.com] On Behalf Of Roger Hui
Sent: Monday, February 27, 2012 1:22 PM
To: Programming forum
Subject: Re: [Jprogramming] Sequential Machine
The one thing that drove home for me the efficacy of the dyad ;:, is that
an implementation <;.1 y as a sequential machine was within a factor of 2
(something like that) of the primitive <;.1 y. I hand-coded the latter in
C and devoted much effort to it.
On Mon, Feb 27, 2012 at 9:49 AM, Raul Mi
I went through the wiki, with a text search on sequential machine,
looking for pages that might be of use here.
The first page I examined (working up from the bottom on my list of
plausible candidates) was
http://www.jsoftware.com/jwiki/Guides/Language%20FAQ/J%20BNF?highlight=%28sequential%29%7C%
cisely twice. On both occasions as the fill char in a
>> histogram.
>>
>> I guess an APL counterpart of (;:) would have suffered the same fate.
>> Not many people know how to program a Turing Machine nowadays. (But it
>> has a great future in biocomputing.)
>>
>&
;>
>> I guess an APL counterpart of (;:) would have suffered the same fate.
>> Not many people know how to program a Turing Machine nowadays. (But it
>> has a great future in biocomputing.)
>>
>> On Sat, Feb 25, 2012 at 4:57 PM, David Ward Lambert
>> wro
> On Sat, Feb 25, 2012 at 4:57 PM, David Ward Lambert
> wrote:
>>
>>> From: Don Guinn
>>> Subject: [Jprogramming] Sequential Machine
>>> To: Programming forum
>>> Message-ID:
>>>
>>
>> I finally decided to "maste
y people know how to program a Turing Machine nowadays. (But it
has a great future in biocomputing.)
On Sat, Feb 25, 2012 at 4:57 PM, David Ward Lambert
wrote:
>
>> From: Don Guinn
>> Subject: [Jprogramming] Sequential Machine
>> To: Programming forum
>> Message-ID:
>&
> From: Don Guinn
> Subject: [Jprogramming] Sequential Machine
> To: Programming forum
> Message-ID:
>
I finally decided to "master" sequential machine. The report of my
experience is posted in the new vocabulary page
http://www.jsoftware.com/jwiki/Vocabu
Thank you! I have been bit by that error so many times. And it usually
takes me forever to find it.
On Sat, Feb 25, 2012 at 7:33 AM, Henry Rich wrote:
> Thanks. Your problem is the old 'x ; boxed y' error.
>
>(0;sj; +---+--+-+--+---+-+-+-+-+-+---+-+---+-+
> |sum|=.|(|i.|3 4|)|+|/|.|*|0j4|+|
Thanks. Your problem is the old 'x ; boxed y' error.
(0;sj; d332 for ;: in J Vocabulary. I didn't want to put all that in the mail, but
> here it is.
>
> mj=: 256$0 NB. X other
> mj=: 1 (9,a.i.' ')}mj NB. S space and tab
> mj=: 2 ((a.i.'Aa')+/i.26)}mj NB. A A-Z
d332 for ;: in J Vocabulary. I didn't want to put all that in the mail, but
here it is.
mj=: 256$0 NB. X other
mj=: 1 (9,a.i.' ')}mj NB. S space and tab
mj=: 2 ((a.i.'Aa')+/i.26)}mj NB. A A-Z a-z excluding N B
mj=: 3 (a.i.'N')}mjNB. N the letter N
mj=: 4
Where is this help, where sj and mj are defined?
Henry Rich
On 2/24/2012 7:25 PM, Don Guinn wrote:
> I've lost track of the number of times I have tried to make dyadic ;: work.
> I read it, understand it (I think), but I can't get it to work. The general
> description has m, the input mapping as
I've lost track of the number of times I have tried to make dyadic ;: work.
I read it, understand it (I think), but I can't get it to work. The general
description has m, the input mapping as a list of boxes, each box
containing the items to be mapped to the same number. So, in an attempt to
figure
@jsoftware.com] On Behalf Of Raul Miller
Sent: Monday, January 09, 2012 12:40 PM
To: Programming forum
Subject: Re: [Jprogramming] sequential machine
Something strange is going on, here:
(0 ; (,: ,: 0 6) ) ;: 1
|index error
| (0;(,:,:0 6));:1
(0 ; (,: ,: 0 6) ) ;: 1
(0
Something strange is going on, here:
(0 ; (,: ,: 0 6) ) ;: 1
|index error
| (0;(,:,:0 6));:1
(0 ; (,: ,: 0 6) ) ;: 1
(0 ; (,: ,: 0 6) ) ;: 1
(0 ; (,: ,: 0 6) ) ;: 1
(0 ; (,: ,: 0 6) ) ;: 1
(0 ; (,: ,: 0 6) ) ;: 1
|index error
| (0;(,:,:0 6));:1
(0 ; (,:
Simple machine to stop. Action 6 means "halt".
Please explain why index error does not occur with y=. 1 .
Also, preprocessing precludes reasonable request.
(0 ; (,: ,: 0 6) ) ;: 0 NB. by default, an integer is its class
NB. y=. 1 succeeds!
(0 ; (,: ,: 0 6) ) ;: 1 NB. there are a
28 matches
Mail list logo