As part of the editor, a parser will parse the LaTeX file to detect any
errors in the syntax. I am therefore trying to find a BNF (Backus-Naur
Form) description of the LaTeX syntax.
Thanks for any help,
Chris Cliffe
BSc Computer Science, Stage 4.
---------------------------------------------------------------------------
Christian Cliffe Email: ccl...@coventry.ac.uk
---------------------------------------------------------------------------
: As part of the editor, a parser will parse the LaTeX file to detect any
: errors in the syntax. I am therefore trying to find a BNF (Backus-Naur
: Form) description of the LaTeX syntax.
I don't think that BNF is a good way to express TeX syntax.
There is almost no grammar, and grammar is what are BNF for.
It sounds much like "Tcl BNF, m4 BNF or Forth BNF"
Try to get some existing TeX checker (there are several on CTAN) and
adopt for your project. Or write a parser directly from what is given
in TeXbook.
: Thanks for any help,
: Chris Cliffe
: BSc Computer Science, Stage 4.
: ---------------------------------------------------------------------------
: Christian Cliffe Email: ccl...@coventry.ac.uk
: ---------------------------------------------------------------------------
--
--------------------------------------------------------
I have tin news and pine mail...
Victor Wagner @ home = vitus @ orc . ru