Smalltalk does not allow you to do calls of any kind, everything goes through the messaging system . To have the same in another language you will have to disable the ability to call functions and method and replace them with messages. No language such feature not even lisp, the language that excels at manipulating its syntax . In order to implement this you will have to go deep into the implementation of the language and essentially change it to something , probably a new programming language.


On Sun, 16 Oct 2016 at 15:35, CodeDmitry <dimamakhnin@gmail.com> wrote:
I define Magic as "An opaque abstraction or an abstraction you think is
opaque until you learn better.", to a beginner, everything is deeply
Magical.

That said, much of Smalltalk's opaqueness is not due to the language, but
due to me being a beginner. I'm sure there's a way to actually force sending
a message to a dictionary via something like dict['at:put:']('foo', 'bar')
but I am not familiar enough with Smalltalk to express it, so it feels like
the only way to send a message is via this multi-part message abstraction.






--
View this message in context: http://forum.world.st/How-do-Smalltalk-disambiguate-messages-tp4918946p4918966.html
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.