How hard would it be to reimplement openocd, as a whole, as a library that does everything except implement main(), load config files, and provide a telnet server?
That way it could be wrapped to provide the current capability very easily and a python extension module could be easily written to service it from that side. I have embedded Python and written extension modules before, so I could probably make a rudimentary implementation. Is that something I ought to pursue? > -----Original Message----- > From: Peter Stuge [mailto:[email protected]] > Sent: Monday, February 27, 2012 5:43 PM > To: [email protected] > Subject: Re: [OpenOCD-devel] Scripting languages > > Tomek CEDRO wrote: > > > > wish i could help, but i am no tcl expert either. > > > > > > Does anyone feel very strongly against replacing jimtcl with say lua? > > > > Why not Python? It would add far more new possibilities rather than > > just another scripting language... :-) > > I like Python. But it is a pretty big step up in size and complexity > from Lua. Also, integration between C and Python is not very common, > while Lua was designed and implemented for that exact scenario from > the ground up. > > I know exactly one other open source project which mixes C and Python > (sigrok) and it's not so effortless for them. > > > //Peter > > ------------------------------------------------------------------------------ > Try before you buy = See our experts in action! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-dev2 > _______________________________________________ > OpenOCD-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/openocd-devel ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
