Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: does anyone have EBNF for PGN? (nt)

Author: Dann Corbit

Date: 21:55:33 10/14/02

Go up one level in this thread


Take a peek at Parser.L from Winboard by Tim Mann.
flex -L parser.l
will generate lex.yy.c
which becomes parser.c

His grammar is very tolerant of naughtyness like:
0-0-0 // zero-zero-zero
instead of:
O-O-O // oh-oh-oh
and the like.




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.