Draft XML library now available

Kevin Reid <[email protected]>
Newsgroups gmane.comp.lang.e.general
Message-ID <[email protected]>
On Feb 12, 2010, at 10:55, Thomas Leonard wrote:
> On Mon, 2010-02-01 at 11:49 -0500, Kevin Reid wrote:
>> It exists in a not-yet-published Git repository.
>>
>> I would have gotten it cleaned up and available, but schoolwork and a
>> cold have wiped out my free time/enthusiasm for the past week. Sorry!
>
> No problem; I've make a temporary (string-based) one which we're using
> while the proper version is being developed:
>
> http://barooga.it-innovation.soton.ac.uk/cgi-bin/gitweb.cgi?p=labs/e-prototype;a=blob;f=src/main/e/gria/tools/xml.emaker;h=41b1281450570c2deb7c18b0e259fdfcc7aca2a9;hb=e9105f9e46db8680a3843cbafe9dae73e0d6cdec

The not-yet-published repository is now published, at <git://switchb.org/e-xml 
 >.

(I haven't set up gitweb or other browsing due to lack of time to  
research and do so. In fact, I didn't really have the time to do what  
I've just done to get this code working such that it does a reasonable  
amount, but ...)

The code is *VERY* rough, badly-factored, and it probably isn't  
actually good for much yet. Tell me what you need immediately, and/or  
provide patches!

(I'm guessing the answer will be "value-holes in XML literals".)

Here's how I run the test cases:

$ rlwrap rune -cpa classpath
? rune(["/path/to/updoc.e", "test"])

(By the way, your code will fail to generate proper results if the XML  
literal contains a "$" since it doesn't unescape them in substitute/1.)

-- 
Kevin Reid                                  <http://switchb.org/kpreid/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.