Metaclasses and Reflection in Smalltalk

04/17/2018
by   Tony Clark, et al.
0

Many Object Oriented Programming Languages provide reflective features which may be used to control the interpretive mechanism of the language. Often these features are defined with respect to a golden braid consisting of objects classes and meta-classes. This report reviews the Smalltalk golden braid and generalize it for multiple inheritance leading to choices between many different inheritance strategies. The reflective features of Smalltalk cannot affect the basic mechanisms of inheritance and so an arbitrary choice must be made for multiple inheritance. A language is described in which the reflective features of Smalltalk are extended so as to allow programmer defined inheritance strategies.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/17/2021

Reducing Programs to Objects

C++, Java, C#, Python, Ruby, JavaScript are the most powerful object-ori...
research
10/01/2019

Mμl: The Power of Dynamic Multi-Methods

Multi-methods are a straightforward extension of traditional (single) dy...
research
01/04/2023

Implementation of hyperbolic complex numbers in Julia language

Background: Hyperbolic complex numbers are used in the description of hy...
research
08/19/2021

Svar: A Tiny C++ Header Brings Unified Interface for Multiple programming Languages

There are numerous types of programming languages developed in the last ...
research
11/01/2018

Algorithms for Runtime Generation of Homogeneous Classes of Objects

This paper contains analysis of main modern approaches to dynamic code g...
research
09/08/2017

Object-Oriented Knowledge Extraction using Universal Exploiters

This paper contains analysis and extension of exploiters-based knowledge...

Please sign up or login with your details

Forgot password? Click here to reset