guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What can I do to help?


From: Rob Browning
Subject: Re: What can I do to help?
Date: Sun, 13 Oct 2002 11:50:26 -0500
User-agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2 (i386-pc-linux-gnu)

Rob Browning <address@hidden> writes:

> Tom Lord <address@hidden> writes:
>
>> How about, instead of adding to the size of guile and the number of
>> primitive types, a filter program that translates between XML and
>> s-expressions?
>
> You won't get any argument from me.

One thing I did forget to mention that's probably key here, is that
while for some tasks a a trivial XML->sexp conversion might be great,
it isn't all that desirable for others, esp where large files are
concerned.  XML docs are usually organized as one giant tree, and so
if you have a 30MB data file, you may not want to have to convert it
*in-memory* to a giant ??MB sexp just so you can search it to find
some bank deposit (or whatever) on 2002-10-23.

With the libxml approach, you can (painfully) arrange for callbacks so
that you can incrementally parse the document and only capture as much
content as you need.

-- 
Rob Browning
rlb @defaultvalue.org, @linuxdevel.com, and @debian.org
Previously @cs.utexas.edu
GPG=1C58 8B2C FB5E 3F64 EA5C  64AE 78FE E5FE F0CB A0AD




reply via email to

[Prev in Thread] Current Thread [Next in Thread]