From: Andy Wingo <wingo@igalia.com>
To: Hartmut Goebel <h.goebel@crazy-compilers.com>
Cc: Guix-devel <guix-devel@gnu.org>
Subject: Re: XPATH queries and manipulation in guile?
Date: Mon, 24 Apr 2017 10:55:24 +0200 [thread overview]
Message-ID: <cuczif6famb.fsf@igalia.com> (raw)
In-Reply-To: <3d31357c-7b67-cbe2-0f79-a8e76c8dc1c3@crazy-compilers.com> (Hartmut Goebel's message of "Sun, 23 Apr 2017 19:10:31 +0200")
On Sun 23 Apr 2017 19:10, Hartmut Goebel <h.goebel@crazy-compilers.com> writes:
> Yes, I've seen SXPath [4], but IMHO this usign this would *not* be a
> good choice: It would require packages to learn yet another path
> language, while when using XPath, the packagers could simply copy
> expressions from some fedora .spec-file. Additionally I find the
> documentation of SXpath hard to understand - for be frank: I did not get
> it at all.
The documentation is indeed terrible. This library is used by other
Schemes; we should see if we can steal their docs, if they are better.
However it's possible to use SXPath with the string syntax. I seem to
recall there's code out there to do that. We could incorporate into
Guile to just support the standard syntax. I think the way forward here
is to improve Guile's sxpath documentation, fixing whatever interfaces
are needed, and adding the xpath->selector function.
Andy
prev parent reply other threads:[~2017-04-24 8:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-23 17:10 XPATH queries and manipulation in guile? Hartmut Goebel
2017-04-24 8:55 ` Andy Wingo [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cuczif6famb.fsf@igalia.com \
--to=wingo@igalia.com \
--cc=guix-devel@gnu.org \
--cc=h.goebel@crazy-compilers.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.