[Oberon] Easter eggs in Oberon
hklaver at dds.nl
Sun Apr 12 09:36:47 CEST 2020
It is indeed the asterisk that I had in mind. That was easy.
I counted its use as export mark as one use case. But you found one that I forgot (interrupt procedure), and you mention one that I don't know: boot module: could you give an example and a place where we can find it?
With those two the number of Easter Eggs to be found has risen to eleven!
So far you found:
1. integer multiplication operator
2. real multiplication operator
3. set intersection operator
4. export mark
5. interrupt procedure
6. boot module (?)
So still 5 to go.
> On 12 apr. 2020, om 06:45 heeft Joerg <joerg.straube at iaeth.ch> wrot:
> What about this one?
> 10 use cases of *
> int mult, real mult, set intersect, boot module, const export, type export, field export, var export, proc export, interrupt proc
>> Am 12.04.2020 um 06:19 schrieb Joerg <joerg.straube at iaeth.ch>:
>> Here two symbols that come to my mind:
>> 7 uses cases of END:
>> RECORD, IF, CASE, WHILE, FOR, procedure, module
>> 9 use cases of ;
>> module, import, const, type, fieldlist, var, proceduredecl, formalparam, statementseq
>>> Am 12.04.2020 um 00:47 schrieb Hans Klaver <hklaver at dds.nl>:
>>> *Easter eggs* (sort of) in Oberon.
>>> There is one operator/symbol that Niklaus Wirth seems to be particularly fond of, because in Oberon it fulfils no less than 9 different uses.
>>> Question 1. Do you know which operator/symbol is meant?
>>> Question 2. Can you name at least 8 different uses for this symbol?
>>> Extra credits if you can find the 9th use, which is a bit extraneous, but can be found in the book Project Oberon.
>>> Hans Klaver
>>> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
> Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
More information about the Oberon