On Jun 29, 2009, at 12:28 PM, Danilo Freitas wrote:

> Hi,
>
> sorry for my delay.  I'm still with internet problems at home :(
>
>
> I'm a little inclined for a C++ syntax. I think the operators
> declaration on C++ syntax are more clearer. I always thought things
> like __add__, __getitem__, __setitem__ weird.
>
> It would also be clearer for the parser. When it see 'operator', it
> already knows what is to come, and check if the operator is in an
> "operator list".
>
> I think maybe we could also define operators outside a C++ class
> declaring block (like C++).

 >>> import this

> Allowing the complete C++ classes on Cython, bringing STL to it will
> be a simpler step.

Of course this does make references and reference semantics necessary  
before we get operator overloading in. Did you make a list of the  
pros/cons of each the two options?

- Robert

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to