This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Using XML in GDB?
On Sat, Jan 28, 2006 at 08:27:42PM -0800, Jim Blandy wrote:
> On 1/28/06, Paul Schlie <schlie@comcast.net> wrote:
> > > From: Jim Blandy <jimb@red-bean.com>
> > > I think if you're going to have structured data, something like
> > > XML or ASN.1 is the way to go. (I'd actually prefer to say "lisp
> > > s-expressions", but then nobody would speak to me any more. :) )
> >
> > - Actually I'd have thought s-expression structured data would be a
> > vastly superior choice relative either perverted (IMHO) alternative.
>
> S-expressions are great if you've already got a lisp interpreter
> around. If GDB had Guile integrated into it, making all this work
> would be so easy we'd barely bother to have a conversation about it.
> But our audience is more comfortable with Python, Ruby, and Perl; I
> think a syntax that is well-supported by those tools is a better
> choice.
>
> It was a toss-off joke; I didn't mean to distract attention from
> Daniel's proposal. We can have a GDB extension language discussion on
> a separate thread, if people are interested.
For the record, I've implemented most of Guile integration on a lark
once; I wouldn't say it would make anything quite that easy, though :-)
We were still lacking the bits to make extension languages useful, at
the time, and somewhat still today. Once that's fixed, I anticipate
sprouting Guile, Python, and updated Perl bindings all at about the
same time.
--
Daniel Jacobowitz
CodeSourcery