[Oberon] SYSTEM Modules
dsar at eml.cc
Sat Nov 10 16:11:41 CET 2018
> Consequently I’m thinking of implementing an extension to the Astrobe Oberon-07 compilers. This will allow low-level modules to be specified by prefixing the keyword MODULE with the keyword SYSTEM (similarly to the DEFINITION and IMPLEMENTATION module prefixes in Modula-2). Such system modules would allow / require any SYSTEM objects to be referenced unqualified.
It's more similar to what Modula-3 adopted for this. Modules that are going to use unsafe procedures/functions must place UNSAFE before the keyword MODULE or INTERFACE.
> Any comments?
In my opinion it's a good solution.
More information about the Oberon