Re: latex grammar

glen herrmannsfeldt <gah@ugcs.caltech.edu>
3 Apr 2004 09:12:23 -0500

          From comp.compilers

Related articles
latex grammar journey@op.pl (Lukasz) (2004-03-26)
Re: latex grammar boldyrev+nospam@cgitftp.uiggm.nsc.ru (Ivan Boldyrev) (2004-04-03)
Re: latex grammar dmaze@mit.edu (David Z Maze) (2004-04-03)
Re: latex grammar haberg@matematik.su.se (2004-04-03)
Re: latex grammar gah@ugcs.caltech.edu (glen herrmannsfeldt) (2004-04-03)
Re: latex grammar bonzini@gnu.org (2004-04-03)
Re: latex grammar theo@engr.mun.ca (Theodore Norvell) (2004-04-14)
Re: latex grammar James.Leifer@inria.fr (James Leifer) (2004-04-14)
| List of all articles for this month |
From: glen herrmannsfeldt <gah@ugcs.caltech.edu>
Newsgroups: comp.compilers,comp.compilers.tools.javacc
Date: 3 Apr 2004 09:12:23 -0500
Organization: Comcast Online
References: 04-03-099
Keywords: parse
Posted-Date: 03 Apr 2004 09:12:23 EST

Lukasz wrote:




> Where can I find grammar for latex so I can create parser?
> Thanks for any advices.


I would say that you can't write a grammar for LaTeX, though for
specific problems you might be able to do it.


If you don't allow \newcommand or \renewcommand, or any of the TeX
commands that can define macros, change catcodes, or most of the low
level things that the system will let you do, then it might be
possible.


-- glen


Post a followup to this message

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