From: swedebugia <swedebugia@riseup.net>
To: Timothy Sample <samplet@ngyro.com>
Cc: guix-devel <guix-devel@gnu.org>
Subject: Re: Help with match
Date: Fri, 10 May 2019 17:44:58 +0200 [thread overview]
Message-ID: <6702094e-88bf-ffa1-3f07-9734f79b18ab@riseup.net> (raw)
In-Reply-To: <87ftpm76wf.fsf@ngyro.com>
[-- Attachment #1.1: Type: text/plain, Size: 874 bytes --]
On 2019-05-10 15:53, Timothy Sample wrote:
> My guess is that you don’t mean to have that “dependencies” symbol
> in the input.
>
> I was just about to send this, but there’s another issue! The
> “synopsis-line” form has five elements, but the pattern “(_ val)” will
> only match a two-element list. Should the “An async HTTP client” part
> should be a string?
>
> Hope that helps and good luck with the importer!
Thanks a lot for looking at this. 🙂
After writing this email I realized I need to change the peg-patterns to
1) output a string for multiple output
2) match the structure metadata-ref procedure in opam.scm so I dont have
to fiddle with the matcher.
The parsing of asd-files has proven to be a big challenge because of the
diversity of the files (tabs, spaces, different prefix, etc.)
--
Cheers Swedebugia
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
prev parent reply other threads:[~2019-05-10 15:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-09 10:04 Help with match swedebugia
2019-05-10 13:53 ` Timothy Sample
2019-05-10 15:44 ` swedebugia [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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6702094e-88bf-ffa1-3f07-9734f79b18ab@riseup.net \
--to=swedebugia@riseup.net \
--cc=guix-devel@gnu.org \
--cc=samplet@ngyro.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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).