Re: [BLACKBOX] BlackBox 1.6 final version - COMPLEX datatypes?

From: [at]} <Georgy>
Date: Sun, 5 Jul 2009 12:32:35 +0200


Hello Robert,
 
as far as I know there are some arguments, that overloading may not be easily conciliated with the modular design of BlackBox. That's why although language extensions to include overloading and structured returns might once and for all solve many problems, I have doubts these features would be introduced any time soon.

That's why I ask if there is any regular method to implement a very limited custom extension of the language, like introducing a new basic type. The overall structure of the language would then not be changed at all. An only difference would be a new pseudo-module like MathComplex, which would make a new type and new operations accessible. If BlackBox experts would say the implementation of such an extension would be as complex as to introduce operator overloading, then it would of course make no sense to try to implement new basic types separately. But if the efforts needed were not really extensive, custom extensions could possibly represent a viable solution.
 
And yes, I would be very interested to see your current complex library.
 
Georgy

On Sun, Jul 5, 2009 at 10:01 AM, Robert <robert.campbell_{([at]})nowhere.xy



Conclusion? Maybe there is not a universal agreement on what is a right
or good design, and so it would be better for the compiler NOT to implement
Complex, but to implement facilities (Overloading, Structured returns) that
facilitate external Complex libraries that can we written as required.




---- To unsubscribe, send a message with body "SIGNOFF BLACKBOX" to LISTSERV{([at]})nowhere.xy
Received on Sun Jul 05 2009 - 12:32:35 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:30:44 UTC