[Oberon] [EXT] Re: Potential New Approach to Implement Instance-Centered OOP in Oberon-07
Chris Burrows
cfbsoftware at gmail.com
Sun Oct 11 23:01:05 CEST 2026
On Sun, Oct 11, 2026 at 9:03 PM August Karlstrom <fusionfile at gmail.com>
wrote:
> In the thread ChatGPT says
>
> "In Oberon-07, a record extension identifies its base using a record
> type identifier, not a pointer type identifier.
>
> Consequently:
>
> ExtendedDesc = RECORD (P)
>
> is illegal."
>
> On the other hand, in section 26.1 of "An Oberon Compiler for the ARM
> Processor" Niklaus Wirth says
>
> "Again, the rules of Oberon help with an abbreviation. It is, for
> example, possible to specify, using P0 instead of R0
>
> TYPE P0 = POINTER TO RECORD a, b: INTEGER END
> TYPE P1 = POINTER TO RECORD (P0) c, d: INTEGER END
> "
>
> https://people.inf.ethz.ch/wirth/Oberon/Oberon.ARM.Compiler.pdf
>
> /August
>
Yes - that abbreviation was a feature of the Oberon ARM compiler that
didn't make it into the eventual official Oberon-07 Language Report.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20261012/5544e44a/attachment.html>
More information about the Oberon
mailing list