Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

I find you lack of faith in the forth dithturbing. -- Darse ("Darth") Vader


devel / comp.lang.mumps / Re: X11.1-1995 TSTART ambiguity

SubjectAuthor
* X11.1-1995 TSTART ambiguitychocolat...@gmail.com
`* Re: X11.1-1995 TSTART ambiguityed de moel
 `* Re: X11.1-1995 TSTART ambiguityed de moel
  `- Re: X11.1-1995 TSTART ambiguityed de moel

1
X11.1-1995 TSTART ambiguity

<b30297ce-ed06-4a87-995d-30ed0f2a8f30n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=449&group=comp.lang.mumps#449

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:a05:620a:17a3:b0:6bb:3f5b:4cd5 with SMTP id ay35-20020a05620a17a300b006bb3f5b4cd5mr33481550qkb.337.1662400933917;
Mon, 05 Sep 2022 11:02:13 -0700 (PDT)
X-Received: by 2002:a05:620a:271f:b0:6b9:3b62:c67e with SMTP id
b31-20020a05620a271f00b006b93b62c67emr33226307qkp.164.1662400933349; Mon, 05
Sep 2022 11:02:13 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.mumps
Date: Mon, 5 Sep 2022 11:02:12 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=98.249.88.158; posting-account=khhikwoAAABpchtXmASjFLUt6CMZYy_c
NNTP-Posting-Host: 98.249.88.158
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b30297ce-ed06-4a87-995d-30ed0f2a8f30n@googlegroups.com>
Subject: X11.1-1995 TSTART ambiguity
From: chocolatejollis38@gmail.com (chocolat...@gmail.com)
Injection-Date: Mon, 05 Sep 2022 18:02:13 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2935
 by: chocolat...@gmail.co - Mon, 5 Sep 2022 18:02 UTC

The 1995 standard around TSTART says restartarguments can be one of the following:

lname
(L lname)
* ()

This implies you can have:
1) a single local name
2) a list of local names in parens
3) an asterisk, meaning to save off all local variables
4) an empty set of parens, to save no local variables

As I see it, this implies one of:

1: the first option should have been "L lname", for inclusive operation, and the omission of the preceding "L" is an error

2: inclusive operation is limited to a single variable, but you can have a list for exclusive operation

3: there is no exclusive form of restartarguments, and parens are just there to encapsulate a list of inclusive variables

Another part of the standard has this text, explaining the operation of a restart:

The frame at the top of the PROCESS-STACK is examined. If the frame's linked list of CONTEXT-STRUCTUREs contains entries, they are processed in last-in-first-out order from their creation. If the CONTEXT-STRUCTURE is exclusive, all entries in the currently active local variable NAME-TABLE are pointed to empty DATA-CELLs. In all cases, the CONTEXT-STRUCTURE NAME-TABLEs are copied to the currently active NAME-TABLEs.

This implies that scenario 1 is the case.

However, the 1995 Standard MUMPS Pocket Guide from VistA Expertise Network, in its section on TSTART, seems to reinforce either scenario 2 or scenario 3, but makes no mention of any exclusive form.

GT.M and YottaDB seem to support both "L lname" and "(L lname)", but both appear to behave identically to each other.

Also, I find it amusing that the standard discusses a "linked list of CONTEXT-STRUCTURES", but also says it doesn't imply an implementation method, when linked lists are incontrovertibly an implementation method.

Can any former MDC-ers shed some light?

Re: X11.1-1995 TSTART ambiguity

<c38f1f57-64f3-43ec-9fb9-dc69677a7139n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=450&group=comp.lang.mumps#450

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:a05:622a:164b:b0:344:513b:ffc0 with SMTP id y11-20020a05622a164b00b00344513bffc0mr41534706qtj.350.1662406699932;
Mon, 05 Sep 2022 12:38:19 -0700 (PDT)
X-Received: by 2002:a05:620a:4482:b0:6bb:c315:9597 with SMTP id
x2-20020a05620a448200b006bbc3159597mr33652118qkp.423.1662406699751; Mon, 05
Sep 2022 12:38:19 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.mumps
Date: Mon, 5 Sep 2022 12:38:19 -0700 (PDT)
In-Reply-To: <b30297ce-ed06-4a87-995d-30ed0f2a8f30n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=71.174.62.16; posting-account=j7lJmQoAAADTx0Apfk15DZ7D0qlYy4zv
NNTP-Posting-Host: 71.174.62.16
References: <b30297ce-ed06-4a87-995d-30ed0f2a8f30n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c38f1f57-64f3-43ec-9fb9-dc69677a7139n@googlegroups.com>
Subject: Re: X11.1-1995 TSTART ambiguity
From: eddemoel@gmail.com (ed de moel)
Injection-Date: Mon, 05 Sep 2022 19:38:19 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 22
 by: ed de moel - Mon, 5 Sep 2022 19:38 UTC

On Monday, September 5, 2022 at 2:02:14 PM UTC-4, chocolat...@gmail.com wrote:
> The 1995 standard around TSTART says restartarguments can be one of the following:
>
> lname
> (L lname)
> *
> ()
>
> This implies you can have:
> 1) a single local name
> 2) a list of local names in parens
> 3) an asterisk, meaning to save off all local variables
> 4) an empty set of parens, to save no local variables
>

As with all other commands in the language, the comma separates command-arguments.
Thus, if the first would have been allowed to be a list (also separated by commas), that would work quite differently:
TSTART A,B,C
would be equivalent to
TSTART A TSTART B TSTART C

Hope this helps
Ed

Re: X11.1-1995 TSTART ambiguity

<78a673f7-4a44-4d6e-b93b-0e7c25463da9n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=451&group=comp.lang.mumps#451

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:ae9:e404:0:b0:6bb:d8c0:381c with SMTP id q4-20020ae9e404000000b006bbd8c0381cmr34044458qkc.459.1662415060695;
Mon, 05 Sep 2022 14:57:40 -0700 (PDT)
X-Received: by 2002:a37:9acd:0:b0:6bb:2112:4716 with SMTP id
c196-20020a379acd000000b006bb21124716mr34909507qke.650.1662415060533; Mon, 05
Sep 2022 14:57:40 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.mumps
Date: Mon, 5 Sep 2022 14:57:40 -0700 (PDT)
In-Reply-To: <c38f1f57-64f3-43ec-9fb9-dc69677a7139n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=71.174.62.16; posting-account=j7lJmQoAAADTx0Apfk15DZ7D0qlYy4zv
NNTP-Posting-Host: 71.174.62.16
References: <b30297ce-ed06-4a87-995d-30ed0f2a8f30n@googlegroups.com> <c38f1f57-64f3-43ec-9fb9-dc69677a7139n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <78a673f7-4a44-4d6e-b93b-0e7c25463da9n@googlegroups.com>
Subject: Re: X11.1-1995 TSTART ambiguity
From: eddemoel@gmail.com (ed de moel)
Injection-Date: Mon, 05 Sep 2022 21:57:40 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1389
 by: ed de moel - Mon, 5 Sep 2022 21:57 UTC

I didn't quite say that right...
The general format of commands would imply that TSTART A,B,C is equivalent to three TSTART commands, and thus would require three TCOMMITs to complete the "nested" transactions.

Re: X11.1-1995 TSTART ambiguity

<a9568bca-1f27-4867-b42a-25cc21f0a374n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=452&group=comp.lang.mumps#452

  copy link   Newsgroups: comp.lang.mumps
X-Received: by 2002:ac8:5ad2:0:b0:344:90e7:410f with SMTP id d18-20020ac85ad2000000b0034490e7410fmr5749136qtd.625.1662594208308;
Wed, 07 Sep 2022 16:43:28 -0700 (PDT)
X-Received: by 2002:a05:622a:138f:b0:344:4ff1:f98f with SMTP id
o15-20020a05622a138f00b003444ff1f98fmr5380880qtk.59.1662594208151; Wed, 07
Sep 2022 16:43:28 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.mumps
Date: Wed, 7 Sep 2022 16:43:27 -0700 (PDT)
In-Reply-To: <78a673f7-4a44-4d6e-b93b-0e7c25463da9n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=71.174.62.16; posting-account=j7lJmQoAAADTx0Apfk15DZ7D0qlYy4zv
NNTP-Posting-Host: 71.174.62.16
References: <b30297ce-ed06-4a87-995d-30ed0f2a8f30n@googlegroups.com>
<c38f1f57-64f3-43ec-9fb9-dc69677a7139n@googlegroups.com> <78a673f7-4a44-4d6e-b93b-0e7c25463da9n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <a9568bca-1f27-4867-b42a-25cc21f0a374n@googlegroups.com>
Subject: Re: X11.1-1995 TSTART ambiguity
From: eddemoel@gmail.com (ed de moel)
Injection-Date: Wed, 07 Sep 2022 23:43:28 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1730
 by: ed de moel - Wed, 7 Sep 2022 23:43 UTC

Come to think of it, there are differences between
TSTART A,B,C
and
TSTART (A,B,C)

Consider the sequence of commands:
TSTART A,B,C
--- some code that modifies local variables A, B and C
TRESTART

Remember that TSTART A,B,C is the same as TSTART A TSTART B TSTART C:
The TRESTART command will restart the part of the transaction that was initiated with TSTART C,
which means that local variables A and B will not be reset, but local variable C will...

Hope this clarifies,
Ed

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor