LATEX-L Archives

Mailing list for the LaTeX3 project


Options: Use Classic View

Use Monospaced Font
Show Text Part by Default
Condense Mail Headers

Topic: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Sender: Mailing list for the LaTeX3 project <[log in to unmask]>
Date: Thu, 27 Aug 2015 19:28:30 +0200
Reply-To: Mailing list for the LaTeX3 project <[log in to unmask]>
Message-ID: <[log in to unmask]>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
In-Reply-To: <[log in to unmask]>
Content-Type: text/plain; charset=UTF-8; format=flowed
From: Lars Hellström <[log in to unmask]>
Parts/Attachments: text/plain (20 lines)
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".

The attachment with the full implementation was included in the posting from 
the list, so I hope it also made it into the list archives. (But I don't 
really have the energy at the moment to figure out what my password is so 
that I can check.)

Lars Hellström

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. ;-)