From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Arne Babenhauserheide Newsgroups: gmane.lisp.readable-lisp,gmane.lisp.guile.user Subject: Re: wisp literal array syntax for Guile, a good idea? Date: Wed, 13 Dec 2017 18:29:33 +0100 Message-ID: <87vahabjts.fsf@web.de> References: <87mv3rgrwk.fsf@web.de> <098670CE-873B-4DCC-A111-A88044861BBD@gmail.com> <87k1yvglih.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2424911878117498498==" X-Trace: blaine.gmane.org 1513187316 13532 195.159.176.226 (13 Dec 2017 17:48:36 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 13 Dec 2017 17:48:36 +0000 (UTC) Cc: guile-user-mXXj517/zsQ@public.gmane.org, readable-discuss , Matt Wette To: Alan Manuel Gloria Original-X-From: readable-discuss-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Wed Dec 13 18:48:31 2017 Return-path: Envelope-to: glr-readable-discuss@m.gmane.org Original-Received: from lists.sourceforge.net ([216.34.181.88]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ePB8w-0003A8-Gg for glr-readable-discuss@m.gmane.org; Wed, 13 Dec 2017 18:48:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=sfs-ml-1.v29.ch3.sourceforge.com) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.89) (envelope-from ) id 1ePB92-0005LC-V1; Wed, 13 Dec 2017 17:48:36 +0000 Original-Received: from sfi-mx-3.v28.ch3.sourceforge.com ([172.29.28.193] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89) (envelope-from ) id 1ePB91-0005L6-Ep for readable-discuss-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org; Wed, 13 Dec 2017 17:48:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:MIME-Version:Message-ID:In-reply-to: Date:Subject:Cc:To:From:References:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=cUg4qPtu5IjUitIy+X2Jn/y8LAiVp8ZE14SQfPX8M1A=; b=YYYMS/WipKJg3lU0o/gn1cpgtB B1yKeDCapl53Hfl/qOjlsQuUptUskZ0AVrfAQwPjSGrP1lroO7qGe0YKEK2QCDhkY7HXP4JiKl6ll 3+6y4U0REAWU9CyTKbYwdC5zwKmeVFADUhZcuqLClwb5RmCTJM4zSXnS8R1f7b5mN1hQ=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:MIME-Version:Message-ID:In-reply-to:Date:Subject:Cc:To:From: References:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=cUg4qPtu5IjUitIy+X2Jn/y8LAiVp8ZE14SQfPX8M1A=; b=Xj0ZLSNA/2QFEivEUgO45Uds+A CBFEO0r9cKNJ1SNHeXzuq2OddXbOhQvYatQ+f5HLOvmOZAKKdiFL/3HAlsDQJZn148uUYhGr73IML rF3afHAEzmbzqvXhJas9SJxUiz74G8doEFxd0ti859Mg0clg41hys+zStMRqG1rleC1M=; Original-Received: from mout.web.de ([212.227.17.11]) by sfi-mx-3.v28.ch3.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89) id 1ePB90-00079Y-6d for readable-discuss-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org; Wed, 13 Dec 2017 17:48:35 +0000 Original-Received: from fluss ([85.212.116.66]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0Le4Lg-1eobKQ06Au-00ptZo; Wed, 13 Dec 2017 18:48:26 +0100 In-reply-to: X-Provags-ID: V03:K0:zN/hUPrXgzc3FLHN/R5ePbVmYxNmUAZ8zSMZ+sc9BD6oHG7ztSl TCpP8kZ526s4BxPjY5geB1pOJ/UC1/OD2lG7Qk2W7w0JE/Nx+VFFurDaZ1kiME2QE707cI5 ro+7r3PROWXQ3HoRcL5IY24AWmvttGHsehf6KFU0uZU1H7KnHAx+7f2op1r+nIvGBf0qzko I8v9E1y1rqGrHFdKxTaiA== X-UI-Out-Filterresults: notjunk:1;V01:K0:ttkq/cfVOV8=:Ua987L4JvasxfheJDg7XLq AIUq/EEKLD2AaKnQ6U3ykEcbP4aOLvtiUXvcO/XUUlt5Z36P902yRdQz6yjuzQdHifJTSDxQi FiX7af96NlBmhSE0SHCrJ+FLsFcSmBd0YI/PUssKAXu9SxvxJLHs1ZNz6AdBP2yOWCtAumz6G dwY2PMFKNPZwKftZUfZQotKjcVF18by5TD9H2wc0ne+mQuhhITKSUKzfObN9vMKgZ/5BXws31 aKo25eizE4o1MvL1ynlZrv/HpspT2uCWUos7NqiH9g+EF03DxSxoJ8ZPNLI3lwfHxoD+W+Zr3 tntaz3FtDQ5E8nMJEzphuX/Z8w2op2e+gcei25fkNq+NFg/CRXUVjl2761YnK4RDdTerP0VUG nmKJousMIe9N4GvGCVCdhNHTScexctN63k4PKKxdYjo/iUCIv5Mo7piqGe2CwMQJVnoDrThap Gy8On3XEfNldkShujcvsyFt75AVerPKtOStkL0FPgl7dQeQ0+phGx+pRZMpuBc3+8TpKLzqE1 8JalblWNNsB/S5mo5Yj4xeuGurDvP/JYOiLWObjaa+RtV3sAaTwdz4jwLFAKgaXHhxXZlZ+aA sz6gK1LjF2FGiYWVacQXY75vuBbIUp3hl29u1rKv4jFmVRjjy67Ci88CUVnBB898CY3KYhN6k Hj1rFX8X7bRBg1bkM4y7vLOa418jKlKJZ5rK7i3Mz8EkxsDAtj0iWoOqBNNTBAXaekH+GJw+K yumf2X/CzJ22V3Lfq2N3Ev5xAMwt8b4au0wKM0s2HbsX1VfFHAlFzoOnWtDHfpyaSjPVRiBR X-Headers-End: 1ePB90-00079Y-6d X-BeenThere: readable-discuss-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discuss how to make s-expressions more readable List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: readable-discuss-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Xref: news.gmane.org gmane.lisp.readable-lisp:1553 gmane.lisp.guile.user:14347 Archived-At: --===============2424911878117498498== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Alan, Thank you for your answer! Alan Manuel Gloria writes: > This is arguably NOT a Guile-specific issue, but rather a general issue. > Clojure uses its array syntax for parts of its syntax, for example. >=20 > The ## seems OK, but how about just plain # ? That=E2=80=99s part of why it=E2=80=99s Guile specific: I cannot use the pl= ain #, because that=E2=80=99s the prefix for symbols and illegal syntax for read. I don=E2=80=99t see a way to do this as simple reader addition. > So like (using only (read) and not (eval (read))): > > ' a b > =3D> (quote (a b)) > '(a b) > =3D> (quote (a b)) > # a b > =3D> #(a b) > #(a b) > =3D> #(a b) I=E2=80=99d like to do it that way, but from what I can tell, doing that wo= uld mean that I have to special-case all special syntax reading, while with the ## I can harness regular symbol reading in Guile. The # is the prefix for all kinds of special elements (i.e. #' #, #,@) and I=E2=80=99m not sure it=E2=80=99s a good idea to take the symbol itself= for a given feature. Best wishes, Arne =2D-=20 Unpolitisch sein hei=C3=9Ft politisch sein ohne es zu merken --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE801qEjXQSQPNItXAE++NRSQDw+sFAloxZ+IACgkQE++NRSQD w+vR+A/9EtbIMG2G5MKaUFRLbdg+E8xXxbUfcxSsCF0xPXR7BnTPDvClqyVjHHP5 JxdoBlMWBWvUZ4SU9ocRVNvt8/8C3tTwOc3QAQKLyDBey3w0Fg2bvq82/kndbG6Z WkJh2AIqTW3ajWuuQK+8/KyCxTAFO00d6xwoTaMEGCnp8zeVwoKlqo+16JcnLnsE kr8sbZ/YSNAOCfW1JOkSvj+daW3gGqCq+w2kVJU7/vCJz/trAV9YcvjKbTn4xSq7 lRl74jN8KSlvv6LMNyxYwS5hKw0lIvnQ1FloksuzZYy3H9uKKlKBHhObPAb+ucSD l86CMF3jmjxso6P4ozlrqFzxrMdSMSPJ0Ucc/U2eN7HZ+eg3PBw37lZpflC1mKNC DNjYjHGTk0m1l7SB+MBAsVBhPmlX00uTxEEvkYTYRD2mj1IHy/5at6sroWaSMzcF u5nOaLu5CLjyacUSty1gPw/UrRRqR3GwvnuY7E9ZHeC4j+5gSvVkkQXT/+Hbft5F gsN+icCMic3sBPYgDnd4ynu+Zk6AAwFCpHU6IlV5ROfFxY9ZA00NtiT8VfNv5prw km1bclXycpJq4AXs0T2bEcANSUc+Ddb0r4lKL3OSdw+lNy4pQpqCLDWZYOTWaG+t /21tvX404O/4zIekjebr1JNwm/49tsjG/CFcUw1WD4wdudpnpww= =416e -----END PGP SIGNATURE----- --=-=-=-- --===============2424911878117498498== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot --===============2424911878117498498== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Readable-discuss mailing list Readable-discuss-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/readable-discuss --===============2424911878117498498==--