I''ve just released the 1.6.1 beta 4. This new versions brings the support for operator overloading, partly at least. The operators that can be overloaded are all the binary operators, except compound assignments. The unary operators and the compound assignments will be supported in the next versions to come soon.
I''m a bit pressed on time right now and I don''t know how much you all know about AngelScript already, so instead of me trying to explain what''s new to someone that has never heard of AngelScript before I''ll just open this thread for questions. So, any questions you have, about new or old features, just fire away.
I saw in your mailing list that single line console command mode on your TO-DO list. I used a cheap trick to do that. each time a console command is executed, I dump it in a function and recompile/execute.
Yes, that is what I currently recommend. Others do the same thing already. But it is not very efficient, and hopefully the scripting engine will soon have native support for one-liners
It would basically do what you''re doing now, put the line in a script function, compile it (without removing the old code) and then run the function. All before returning from the method call. I''m just thinking about how I should do about any return value.