Re: [xml] libxml2 XPath port to ECMAScript
- From: Stefano Debenedetti <ste demaledetti net>
- To: xml gnome org
- Subject: Re: [xml] libxml2 XPath port to ECMAScript
- Date: Sat, 30 Oct 2004 19:19:10 +0200
Hello,
Daniel Veillard ha scritto:
[...]
It's kind of cool. How did you convert the C code to JS ? manually or
using some automated process ?
Unfortunately not much automation.. some search and replaces did most of the job, with some by hand
adaptations...
Yet a semiautomated port would not be impossible, the syntax is not the problem here, most of the pain came
from the specific domain being tricky to deal with in ECMAScript i.e. the fact that there are some low level
string and character set handling parts that you just have to demand to the underlying String implementation
and deciding what and where is hard to automate (and to get right by itself in the first place).
Thanks, ciao
ste
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]