Hi Viktor,

Il 12/02/2009 19.17, Viktor Szakáts ha scritto:
We can even have these in parallel, and if we go this route, we should gather all these <dialect>_*() dialect prefixed functions in separate files (for clarity and future development), and user can easily map the one they need using "FUNC TTOS( x ) ; RETURN *_TTOS( x )" [ or with null overhead in C ], or even use them in parallel. Later we can move these dialect dependent implementations into separate libs, which would allow to use the original names, of course in this case collision may occur if someone links multiple one with such colliding names, but I don't this is a problem in practice.

This will open an interesting discussion on a possible namespace implementation, like Ron did in xharbour (but I never tried it and I don't know any implementation detail), that I think will be useful in some cases.
Obviously this is a future request possibly for harbour 2.0 ;-)
But I begin to thought to this thinking if it possible to create a *small* php wrapper to use in uHTTPD server (only an idea, I don't think to any implementation detail) where I can take a php source and paste it in a hrb module, but using activating a namespace functionality to redirect any function to a PHP_*() internal functions and have no collision with harbour/clipper namespace.

Just a thought.

Best regards,

Francesco
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to