ELENA is a general-purpose language with late binding. It is multi-paradigm, combining features of functional and object-oriented programming. Rich set of tools are provided to deal with message dispatching : multi-methods, message qualifying, generic message handlers, run-time interfaces
In the following code
A class implements an interface IFoo. Interface typecasting method is :
It creates a proxy class $inline0 containing interface implementation method:
where jumpvi command is used which uses binary search to resolve a message.
A special class should be generated which resolve interface methods in run-time and directly jump to them.