Changes between Version 3 and Version 4 of MagnoliaCoreNotes


Ignore:
Timestamp:
Jul 9, 2009 6:07:00 PM (15 years ago)
Author:
valentin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MagnoliaCoreNotes

    v3 v4  
    1717}}}
    1818
     19B will not appear in the instantiated version. The reason is that everything is a template.
     20
    1921== Structured level ==
    2022
     
    3032call A.C_Int(foo);
    3133}}}
     34
     35Only "var"s and parameters appear in the resulting type. "def" members usually have argument, they are built only on demand, when there is a expression building an object. For example A is not a member of the root object. When you ask for "A.C_Int(foo)", a "A" is needed. Then it is instantiated then. The "C_Int(foo)" as well and will be marked as child of the new "A".
     36
     37The expression "A.C_Int(foo)" results on the instantiation of an object. But this object is also a frame. The "call" ask to call the function according to this frame.
    3238
    3339== C implementation ==