This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using XML in GDB?


> From: Jim Blandy <jimb@red-bean.com>
>> 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.

- sorry, thought the objective only likely necessitated a static parse of
  a hierarchical definition composed of likely just strings and integers.

> 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.

- I'm admittedly partial to scheme.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]