Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

linux: the choice of a GNU generation (ksh@cis.ufl.edu put this on Tshirts in '93)


computers / comp.os.vms / Re: Oberon-2 on VMS

SubjectAuthor
* Oberon-2 on VMSArne Vajhøj
`* Re: Oberon-2 on VMSArne Vajhøj
 `* Re: Oberon-2 on VMSChris Townley
  +* Re: Oberon-2 on VMSArne Vajhøj
  |`* Re: Oberon-2 on VMSChris Townley
  | `- Re: Oberon-2 on VMSArne Vajhøj
  `* Re: Oberon-2 on VMSBen Lambert
   `- Re: Oberon-2 on VMSChris Townley

1
Oberon-2 on VMS

<tolct1$4o1$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26088&group=comp.os.vms#26088

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Oberon-2 on VMS
Date: Thu, 29 Dec 2022 19:54:54 -0500
Organization: Aioe.org NNTP Server
Message-ID: <tolct1$4o1$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Info: gioia.aioe.org; logging-data="4865"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Arne Vajhøj - Fri, 30 Dec 2022 00:54 UTC

Probably not something in great demand.

:-)

But here it is how to get it working:

1) get Gardens Point Component Pascal (despite the name
then it is Oberon-2) for JVM version 1.3.16 (that version
works on VMS Alpha not just VMS Itanium)
2) move to VMS and unpack
3) stuff gpcp.com and gpcpdef.com in the bin dir (files
are below)
4) @gpcpdef

gpcp.com

$ ctx = f$environment("PROCEDURE")
$ jroot = "/" + f$parse(ctx,,,"DEVICE") - ":"
$ temp = f$parse(ctx,,,"DIRECTORY") - "[" - "]"
$ ix = 0
$ loop:
$ part = f$element(ix, ".", temp)
$ jroot = jroot + "/" + part
$ ix = ix + 1
$ if part .nes. "gpcp-JVM" then goto loop
$ endloop:
$ if f$file("''p2'.cp","rfm") .nes. "STMLF"
$ then
$ write sys$output "Converting ''p2'.cp to RFM:STMLF"
$ convert /fdl="record; format stream_lf" 'p2'.cp 'p2'.cp
$ endif
$ if p1 .eqs. "COMPILE" then java
"-DCPSYM=.:''jroot'/libs:''jroot'/libs/JvmSystem" -cp .:'jroot'
"CP.gpcp.gpcp" "''p2'.cp"
$ if p1 .eqs. "RUN" then java
"-DCPSYM=.:''jroot'/libs:''jroot'/libs/JvmSystem" -cp .:'jroot'
"CP.''p2'.''p2'" 'p3' 'p4 'p5' 'p6' 'p
7 'p8'
$ exit

gpcpdef.com

$ ctx = f$environment("PROCEDURE")
$ loc = f$parse(ctx,,,"DEVICE") + f$parse(ctx,,,"DIRECTORY")
$ define/nolog gpcpbinpath 'loc'
$ gpcpc :== @gpcpbinpath:gpcp compile
$ gpcp :== @gpcpbinpath:gpcp run
$ exit

Arne

Re: Oberon-2 on VMS

<tolcv6$4o1$2@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26089&group=comp.os.vms#26089

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: Oberon-2 on VMS
Date: Thu, 29 Dec 2022 19:56:03 -0500
Organization: Aioe.org NNTP Server
Message-ID: <tolcv6$4o1$2@gioia.aioe.org>
References: <tolct1$4o1$1@gioia.aioe.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="4865"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Arne Vajhøj - Fri, 30 Dec 2022 00:56 UTC

On 12/29/2022 7:54 PM, Arne Vajhøj wrote:
> Probably not something in great demand.
>
> :-)
>
> But here it is how to get it working:
>
> 1) get Gardens Point Component Pascal (despite the name
>    then it is Oberon-2) for JVM version 1.3.16 (that version
>    works on VMS Alpha not just VMS Itanium)
> 2) move to VMS and unpack
> 3) stuff gpcp.com and gpcpdef.com in the bin dir (files
>    are below)
> 4) @gpcpdef

$ type Hello.cp
MODULE Hello;
IMPORT CPmain, Console;

BEGIN
Console.WriteString("Hello world!");
Console.WriteLn;
END Hello.
$ gpcpc "Hello"
#gpcp: <Hello> No errors
$ gpcp "Hello"
Hello world!
$ type Fac.cp
MODULE Fac;
IMPORT CPmain, Console;

PROCEDURE F(n : INTEGER) : INTEGER;

BEGIN
IF n < 2 THEN
RETURN 1;
ELSE
RETURN n * F(n - 1);
END;
END F;

PROCEDURE Test(upplim : INTEGER);

VAR
i : INTEGER;

BEGIN
FOR i := 1 TO upplim DO
Console.WriteInt(i, 1);
Console.WriteString(" : ");
Console.WriteInt(F(i),1);
Console.WriteLn;
END;
END Test;

BEGIN
Test(8);
END Fac.
$ gpcpc "Fac"
#gpcp: <Fac> No errors
$ gpcp "Fac"
1 : 1
2 : 2
3 : 6
4 : 24
5 : 120
6 : 720
7 : 5040
8 : 40320

Arne

Re: Oberon-2 on VMS

<ton2b0$ljmr$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26093&group=comp.os.vms#26093

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: new...@cct-net.co.uk (Chris Townley)
Newsgroups: comp.os.vms
Subject: Re: Oberon-2 on VMS
Date: Fri, 30 Dec 2022 16:06:55 +0000
Organization: A noiseless patient Spider
Lines: 82
Message-ID: <ton2b0$ljmr$1@dont-email.me>
References: <tolct1$4o1$1@gioia.aioe.org> <tolcv6$4o1$2@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 30 Dec 2022 16:06:56 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="2054ebf3baf3b532a229c9c6b0c211aa";
logging-data="708315"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+U6EW7EKT88bJPV8D6AxxliZcSErrTvds="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Cancel-Lock: sha1:Z2ZoIwAlLdvukbLw2SUBlfjdMdI=
Content-Language: en-GB
In-Reply-To: <tolcv6$4o1$2@gioia.aioe.org>
 by: Chris Townley - Fri, 30 Dec 2022 16:06 UTC

On 30/12/2022 00:56, Arne Vajhøj wrote:
> On 12/29/2022 7:54 PM, Arne Vajhøj wrote:
>> Probably not something in great demand.
>>
>> :-)
>>
>> But here it is how to get it working:
>>
>> 1) get Gardens Point Component Pascal (despite the name
>>     then it is Oberon-2) for JVM version 1.3.16 (that version
>>     works on VMS Alpha not just VMS Itanium)
>> 2) move to VMS and unpack
>> 3) stuff gpcp.com and gpcpdef.com in the bin dir (files
>>     are below)
>> 4) @gpcpdef
>
> $ type Hello.cp
> MODULE Hello;
>   IMPORT CPmain, Console;
>
> BEGIN
>   Console.WriteString("Hello world!");
>   Console.WriteLn;
> END Hello.
> $ gpcpc "Hello"
> #gpcp: <Hello> No errors
> $ gpcp "Hello"
> Hello world!
> $ type Fac.cp
> MODULE Fac;
>   IMPORT CPmain, Console;
>
> PROCEDURE F(n : INTEGER) : INTEGER;
>
> BEGIN
>   IF n < 2 THEN
>     RETURN 1;
>   ELSE
>     RETURN n * F(n - 1);
>   END;
> END F;
>
> PROCEDURE Test(upplim : INTEGER);
>
> VAR
>   i : INTEGER;
>
> BEGIN
>   FOR i := 1 TO upplim DO
>     Console.WriteInt(i, 1);
>     Console.WriteString(" : ");
>     Console.WriteInt(F(i),1);
>     Console.WriteLn;
>   END;
> END Test;
>
> BEGIN
>   Test(8);
> END Fac.
> $ gpcpc "Fac"
> #gpcp: <Fac> No errors
> $ gpcp "Fac"
> 1 : 1
> 2 : 2
> 3 : 6
> 4 : 24
> 5 : 120
> 6 : 720
> 7 : 5040
> 8 : 40320
>
> Arne
>
>

Sounds interesting.

Any idea where to get the alpha version of java, and how to install?

--
Chris

Re: Oberon-2 on VMS

<ton805$12r6$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26096&group=comp.os.vms#26096

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: Oberon-2 on VMS
Date: Fri, 30 Dec 2022 12:43:28 -0500
Organization: Aioe.org NNTP Server
Message-ID: <ton805$12r6$1@gioia.aioe.org>
References: <tolct1$4o1$1@gioia.aioe.org> <tolcv6$4o1$2@gioia.aioe.org>
<ton2b0$ljmr$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="35686"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
X-Notice: Filtered by postfilter v. 0.9.2
Content-Language: en-US
 by: Arne Vajhøj - Fri, 30 Dec 2022 17:43 UTC

On 12/30/2022 11:06 AM, Chris Townley wrote:
> On 30/12/2022 00:56, Arne Vajhøj wrote:
>> On 12/29/2022 7:54 PM, Arne Vajhøj wrote:
>>> Probably not something in great demand.
>>>
>>> :-)
>>>
>>> But here it is how to get it working:
>>>
>>> 1) get Gardens Point Component Pascal (despite the name
>>>     then it is Oberon-2) for JVM version 1.3.16 (that version
>>>     works on VMS Alpha not just VMS Itanium)
>>> 2) move to VMS and unpack
>>> 3) stuff gpcp.com and gpcpdef.com in the bin dir (files
>>>     are below)
>>> 4) @gpcpdef

> Sounds interesting.
>
> Any idea where to get the alpha version of java, and how to install?

It used to be available from HPE. But all VMS is probably gone from
HPE web site.

It was a PCSI kit so just PROD INSTALL.

Arne

Re: Oberon-2 on VMS

<ton8oi$mu43$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26097&group=comp.os.vms#26097

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: new...@cct-net.co.uk (Chris Townley)
Newsgroups: comp.os.vms
Subject: Re: Oberon-2 on VMS
Date: Fri, 30 Dec 2022 17:56:33 +0000
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <ton8oi$mu43$1@dont-email.me>
References: <tolct1$4o1$1@gioia.aioe.org> <tolcv6$4o1$2@gioia.aioe.org>
<ton2b0$ljmr$1@dont-email.me> <ton805$12r6$1@gioia.aioe.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 30 Dec 2022 17:56:34 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="2054ebf3baf3b532a229c9c6b0c211aa";
logging-data="751747"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/rhMoz+VytQy8e8QPIf1Websp/JAg/UAk="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Cancel-Lock: sha1:Qkb5izij+xBRfZTTA0eyhl7v+dk=
In-Reply-To: <ton805$12r6$1@gioia.aioe.org>
Content-Language: en-GB
 by: Chris Townley - Fri, 30 Dec 2022 17:56 UTC

On 30/12/2022 17:43, Arne Vajhøj wrote:
> On 12/30/2022 11:06 AM, Chris Townley wrote:
>> On 30/12/2022 00:56, Arne Vajhøj wrote:
>>> On 12/29/2022 7:54 PM, Arne Vajhøj wrote:
>>>> Probably not something in great demand.
>>>>
>>>> :-)
>>>>
>>>> But here it is how to get it working:
>>>>
>>>> 1) get Gardens Point Component Pascal (despite the name
>>>>     then it is Oberon-2) for JVM version 1.3.16 (that version
>>>>     works on VMS Alpha not just VMS Itanium)
>>>> 2) move to VMS and unpack
>>>> 3) stuff gpcp.com and gpcpdef.com in the bin dir (files
>>>>     are below)
>>>> 4) @gpcpdef
>
>> Sounds interesting.
>>
>> Any idea where to get the alpha version of java, and how to install?
>
> It used to be available from HPE. But all VMS is probably gone from
> HPE web site.
>
> It was a PCSI kit so just PROD INSTALL.
>
> Arne

Correct, the HPE address is not found. Shame that VSI don't publish it!

--
Chris

Re: Oberon-2 on VMS

<ton9id$1sc1$1@gioia.aioe.org>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26098&group=comp.os.vms#26098

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!aioe.org!LeVffQP25j5GAigzc2gaQA.user.46.165.242.75.POSTED!not-for-mail
From: arn...@vajhoej.dk (Arne Vajhøj)
Newsgroups: comp.os.vms
Subject: Re: Oberon-2 on VMS
Date: Fri, 30 Dec 2022 13:10:16 -0500
Organization: Aioe.org NNTP Server
Message-ID: <ton9id$1sc1$1@gioia.aioe.org>
References: <tolct1$4o1$1@gioia.aioe.org> <tolcv6$4o1$2@gioia.aioe.org>
<ton2b0$ljmr$1@dont-email.me> <ton805$12r6$1@gioia.aioe.org>
<ton8oi$mu43$1@dont-email.me>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: gioia.aioe.org; logging-data="61825"; posting-host="LeVffQP25j5GAigzc2gaQA.user.gioia.aioe.org"; mail-complaints-to="abuse@aioe.org";
User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Content-Language: en-US
X-Notice: Filtered by postfilter v. 0.9.2
 by: Arne Vajhøj - Fri, 30 Dec 2022 18:10 UTC

On 12/30/2022 12:56 PM, Chris Townley wrote:
> On 30/12/2022 17:43, Arne Vajhøj wrote:
>> On 12/30/2022 11:06 AM, Chris Townley wrote:
>>> On 30/12/2022 00:56, Arne Vajhøj wrote:
>>>> On 12/29/2022 7:54 PM, Arne Vajhøj wrote:
>>>>> Probably not something in great demand.
>>>>>
>>>>> :-)
>>>>>
>>>>> But here it is how to get it working:
>>>>>
>>>>> 1) get Gardens Point Component Pascal (despite the name
>>>>>     then it is Oberon-2) for JVM version 1.3.16 (that version
>>>>>     works on VMS Alpha not just VMS Itanium)
>>>>> 2) move to VMS and unpack
>>>>> 3) stuff gpcp.com and gpcpdef.com in the bin dir (files
>>>>>     are below)
>>>>> 4) @gpcpdef
>>
>>> Sounds interesting.
>>>
>>> Any idea where to get the alpha version of java, and how to install?
>>
>> It used to be available from HPE. But all VMS is probably gone from
>> HPE web site.
>>
>> It was a PCSI kit so just PROD INSTALL.
>
> Correct, the HPE address is not found. Shame that VSI don't publish it!

VSI dropped the Java they got from HP and switched to OpenJDK.

I don't think any details was ever given.

But I have always assumed that HP/HPE had a commercial Java
license agreement with SUN/Oracle covering VMS, HP-UX
and NonSTOP. And that VSI found it easier to grab
practically the same code base under GPL with classpath
exception in the form of OpenJDK than to do a commercial
agreement with Oracle. And that OpenJDK did have an
Itanium JIT but not an Alpha JIT. So no OpenJDK for
VMS Alpha.

Arne

Re: Oberon-2 on VMS

<9e141dba-b977-43fd-b317-564018ed3cb5n@googlegroups.com>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26144&group=comp.os.vms#26144

  copy link   Newsgroups: comp.os.vms
X-Received: by 2002:ac8:47cb:0:b0:3ab:652f:504e with SMTP id d11-20020ac847cb000000b003ab652f504emr1463122qtr.277.1672744402278;
Tue, 03 Jan 2023 03:13:22 -0800 (PST)
X-Received: by 2002:a05:620a:800e:b0:6ff:924d:1e25 with SMTP id
ee14-20020a05620a800e00b006ff924d1e25mr2290564qkb.657.1672744401931; Tue, 03
Jan 2023 03:13:21 -0800 (PST)
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.os.vms
Date: Tue, 3 Jan 2023 03:13:21 -0800 (PST)
In-Reply-To: <ton2b0$ljmr$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=80.189.45.169; posting-account=mJahXQoAAACxrKfDnazsvPmZUsaKI_HB
NNTP-Posting-Host: 80.189.45.169
References: <tolct1$4o1$1@gioia.aioe.org> <tolcv6$4o1$2@gioia.aioe.org> <ton2b0$ljmr$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9e141dba-b977-43fd-b317-564018ed3cb5n@googlegroups.com>
Subject: Re: Oberon-2 on VMS
From: drbenlam...@gmail.com (Ben Lambert)
Injection-Date: Tue, 03 Jan 2023 11:13:22 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3305
 by: Ben Lambert - Tue, 3 Jan 2023 11:13 UTC

On Friday, 30 December 2022 at 16:07:01 UTC, Chris Townley wrote:
> On 30/12/2022 00:56, Arne Vajhøj wrote:
> > On 12/29/2022 7:54 PM, Arne Vajhøj wrote:
> >> Probably not something in great demand.
> >>
> >> :-)
> >>
> >> But here it is how to get it working:
> >>
> >> 1) get Gardens Point Component Pascal (despite the name
> >> then it is Oberon-2) for JVM version 1.3.16 (that version
> >> works on VMS Alpha not just VMS Itanium)
> >> 2) move to VMS and unpack
> >> 3) stuff gpcp.com and gpcpdef.com in the bin dir (files
> >> are below)
> >> 4) @gpcpdef
> >
> > $ type Hello.cp
> > MODULE Hello;
> > IMPORT CPmain, Console;
> >
> > BEGIN
> > Console.WriteString("Hello world!");
> > Console.WriteLn;
> > END Hello.
> > $ gpcpc "Hello"
> > #gpcp: <Hello> No errors
> > $ gpcp "Hello"
> > Hello world!
> > $ type Fac.cp
> > MODULE Fac;
> > IMPORT CPmain, Console;
> >
> > PROCEDURE F(n : INTEGER) : INTEGER;
> >
> > BEGIN
> > IF n < 2 THEN
> > RETURN 1;
> > ELSE
> > RETURN n * F(n - 1);
> > END;
> > END F;
> >
> > PROCEDURE Test(upplim : INTEGER);
> >
> > VAR
> > i : INTEGER;
> >
> > BEGIN
> > FOR i := 1 TO upplim DO
> > Console.WriteInt(i, 1);
> > Console.WriteString(" : ");
> > Console.WriteInt(F(i),1);
> > Console.WriteLn;
> > END;
> > END Test;
> >
> > BEGIN
> > Test(8);
> > END Fac.
> > $ gpcpc "Fac"
> > #gpcp: <Fac> No errors
> > $ gpcp "Fac"
> > 1 : 1
> > 2 : 2
> > 3 : 6
> > 4 : 24
> > 5 : 120
> > 6 : 720
> > 7 : 5040
> > 8 : 40320
> >
> > Arne
> >
> >
> Sounds interesting.
>
> Any idea where to get the alpha version of java, and how to install?
>
> --
> Chris

I still have it, I've shared it in my Google Drive here for you:

https://drive.google.com/file/d/1NBzcwC1VmxgdB0jbLNMH2VnEMVzInmD8/view?usp=sharing

HTH

Ben.

Re: Oberon-2 on VMS

<tp12vh$23p29$1@dont-email.me>

  copy mid

https://www.novabbs.com/computers/article-flat.php?id=26145&group=comp.os.vms#26145

  copy link   Newsgroups: comp.os.vms
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: new...@cct-net.co.uk (Chris Townley)
Newsgroups: comp.os.vms
Subject: Re: Oberon-2 on VMS
Date: Tue, 3 Jan 2023 11:19:11 +0000
Organization: A noiseless patient Spider
Lines: 97
Message-ID: <tp12vh$23p29$1@dont-email.me>
References: <tolct1$4o1$1@gioia.aioe.org> <tolcv6$4o1$2@gioia.aioe.org>
<ton2b0$ljmr$1@dont-email.me>
<9e141dba-b977-43fd-b317-564018ed3cb5n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 3 Jan 2023 11:19:13 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="56cfd2da0c724583cd8aa1bc8188c98b";
logging-data="2221129"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX196kcH3H5xUkiDBPZ4WyMtkAZRnEab0SDo="
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.6.1
Cancel-Lock: sha1:1cVFkoPEPX8hwdD8jj1FDR1NdsQ=
Content-Language: en-GB
In-Reply-To: <9e141dba-b977-43fd-b317-564018ed3cb5n@googlegroups.com>
 by: Chris Townley - Tue, 3 Jan 2023 11:19 UTC

On 03/01/2023 11:13, Ben Lambert wrote:
> On Friday, 30 December 2022 at 16:07:01 UTC, Chris Townley wrote:
>> On 30/12/2022 00:56, Arne Vajhøj wrote:
>>> On 12/29/2022 7:54 PM, Arne Vajhøj wrote:
>>>> Probably not something in great demand.
>>>>
>>>> :-)
>>>>
>>>> But here it is how to get it working:
>>>>
>>>> 1) get Gardens Point Component Pascal (despite the name
>>>> then it is Oberon-2) for JVM version 1.3.16 (that version
>>>> works on VMS Alpha not just VMS Itanium)
>>>> 2) move to VMS and unpack
>>>> 3) stuff gpcp.com and gpcpdef.com in the bin dir (files
>>>> are below)
>>>> 4) @gpcpdef
>>>
>>> $ type Hello.cp
>>> MODULE Hello;
>>> IMPORT CPmain, Console;
>>>
>>> BEGIN
>>> Console.WriteString("Hello world!");
>>> Console.WriteLn;
>>> END Hello.
>>> $ gpcpc "Hello"
>>> #gpcp: <Hello> No errors
>>> $ gpcp "Hello"
>>> Hello world!
>>> $ type Fac.cp
>>> MODULE Fac;
>>> IMPORT CPmain, Console;
>>>
>>> PROCEDURE F(n : INTEGER) : INTEGER;
>>>
>>> BEGIN
>>> IF n < 2 THEN
>>> RETURN 1;
>>> ELSE
>>> RETURN n * F(n - 1);
>>> END;
>>> END F;
>>>
>>> PROCEDURE Test(upplim : INTEGER);
>>>
>>> VAR
>>> i : INTEGER;
>>>
>>> BEGIN
>>> FOR i := 1 TO upplim DO
>>> Console.WriteInt(i, 1);
>>> Console.WriteString(" : ");
>>> Console.WriteInt(F(i),1);
>>> Console.WriteLn;
>>> END;
>>> END Test;
>>>
>>> BEGIN
>>> Test(8);
>>> END Fac.
>>> $ gpcpc "Fac"
>>> #gpcp: <Fac> No errors
>>> $ gpcp "Fac"
>>> 1 : 1
>>> 2 : 2
>>> 3 : 6
>>> 4 : 24
>>> 5 : 120
>>> 6 : 720
>>> 7 : 5040
>>> 8 : 40320
>>>
>>> Arne
>>>
>>>
>> Sounds interesting.
>>
>> Any idea where to get the alpha version of java, and how to install?
>>
>> --
>> Chris
>
> I still have it, I've shared it in my Google Drive here for you:
>
> https://drive.google.com/file/d/1NBzcwC1VmxgdB0jbLNMH2VnEMVzInmD8/view?usp=sharing
>
> HTH
>
> Ben.

Thanks, but I got it from Arne

Chris
--
Chris

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor