[Oberon] SystemV- Heap + Module Space]

Andreas Pirklbauer andreas_pirklbauer at yahoo.com
Sun Jan 6 09:08:57 CET 2019

    > If possible, the logic that maps error codes
    > onto error messages should be located in
    > the module where the error codes are defined.

Agreed in general. But it felt a little weird to move this
all the way down to the inner core, which is prelinked.
In this one case, the (outer core) module Oberon was
chosen, which can more easily be replaced (although in
in EO all modules can be dynamically replaced on the fly -
even inner core modules - while the system is running).

   > If all error codes have the same end result in the
    > clients, then you only need to export Modules.noerr.

Not so sure about that. Modules.Check (does reference
checking) also use error codes 0, 1, 2, ... These would need
to be changed to higher values then. Doable though.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20190106/2ca8f301/attachment.html>

More information about the Oberon mailing list