Received: from webgate.proteosys.de (mail.proteosys-ag.com [62.225.9.49]) by lucy.proteosys (8.11.0/8.9.3/SuSE Linux 8.9.3-0.1) with ESMTP id f05K3hp31109 for ; Fri, 5 Jan 2001 21:03:47 +0100 Received: by webgate.proteosys.de (8.11.0/8.11.0) with ESMTP id f05K3o726866 . for ; Fri, 5 Jan 2001 21:03:54 +0100 Received: from mail.Uni-Mainz.DE (mailserver1.zdv.Uni-Mainz.DE [134.93.8.30]) by mailgate1.zdv.Uni-Mainz.DE (8.11.0/8.10.2) with ESMTP id f05K3dM08074 for ; Fri, 5 Jan 2001 21:03:39 +0100 (MET) MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C07752.9CEA5380" Received: from mailgate2.zdv.Uni-Mainz.DE (mailgate2.zdv.Uni-Mainz.DE [134.93.8.57]) by mail.Uni-Mainz.DE (8.9.3/8.9.3) with ESMTP id VAA29128 for ; Fri, 5 Jan 2001 21:03:39 +0100 (MET) X-MimeOLE: Produced By Microsoft Exchange V6.5 Received: from mail.listserv.gmd.de (mail.listserv.gmd.de [192.88.97.5]) by mailgate2.zdv.Uni-Mainz.DE (8.11.0/8.10.2) with ESMTP id f05K3c019670 for ; Fri, 5 Jan 2001 21:03:39 +0100 (MET) Received: from mail.listserv.gmd.de (192.88.97.5) by mail.listserv.gmd.de (LSMTP for OpenVMS v1.1a) with SMTP id <0.7066C289@mail.listserv.gmd.de>; Fri, 5 Jan 2001 21:03:38 +0100 Received: from RELAY.URZ.UNI-HEIDELBERG.DE by RELAY.URZ.UNI-HEIDELBERG.DE (LISTSERV-TCP/IP release 1.8b) with spool id 478527 for LATEX-L@RELAY.URZ.UNI-HEIDELBERG.DE; Fri, 5 Jan 2001 21:03:36 +0100 Received: from ix.urz.uni-heidelberg.de (mail.urz.uni-heidelberg.de [129.206.119.234]) by relay.urz.uni-heidelberg.de (8.8.8/8.8.8) with ESMTP id VAA10565 for ; Fri, 5 Jan 2001 21:03:35 +0100 (MET) Received: from relay.uni-heidelberg.de (relay.uni-heidelberg.de [129.206.100.212]) by ix.urz.uni-heidelberg.de (8.8.8/8.8.8) with ESMTP id VAA17872 for ; Fri, 5 Jan 2001 21:03:34 +0100 Received: from knatte.tninet.se (knatte.tninet.se [195.100.94.10]) by relay.uni-heidelberg.de (8.10.2+Sun/8.10.2) with SMTP id f05K3ZU26490 for ; Fri, 5 Jan 2001 21:03:35 +0100 (MET) Received: (qmail 29725 invoked from network); 5 Jan 2001 21:03:32 +0100 Received: from delenn.tninet.se (HELO algonet.se) (195.100.94.104) by knatte.tninet.se with SMTP; 5 Jan 2001 21:03:32 +0100 Received: from [195.100.226.148] (du148-226.ppp.su-anst.tninet.se [195.100.226.148]) by delenn.tninet.se (BLUETAIL Mail Robustifier 2.2.1) with ESMTP id 537235.725010.978delenn-s1 ; Fri, 05 Jan 2001 21:03:30 +0100 In-Reply-To: <200012312101.QAA15231@hilbert.math.albany.edu> Return-Path: X-Sender: haberg@pop.matematik.su.se Content-class: urn:content-classes:message Subject: Re: GELLMU progress Date: Fri, 5 Jan 2001 21:03:14 +0100 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: From: "Hans Aberg" Sender: "Mailing list for the LaTeX3 project" To: "Multiple recipients of list LATEX-L" Reply-To: "Mailing list for the LaTeX3 project" Status: R X-Status: X-Keywords: X-UID: 3641 This is a multi-part message in MIME format. ------_=_NextPart_001_01C07752.9CEA5380 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable At 16:01 -0500 0-12-31, William F. Hammond wrote: >I've placed what I hope will be the last pre-release tarball at >http://www.albany.edu/~hammond/gellmu/tarball.html. ... >I would also like to see somebody translate it to TEI and then compare >the HTML and LaTeX formattings obtained chez Rahtz from TEI with the >native GELLMU formattings. If you are in the need of various translations, have you tried using = Flex (lexical analyzer generator) and Bison (parser generator, or compiler-compiler), see ftp://ftp.digital.com/pub/GNU/non-gnu/flex/flex-2.5.4a.tar.gz ftp://alpha.gnu.org/gnu/cvs/ -- I use them together with C++, which is convenient as the latter has standard string classes. One approach is to parse objects into something like the DOM (Document Object Model, http://www.w3.org/), and then onto that hook a program = that can translate into several different formats. I have used a similar approach, not with respect to document formats, = but for writing an object-oriented language that currently outputs C++ code. But I do not output a language text but a series of C++ iterated lookup tables, which via a special formatting file with suitable macro definitions, and a "formatter" program which knows how to pick together = to produce C++ files as output. The approach dramatically simplifies the Bison action rules. Hans Aberg ------_=_NextPart_001_01C07752.9CEA5380 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Re: GELLMU progress

At 16:01 -0500 0-12-31, William F. Hammond = wrote:
>I've placed what I hope will be the last = pre-release tarball at
>http://www.al= bany.edu/~hammond/gellmu/tarball.html.
...
>I would also like to see somebody translate it to = TEI and then compare
>the HTML and LaTeX formattings obtained chez = Rahtz from TEI with the
>native GELLMU formattings.

If you are in the need of various translations, have = you tried using Flex
(lexical analyzer generator) and Bison (parser = generator, or
compiler-compiler), see
  ft= p://ftp.digital.com/pub/GNU/non-gnu/flex/flex-2.5.4a.tar.gz
  ftp://alpha.gnu.org/gnu/cvs/
-- I use them together with C++, which is convenient = as the latter has
standard string classes.

One approach is to parse objects into something like = the DOM (Document
Object Model, http://www.w3.org/), and then onto that = hook a program that
can translate into several different formats.

I have used a similar approach, not with respect to = document formats, but
for writing an object-oriented language that = currently outputs C++ code.
But I do not output a language text but a series of = C++ iterated lookup
tables, which via a special formatting file with = suitable macro
definitions, and a "formatter" program = which knows how to pick together to
produce C++ files as output.

The approach dramatically simplifies the Bison action = rules.

  Hans Aberg

------_=_NextPart_001_01C07752.9CEA5380--