From: Claude B. <Cla...@li...> - 2002-02-11 17:47:33
|
Haejoong Lee wrote: >>We're making use of the tcl binding just now. I'm wondering why it doesn't >>use namespaces, eg AG::CreateAG rather than AG_CreateAG? Is it too late to >>change this now, it would be useful to us in one respect, we're creating a >>version of the API that stores undo information for certain operations and >>having the API as a namespace might make it easier to override the API calls >>we want to save undo info for. >> > > I think I'm the person who is responsible for most of the suggestions. > I can't see exactly how "undo" stuff works. However, having a namespace > sounds great. To be honest, I didn't even know that Tcl support > namespace. I'm not a Tcl programmer :) Hi folks, I agree with Steve that using namespace would be more sensible for the Tcl implementation (even if not crucial). In fact, overriding Tcl calls by a modified version of the API for integration of undo was also the way I intended using AG into Transcriber (cf our LREC paper: http://www.etca.fr/CTA/gip/Projets/Transcriber/articles/Transcriber-LREC2000.ps.gz ) but it is still work in progress :-( Anyway Steve: I have also some Tcl code and tests on tracing AG modifs so I could share it... I only need to clean up a bit that piece of code! Best, Claude |