On 29.04.2012 18:40, Jacob Carlborg wrote:


1 + 2
foo bar foo_bar

Would be translated to:

1.+(2)
foo.bar(foo_bar)

That is a very general way to handle operators and let the user create
new operators, not just overloading existing ones.


warning(1): Smalltalk detected! [use -foop-only to ignore]

Operator precedence would get real tricky (or stupid just like in Smalltalk).


--
Dmitry Olshansky

Reply via email to