hagane/naggum — Issue #13: Instance CLR calls suck.
Author: ForNeVeR
Created: 2012-01-22 15:31:39+00:00
State: open

At current moment CLR instance calls is not implemented. The main cause is that we haven't yet approved syntax for instance calls. So, what syntax we will prefer?

I think, `(new Namespace.Class args)` is the best variant for the constructor call.

But what about general instance calls? `(objectVar MethodName args)` is natural for OO languages, but is not enough lispy. And this syntax implies dynamic dispatch that is also not good.

Maybe something like `(call objectVar MethodName args)`? Or even `(Namespace.Class.MethodName objectVar args)`? Let's discuss.