[Oberon] System V5 - SYSTEM.Mod creation

Jörg Straube joerg.straube at iaeth.ch
Sun Apr 17 08:45:27 CEST 2016


The compiler is always tied to the CPU. The compiler's modules Scanner (ORS) and Parser (ORP) are tied to the Oberon language. The module Generator (ORG) is tied to the CPU. So very roughly: when you have a new CPU, only ORG has to be replaced, but in reality unfortunately it's a little bit more complex...

Jörg

Am 17.04.2016 um 06:05 schrieb eas lab <lab.eas at gmail.com>:

>> Module SYSTEM uses the same syntax as "normal" modules, but the
>> implementation is provided directly by the compiler.
> 
>> Eg when you write SYSTEM.GET it's more like an embedded assembler statement
>> as the compiler will generate a Load instruction to get a word or a byte
>> from memory.
> 
> Wow ! Isn't that being too cleva ?
> Don't you lose modularity?
> The compiler is tied to the CPU architecture?
> Or you could have separate <plugin> modules for each architecture?
> 
> I can't afford to read the <book> to get an answer.
> Each extra *.pdf fetched contaminates the system.
> 
> == Chris Glur.
> --
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2380 bytes
Desc: not available
URL: <http://lists.inf.ethz.ch/pipermail/oberon/attachments/20160417/14386dc1/attachment.p7s>


More information about the Oberon mailing list