> But is there a reason that the KVC for the variable names
> and references to super could not be easily done in the compiler?
No. It's just that it is not implemented yet.
> Each F-Script class could have a base class, either an objective-C
> class or a previously defined Smalltalk class and two additional
> dictionaries for added member variables and methods. If you then hook
> into the compiler, KVC for the variables could be done automatically
> and super would be available as well. The compiler would just have to
> distinguish if it is still at the Smalltalk layer for resolving
> symbols or already at the boundary to Objective-C.
> Does that make sense?
Yes. However, given that the Objective-C runtime offers support for dynamically creating classes (with instance variables), adding methods and
so on, I think it would be better to use it directly.
Philippe
|