From mboxrd@z Thu Jan 1 00:00:00 1970 From: swedebugia Subject: Re: Help with match Date: Fri, 10 May 2019 17:44:58 +0200 Message-ID: <6702094e-88bf-ffa1-3f07-9734f79b18ab@riseup.net> References: <0e685f33-9404-1a4a-25c8-45e34cb21a58@riseup.net> <87ftpm76wf.fsf@ngyro.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="Qae7bkWIXTBS64yInXH90rKwLtDqam9vz" Return-path: Received: from eggs.gnu.org ([209.51.188.92]:33053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hP7f8-0003gN-Mk for guix-devel@gnu.org; Fri, 10 May 2019 11:42:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hP7f7-0002ko-R9 for guix-devel@gnu.org; Fri, 10 May 2019 11:42:18 -0400 Received: from mx1.riseup.net ([198.252.153.129]:55236) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hP7f7-0002iw-EB for guix-devel@gnu.org; Fri, 10 May 2019 11:42:17 -0400 In-Reply-To: <87ftpm76wf.fsf@ngyro.com> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Timothy Sample Cc: guix-devel This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Qae7bkWIXTBS64yInXH90rKwLtDqam9vz Content-Type: multipart/mixed; boundary="FCp3wMJdn0LneII83syx9PHksnLXV6yVA"; protected-headers="v1" From: swedebugia To: Timothy Sample Cc: guix-devel Message-ID: <6702094e-88bf-ffa1-3f07-9734f79b18ab@riseup.net> Subject: Re: Help with match References: <0e685f33-9404-1a4a-25c8-45e34cb21a58@riseup.net> <87ftpm76wf.fsf@ngyro.com> In-Reply-To: <87ftpm76wf.fsf@ngyro.com> --FCp3wMJdn0LneII83syx9PHksnLXV6yVA Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 2019-05-10 15:53, Timothy Sample wrote: > My guess is that you don=E2=80=99t mean to have that =E2=80=9Cdependenc= ies=E2=80=9D symbol > in the input. >=20 > I was just about to send this, but there=E2=80=99s another issue! The > =E2=80=9Csynopsis-line=E2=80=9D form has five elements, but the pattern= =E2=80=9C(_ val)=E2=80=9D will > only match a two-element list. Should the =E2=80=9CAn async HTTP clien= t=E2=80=9D part > should be a string? >=20 > Hope that helps and good luck with the importer! Thanks a lot for looking at this. =F0=9F=99=82 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.) --=20 Cheers Swedebugia --FCp3wMJdn0LneII83syx9PHksnLXV6yVA-- --Qae7bkWIXTBS64yInXH90rKwLtDqam9vz Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYIAB0WIQR6IWNlOiLn9hD6a1XPzUNbKAts0gUCXNWcgQAKCRDPzUNbKAts 0iAZAQCWcoLysD+g/Vr18tUsJfjwa1CnJQ609Uo0FUU3jmgJ0gD/TLNVAedZ2PTF pBOK0UJUk4Q41Wuu0vPD3KT6pXC/3Ac= =hyO2 -----END PGP SIGNATURE----- --Qae7bkWIXTBS64yInXH90rKwLtDqam9vz--