[Oberon] FPGA - Simple OOP example

Jörg joerg.straube at iaeth.ch
Thu Aug 16 05:49:29 CEST 2018


I just wanted to show how to implement (a kind of) type-bound OOP in Oberon-07 :-)
Jörg

> Am 16.08.2018 um 00:30 schrieb Skulski, Wojciech <skulski at pas.rochester.edu>:
> 
> Just to make it clear, we are discussing the original Oberon instance-bound OOP rather than the Oberon-2 type-bound OOP. I know that there is no type bound OOP in Oberon-07. 
> 
> Throwing away Oberon-2 was a religious decision, was it not?
> 
> W  
> ________________________________________
> From: Oberon [oberon-bounces at lists.inf.ethz.ch] on behalf of Jörg [joerg.straube at iaeth.ch]
> Sent: Wednesday, August 15, 2018 3:35 PM
> To: ETH Oberon and related systems
> Subject: Re: [Oberon] FPGA - Simple OOP example
> 
> Yes, you’re sbsolutely right.
> In my first version I had
> TYPE Methods = RECORD Write... END
> 
> And then only in the second version, I changed to
> TYPE Methods = POINTER TO MDesc;
> and I forgot to change m := methods to m^ := methods^
> 
> Jörg
> 
> --
> 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