[Oberon] NEW with anonymous records

Diego Sardina dsar at eml.cc
Tue Feb 20 20:54:16 CET 2018


On Tue, Feb 20, 2018, at 6:45 PM, Andreas Pirklbauer wrote:
> > Just to clarify, this is a restriction of
> > the PO 2013 compiler, and not something
> > which is specified in the language report.
> 
> The language report has indeed not been updated. The
> second sentence in section 6.4. still reads “it must
> be a record type” and not “.. a named record type"

Andreas, it's the reverse.
Project Oberon 2013 mainly implements a version of Oberon-07 report released during 2011, it's the code that hasn't been updated.
The only features added during 2013 were the typecase and byte, the rest of the compiler is out of sync.

The implementation is also full of missing feature due to the (over-)simplification of the compiler or because Wirth didn't really feel necessary to update the compiler, but that doesn't mean it's not part of Oberon-07.
Just to say one, for example in PO2013 booleans can't be compared due to the complication in the code generator, but Oberon-07 report states that they can be compared. It is not something Wirth is going to remove from the report.




More information about the Oberon mailing list