Re: TeX syntax?

Jim Hill <>
25 Feb 2007 12:49:39 -0500

          From comp.compilers

Related articles
[2 earlier articles]
Re: TeX syntax? (A Johnstone) (2007-02-09)
Re: TeX syntax? (Allan Adler) (2007-02-09)
Re: TeX syntax? (Philipp Lucas) (2007-02-12)
Re: TeX syntax? (2007-02-16)
Re: TeX syntax? (glen herrmannsfeldt) (2007-02-16)
Re: TeX syntax? (2007-02-25)
Re: TeX syntax? (Jim Hill) (2007-02-25)
Re: TeX syntax? (Rock Brentwood) (2021-04-04)
Re: TeX syntax? (gah4) (2021-04-05)
Re: TeX syntax? (gah4) (2021-04-05)
| List of all articles for this month |

From: Jim Hill <>
Newsgroups: comp.compilers
Date: 25 Feb 2007 12:49:39 -0500
Organization: Compilers Central
References: 07-02-024
Keywords: macros
Posted-Date: 25 Feb 2007 12:49:39 EST

Russell Shaw asked for:
> something resembling the BNF of Knuth's TeX typesetting syntax?
> What symbols are fundamental, and what ones are derived?

It doesn't really parse at all, and its lexical entities are defined at
runtime, by the input it's lexing: spelling and boundaries are defined
and quite commonly, even for fundamental symbols, redefined several
times, in the input files themselves.

Most people could agree these would be bad things in a programming language.

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.