Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: lex / yacc description of PGN?

Author: Peter Klausler

Date: 05:33:20 05/04/99

Go up one level in this thread


On May 03, 1999 at 17:30:26, Dann Corbit wrote:

>On May 03, 1999 at 16:08:14, Peter McKone wrote:
>
>>Do you have input to lex and yacc to describe PGN, that you would like to share?
>I also would like a formal grammar for PGN and/or the EPD subset.  Any formal
>grammar would be fine.  Flex/Bison, PCCTS/ANTLR, whatever.

A formal lexical and grammatical spec for PGN would be
handy as an implementation model or reference, but I
would bet that a PGN parser implemented with automatic
lexer/parser-generation tools would suffer in performance
relative to the more straightforward approach in common
use.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.