[Oberon] syntax in BB, CP, GPCP and V4 compared to Oberon-2.

Jörg joerg.straube at iaeth.ch
Thu Jul 20 07:35:34 CEST 2017


"Without any change" means that the language (syntax) and OS (module framework) are the same or a superset of the language and OS used by Sort.Mod

I had a look at Sort.Mod. As it imports "Objects" its written in System3 aka ETH Oberon. It will not compile in V4 aka Linz Oberon as module "Objects" does not exist in V4.

The heap sort routine and the FillText and FillArray is rather portable but where you would have to change most in the different Oberon incarnations is the whole IO part in "Sort" (getting arguments, opening windows and writing something into them)


> Am 20.07.2017 um 05:23 schrieb <peter at easthope.ca> <peter at easthope.ca>:
> From danforth at greenwoodfarm.com  Sun Jan 17 04:30:11 2016
>> ... I use BlackBox ... 
> From danforth at greenwoodfarm.com  Wed Jan 20 05:56:29 2016
>> A record (in Component Pascal which is a superset of Oberon-2) ...
> Now that the BB, CP, GPCP and V4 contexts are listed, 
> https://en.wikibooks.org/Oberon#Contexts , I'm interested  to shift 
> https://en.wikibooks.org/Oberon/Oberon.Sort.Mod to one of them.  Hans 
> Klaver mentioned the convention of italicizing comments and bolding 
> keywords.  What about syntax.  Which of the four is most similar to 
> Oberon-2?  Will Oberon.Sort compile in any of the four without change?
> Thanks,                     Lyall E.
> -- 
> 123456789 123456789 123456789 123456789 123456789 123456789 123456789
> Tel: +1 360 639 0202                      Pender Is.: +1 250 629 3757
> http://easthope.ca/Peter.html              Bcc: peter at easthope. ca
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon

More information about the Oberon mailing list