[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Union Type Object problem
From: |
Laurence Finston |
Subject: |
Re: Union Type Object problem |
Date: |
Thu, 12 Aug 2004 10:35:03 +0200 (MEST) |
On Wed, 11 Aug 2004, Hans Aberg wrote:
> In discussion in the LaTeX3 project list
> <address@hidden>, one said that Don shunned parser
> generators and grammars when he did the TeX stuff. So, therefore TeX is as
> it is, and it may difficult to use a parser generator to do a program that
> exactly duplicates the original TeX-cluster of programs.
>
The TeX and Metafont languages are quite different, but they're similar
in that they use a very low-level approach to programming.
In a way, Knuth's approach was like using Pascal to write machine
language.
While I admire it, but I have no ambitions of emulating it, at least not
in 3DLDF. Knuth does things like using sequences of bits within a machine
word to store information about objects. I've chosen to use common tools
like Bison and the features supplied by C++. I believe this will make my
program more readily understandable to more people and that this
outweighs any consequent loss of efficiency.
While I can't prove it, I do believe that some things the Metafont parser
does cannot be implemented using Bison. I originally planned to try to
make it possible for 3DLDF to process valid Metafont and MetaPost code.
I've given up on this. I also prefer a more succinct C-like syntax, so
the 3DLDF language has begun to diverge from MF/MP.
Laurence
- Re: Union Type Object problem, (continued)
- Re: Union Type Object problem, Laurence Finston, 2004/08/05
- Re: Union Type Object problem, Hans Aberg, 2004/08/06
- Re: Union Type Object problem, Laurence Finston, 2004/08/07
- Message not available
- Re: Union Type Object problem, Hans Aberg, 2004/08/09
- Re: Union Type Object problem, Laurence Finston, 2004/08/08
- Re: Union Type Object problem, Hans Aberg, 2004/08/09
- Re: Union Type Object problem, Laurence Finston, 2004/08/09
- Message not available
- Re: Union Type Object problem, Hans Aberg, 2004/08/10
- Re: Union Type Object problem, Laurence Finston, 2004/08/10
- Message not available
- Re: Union Type Object problem, Hans Aberg, 2004/08/11
- Re: Union Type Object problem,
Laurence Finston <=
- Re: Union Type Object problem, Hans Aberg, 2004/08/12
- Re: Union Type Object problem, Laurence Finston, 2004/08/12
- Re: Union Type Object problem, Frank Heckenbach, 2004/08/13
- Re: Union Type Object problem, Laurence Finston, 2004/08/13
- Message not available
- Re: Union Type Object problem, Hans Aberg, 2004/08/12
- Re: Union Type Object problem, Laurence Finston, 2004/08/12
- Message not available
- Re: Union Type Object problem, Hans Aberg, 2004/08/13
- 3DLDF, Hans Aberg, 2004/08/12
- Re: 3DLDF, Laurence Finston, 2004/08/12
- Message not available
- Re: 3DLDF, Hans Aberg, 2004/08/13