Re: [Openocd-development] [PATCH 1/4] switch 'rm' command away from using Jim

2009-12-04 Thread Øyvind Harboe
I think this work will ultimately benefit the design and quality of code in OpenOCD. If someone wants to use a different language than Tcl, then I certainly don't want to take that away from them. I'm also confident that you see the advantages of choosing a single language in which to ship target

Re: [Openocd-development] [PATCH 1/4] switch 'rm' command away from using Jim

2009-12-04 Thread Zach Welch
On Fri, 2009-12-04 at 11:38 +0100, Øyvind Harboe wrote: > >> There would have to be some huge advantage or some > >> robust way of getting retesting done. > > > > Actually... there's a very simple idea: heterogeneous language support. > > To me that sounds like a disadvantage. I like the simplicit

Re: [Openocd-development] [PATCH 1/4] switch 'rm' command away from using Jim

2009-12-04 Thread Øyvind Harboe
>> There would have to be some huge advantage or some >> robust way of getting retesting done. > > Actually... there's a very simple idea: heterogeneous language support. To me that sounds like a disadvantage. I like the simplicity and confines of jim tcl. >> Your improved design can facilitate s

Re: [Openocd-development] [PATCH 1/4] switch 'rm' command away from using Jim

2009-12-04 Thread Zach Welch
On Fri, 2009-12-04 at 10:39 +0100, Øyvind Harboe wrote: > On Fri, Dec 4, 2009 at 10:31 AM, Zach Welch wrote: > > On Fri, 2009-12-04 at 07:48 +0100, Øyvind Harboe wrote: > >> On Fri, Dec 4, 2009 at 3:04 AM, Zachary T Welch > >> wrote: > >> > Commands that do not need to use Jim should be register

Re: [Openocd-development] [PATCH 1/4] switch 'rm' command away from using Jim

2009-12-04 Thread Øyvind Harboe
On Fri, Dec 4, 2009 at 10:31 AM, Zach Welch wrote: > On Fri, 2009-12-04 at 07:48 +0100, Øyvind Harboe wrote: >> On Fri, Dec 4, 2009 at 3:04 AM, Zachary T Welch >> wrote: >> > Commands that do not need to use Jim should be registered as >> > high-level command handlers. >> >> Why is that? >> >> N

Re: [Openocd-development] [PATCH 1/4] switch 'rm' command away from using Jim

2009-12-04 Thread Zach Welch
On Fri, 2009-12-04 at 07:48 +0100, Øyvind Harboe wrote: > On Fri, Dec 4, 2009 at 3:04 AM, Zachary T Welch > wrote: > > Commands that do not need to use Jim should be registered as > > high-level command handlers. > > Why is that? > > Nb! "ls" *does* need to use jim to return a list of directory

Re: [Openocd-development] [PATCH 1/4] switch 'rm' command away from using Jim

2009-12-03 Thread Øyvind Harboe
On Fri, Dec 4, 2009 at 3:04 AM, Zachary T Welch wrote: > Commands that do not need to use Jim should be registered as > high-level command handlers. Why is that? Nb! "ls" *does* need to use jim to return a list of directory names used by other jim commands. -- Øyvind Harboe US toll free 1-866-

[Openocd-development] [PATCH 1/4] switch 'rm' command away from using Jim

2009-12-03 Thread Zachary T Welch
Commands that do not need to use Jim should be registered as high-level command handlers. Signed-off-by: Zachary T Welch --- src/helper/ioutil.c | 29 +++-- 1 files changed, 11 insertions(+), 18 deletions(-) diff --git a/src/helper/ioutil.c b/src/helper/ioutil.c index