Challenge: solve this multiple inheritance problem in your favorite language

mw mingwu at gmail.com
Mon Sep 28 21:36:50 UTC 2020


FYI, I just uploaded SmartEiffel (open source) 1.1 compiler, and 
my previous visitor example to:

https://github.com/mingwugmail/dlang_tour/tree/master/eiffel

You can play with it.


Eiffel is a compiled static typed language. All the class's 
memory layout is know at compile time (as it's fully specified by 
the programmer in the source code).

BTW, many (if not all) Eiffel compilers actually compile Eiffel 
program to C (as target language).

And the generated C code of my example is:

https://github.com/mingwugmail/dlang_tour/blob/master/eiffel/visitor/app1.c

You can study it.



More information about the Digitalmars-d mailing list