Received: from mout.gmx.net (mout.gmx.net [212.227.15.15]) by h1439878.stratoserver.net (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id t7RKKxHB012173 for ; Thu, 27 Aug 2015 22:21:00 +0200 Received: from relay.uni-heidelberg.de ([129.206.100.212]) by mx-ha.gmx.net (mxgmx005) with ESMTPS (Nemesis) id 0MMp0Z-1ZMWxG1GWd-008ZKy for ; Thu, 27 Aug 2015 22:20:53 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [129.206.100.94]) by relay.uni-heidelberg.de (8.14.1/8.14.1) with ESMTP id t7RKJG81020708 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Aug 2015 22:19:16 +0200 Received: from listserv.uni-heidelberg.de (listserv.uni-heidelberg.de [127.0.0.1]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t7REWkC7009966; Thu, 27 Aug 2015 22:19:16 +0200 Received: by LISTSERV.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 16.0) with spool id 12538507 for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 27 Aug 2015 22:19:16 +0200 Received: from relay2.uni-heidelberg.de (relay2.uni-heidelberg.de [129.206.210.211]) by listserv.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t7RKJFTq015351 for ; Thu, 27 Aug 2015 22:19:16 +0200 Received: from ftx-008-i767.relay.mailchannels.net (ftx-008-i767.relay.mailchannels.net [50.61.143.67]) by relay2.uni-heidelberg.de (8.13.8/8.13.8) with ESMTP id t7RKJ8mM003388 for ; Thu, 27 Aug 2015 22:19:11 +0200 X-Sender-Id: netnames|x-authuser|joseph.wright@morningstar2.co.uk Received: from smtp2.easily.co.uk (ip-10-42-131-234.us-west-2.compute.internal [10.42.131.234]) by relay.mailchannels.net (Postfix) with ESMTPA id 373701212CC for ; Thu, 27 Aug 2015 20:19:04 +0000 (UTC) X-Sender-Id: netnames|x-authuser|joseph.wright@morningstar2.co.uk Received: from smtp2.easily.co.uk (smtp2.easily.co.uk [10.89.138.154]) (using TLSv1 with cipher DHE-RSA-AES256-SHA) by 0.0.0.0:2500 (trex/5.5.1); Thu, 27 Aug 2015 20:19:06 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: netnames|x-authuser|joseph.wright@morningstar2.co.uk X-MailChannels-Auth-Id: netnames X-MC-Loop-Signature: 1440706745644:839526151 X-MC-Ingress-Time: 1440706745644 Received: from [86.178.0.199] (port=64816 helo=palladium.home) by smtp2.easily.co.uk with esmtpa (Exim 4.43) id 1ZV3dW-0000PG-Ex for LATEX-L@LISTSERV.UNI-HEIDELBERG.DE; Thu, 27 Aug 2015 21:19:02 +0100 References: <55DBB7F6.1070307@clear.net.nz> <55DABA1D.3050706@morningstar2.co.uk> <55DCFDF7.7080305@clear.net.nz> <55DC05BF.1040505@morningstar2.co.uk> <55DC28E8.9090405@morningstar2.co.uk> <55DDFD0A.4000901@clear.net.nz> <55DDACCB.1070104@morningstar2.co.uk> <55DF523F.2050905@clear.net.nz> <55DF48BE.5030503@residenset.net> <55DF5276.7010500@morningstar2.co.uk> User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 X-AuthUser: joseph.wright@morningstar2.co.uk X-MIME-Autoconverted: from quoted-printable to 8bit by listserv.uni-heidelberg.de id t7RKJGTq015352 Message-ID: <55DF70B2.1090700@morningstar2.co.uk> Date: Thu, 27 Aug 2015 21:18:58 +0100 Reply-To: Mailing list for the LaTeX3 project Sender: Mailing list for the LaTeX3 project From: Joseph Wright Subject: Re: Catcode changes To: LATEX-L@LISTSERV.UNI-HEIDELBERG.DE In-Reply-To: <55DF5276.7010500@morningstar2.co.uk> Precedence: list List-Help: , List-Unsubscribe: List-Subscribe: List-Owner: List-Archive: X-MIME-Autoconverted: from 8bit to quoted-printable by relay.uni-heidelberg.de id t7RKJG81020708 Envelope-To: X-GMX-Antispam: 0 (Mail was not recognized as spam); Detail=V3; X-GMX-Antivirus: 0 (no virus found) X-UI-Filterresults: notjunk:1;V01:K0:yjc39sl2a0Q=:K5PldZVtPVaUFvO3Ofy/wEXzES FXO9nr25skbbHIFWEiHEKVoNC6+Q7d5xzogme/yYIXSg3SvBDaTmpQ6OmuQsmp4zu9pFgKT+V J7ZruhM2QpeiON2KxYDF5L46BOBU62/SF+Az63TQb0dfz1M9IPoK1EBKU71nyOatYQcIh195/ lfQIhaLSwjU0H1TRFU1StTAdYG0+i8lAYpljrfrzd1ipBoIOwF4cBSO7Xm9fzxeJ9gkpsd7ha GgC1ROvA97/smfDzcSKl913LA4Suvrnk3Tx7F1N4pEmjEei0hsTcLXilAtUFgOjAhLgndrMCJ 9euCMopjKxqDKDyUx4l+0W7RKwXl97ePYrPKjcfk656kaTtu0rNNgeEzvUcl+cpAJ+PYvZXqf azobWwhpTkIDR1grbcbrvsb4bavi9HMfAktsph/3gTLAV05eNav8A2TGgNaOXbuOwDcE/0bat 3mZmnaHx3zX7eUbffJL/asPoSjEcpswe34SFVB4PR4VZcKIz6Uucny6VTRnL9odwUeB0M0dy0 osqe49sHR0mUAFY7bJztswMjrW5VeShwPCJDyV2yHZVNwD15QMdfB3niXF70GJTLIS7bHT3Ny DYn2JKmjohPQL8WPzyMjNStvEYgufh/LGPfmJn9koHbl4M+H+7ZO1FlekQ0GalVMZaR0M+x+N 2Kit6cb6gsKdTjRCRhLGBU1e7ev70i41zIjNt/YcEThmz0l2e4xlr0jkAPoWnItFm9WLbRqXy YjfUwdpc0iaW+8fLB7x865WdF08EPiHrmKflwOIrOiBDBUzplBYWEDTvT6+jvRSyJuWIIb5AR Jf2bN40bDbqSOjpnxzLW6bVSXmPyeGiKeynvDtzGdinqjNceRanKXljfJAL7TUK1wysYVBgnU fI2vOsom78wZPqxGktzifuLua2kKmk7TiqigRXmeUQw+s/sbu6NLyMa8IgtVRFx/l7h87LYg2 Zagk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Rf4HMVjYohZc5zBpnv2qs Lvmz528HiGCjY2ne29jcHGQqDIfxn99j5qH7Gl7Ct+CT+8e8v11yjFJVQ0GB2Q50nXRKMynQs Xf+iPi45oPZ6Sx8ayPoWmi0c411doAvt2Qef39z6mJLa4zNBUhS2 X-Scanned-By: MIMEDefang 2.71 on 85.214.41.38 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by h1439878.stratoserver.net id t7RKKxHB012173 Status: R X-Status: X-Keywords: X-UID: 7850 On 27/08/2015 19:09, Joseph Wright wrote: > On 27/08/2015 18:28, Lars Hellström wrote: >> Bruno Le Floch skrev 2015-08-27 12.34: >>> That's much harder. Catcode changes are probably warranted in this >>> case, since teaching TeX to nest parentheses in this way is tough. >> >> I seem to recall that I did demonstrate how to do that -- have TeX match >> parentheses in an expression, using delimited arguments rather than >> catcode changes -- in a mail to this very list several years ago... Yes, >> it was on 2011-10-19 and the subject was "Re: Church booleans". > > We do the same in xparse :-) > >> PS: I maintain that that approach to evaluating infix boolean >> expressions is far superior to what is currently offered in LaTeX3, but >> Bruno just seems to *love* his &&, with all its shortcomings. ;-) > > Will remind myself: as has been noted there is an issue with clearing up > certain tokens with the current lazy evaluation method. > > Joseph > BTW, thread you mean starts http://article.gmane.org/gmane.comp.tex.latex.latex3/2719 I think the one you mean is http://article.gmane.org/gmane.comp.tex.latex.latex3/2754 Joseph P.S. Boolean expressions are Morten's code, not Bruno's :-)