From: Arjen M. <Arj...@de...> - 2019-04-08 08:12:51
|
Hi Andy, There are several modules within Tcllib that have C-based accelerations - json and struct are two examples. I suggest you use the approach applied there to model your C-version of argparse on. Regards, Arjen -----Original Message----- From: Andy Goth <and...@gm...> Sent: 08 April 2019 08:29 To: tcl...@li... Subject: [Tcllib-devel] pipeline and argparse I'd like to put my pipeline package into Tcllib, but it depends on my argparse package which is not in Tcllib. It may seem like the obvious solution is to also put argparse into Tcllib, but I'm not sure how well that will work with my long-term goals for argparse. Right now argparse is written in pure Tcl 8.6, but once I knock out the rest of my interface-relevant ideas, I want to reimplement it in C to be a loadable extension with a stubs-enabled C API. That makes me think it should be its own TEA-compliant project rather than a Tcllib module, but then if I don't put argparse into Tcllib, I shouldn't put pipeline or other packages that depend on argparse into Tcllib either. Guidance? Thoughts? https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.tcl-lang.org%2Fpage%2Fpipeline%23853e5dc13add203ce4b75e513189e8f07dc4af458b61e91ce34c3afea8c1e210&data=02%7C01%7C%7C3d2c52339aca4d86f86408d6bbeb780d%7C15f3fe0ed7124981bc7cfe949af215bb%7C0%7C1%7C636903017351072710&sdata=gstUnlodUhpkXyL9eSiyurpAkxKOqfHvtO7SVPSFHR8%3D&reserved=0 https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwiki.tcl-lang.org%2Fpage%2Fargparse&data=02%7C01%7C%7C3d2c52339aca4d86f86408d6bbeb780d%7C15f3fe0ed7124981bc7cfe949af215bb%7C0%7C1%7C636903017351082719&sdata=hx0v51TkM8iDmsnmtxX8ZLsgnWBDyoJjWyxUaZ47BnE%3D&reserved=0 -- Andy Goth | <andrew.m.goth/at/gmail/dot/com> _______________________________________________ Tcllib-devel mailing list Tcl...@li... https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Ftcllib-devel&data=02%7C01%7C%7C3d2c52339aca4d86f86408d6bbeb780d%7C15f3fe0ed7124981bc7cfe949af215bb%7C0%7C1%7C636903017351082719&sdata=lwmryFJZSmIAyZezfP5nsGPeFMigYnkEE3V%2FiO8RtXI%3D&reserved=0 DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. |