[Oberon] SYSTEM Modules

Skulski, Wojciech skulski at pas.rochester.edu
Sun Nov 11 05:22:23 CET 2018


Chris:

  I like your observation that all these VAL, ORD, CHAR, ASR, LSL and ROR are on an equal footing. Why should some of these be SYSTEM, while others not? All of them are meant for some low level manipulation. And we just learned that DIV and MOD can be much the same way.

I can see that DIV and MOD are primarily related to integer math, and their bit shifting functionality is a byproduct. So here I can see why DIV and MOD are operators and why they belong to the language. But all these other three letter acronyms? Why are they promoted to the language proper?

And do not forget this LED please! If there is LED then BEEP should also be there. Adding BEEP to the language would not look serious to me. 

So it would make sense to make a decision that all these three letter things (other than DIV and MOD) belong to SYSTEM rather than just a few of them.

Wojtek


More information about the Oberon mailing list