X-VM-v5-Data: ([nil nil nil nil nil nil nil nil nil] ["1493" "Mon" "3" "March" "1997" "12:13:55" "+0100" "Hans Aberg" "haberg@MATEMATIK.SU.SE" nil "32" "Re: Shortref mechanism" "^Date:" nil nil "3" nil nil nil nil] nil) Received: from listserv.gmd.de (listserv.gmd.de [192.88.97.1]) by mail.Uni-Mainz.DE (8.8.5/8.8.4) with ESMTP id MAA28496; Mon, 3 Mar 1997 12:12:26 +0100 (MET) Received: from listserv.gmd.de by listserv.gmd.de (LSMTP for OpenVMS v1.1a) with SMTP id <15.9DF599B5@listserv.gmd.de>; Mon, 3 Mar 1997 12:12:24 +0100 Received: from RELAY.URZ.UNI-HEIDELBERG.DE by RELAY.URZ.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 1.8b) with spool id 108242 for LATEX-L@RELAY.URZ.UNI-HEIDELBERG.DE; Mon, 3 Mar 1997 12:12:19 +0100 Received: from mail.nada.kth.se (root@mail.nada.kth.se [130.237.222.92]) by relay.urz.uni-heidelberg.de (8.7.6/8.7.4) with ESMTP id MAA19248; Mon, 3 Mar 1997 12:12:16 +0100 (MET) Received: from [130.237.37.43] (sl23.modempool.kth.se [130.237.37.43]) by mail.nada.kth.se (8.8.4/8.8.4) with SMTP id MAA20589; Mon, 3 Mar 1997 12:12:08 +0100 (MET) X-Sender: su95-hab@mail.nada.kth.se Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-ID: Reply-To: Mailing list for the LaTeX3 project Date: Mon, 3 Mar 1997 12:13:55 +0100 From: Hans Aberg Sender: Mailing list for the LaTeX3 project To: Multiple recipients of list LATEX-L Subject: Re: Shortref mechanism Status: R X-Status: X-Keywords: X-UID: 1850 Frank Mittelbach writes: >...there is only >one solution that would avoid that kind of deadlock which is to >abandom TeX's parsing mechanism completely and writing your own parser >within TeX (eg by making braces being ordinary characters etc). that >is possible although incredibly slow even on fast machines and to do >more than just a prove of concept type implementation you get >dangerously close to proving that TeX is Turing complete. This is actually one way I contemplated, but I felt the effort not worth it: One idea might be making a new version of the command \def\name{definition text} that picks up the parameter text, and is simulating the parsing TeX normally does, but with suitabnle modifications, passing to some exception text if something goes wrong, or whatever. This is not very easy to do in TeX. One might use such a command, even though slow, in situations where the TeX normal programming does not suffice. Second, if one would want to extend TeX itself, making those extensions first implementable in TeX itself would be a good idea, as it would not force people picking up a new TeX implementation right away. So, even though this is not the group for discussing TeX extensions (it is the group NTS-L Distribution list ), this might fuse the efforts of the LaTeX3 project, and such extensions efforts. But you won't implement this very easily. Hans Aberg