Menu

#25 Reorganize the method class.

4.0
closed
None
5
2012-08-14
2007-11-01
No

The method class is a front end for different types of methods. Currently, we have several forms of internal native method, external native code methods, and rexxcode. The information for invoking the first form is stored in the method object directly, while the 2nd and 3rd forms are represented by code objects. The Method class should be reorganized so that code objects are used for all method types, with particular code objects optimized to the particular type of invocation. This is provide better encapsulation, and make it easier to introduce new methods types in to the interpreter.

Discussion

  • Ruurd Idenburg

    Ruurd Idenburg - 2007-11-01

    Logged In: YES
    user_id=1847232
    Originator: NO

    ... and perhaps pave the way for some introspection/reflection?

     
  • Rick McGuire

    Rick McGuire - 2007-11-01

    Logged In: YES
    user_id=1125291
    Originator: YES

    These are internal changes only, and are not features that will show up at the language level.

     
  • Rick McGuire

    Rick McGuire - 2007-12-29

    Logged In: YES
    user_id=1125291
    Originator: YES

    Committed revision 1858.

     

Anonymous
Anonymous

Add attachments
Cancel