[Oberon] [EXT] Re: Potential New Approach to Implement Instance-Centered OOP in Oberon-07

Andras Pahi pahihu at gmail.com
Sun Oct 11 17:19:37 CEST 2026


 > 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

Done. It just took a few lines in ORP.Mod.
The example above works as expected.

Andras Pahi


More information about the Oberon mailing list