A chess friend just wrote me:
"I would like a command line driven program (I am going to use it with Pradu's WBTM and Winboard) which can read a pgn file and construct a crosstable. Text and htm output would be good".
Can this guy be helped ?
Matthias.
Pgn tool needed.
Moderator: Ras
-
- Posts: 3245
- Joined: Thu Mar 09, 2006 9:10 am
Pgn tool needed.
My engine was quite strong till I added knowledge to it.
http://www.chess.hylogic.de
http://www.chess.hylogic.de
-
- Posts: 628
- Joined: Wed Mar 08, 2006 9:10 pm
- Location: Murten / Morat, Switzerland
- Full name: Volker Pittlik
Re: Pgn tool needed.
I'd suggest bayeselo.Matthias Gemuh wrote:...
Can this guy be helped ?
Matthias.
vp
-
- Posts: 48
- Joined: Mon Mar 13, 2006 4:21 pm
-
- Posts: 3245
- Joined: Thu Mar 09, 2006 9:10 am
Thanks
Thanks, Volker and Mircea.
Matthias.
Matthias.
My engine was quite strong till I added knowledge to it.
http://www.chess.hylogic.de
http://www.chess.hylogic.de
-
- Posts: 658
- Joined: Wed Mar 08, 2006 8:58 pm
Re: Pgn tool needed.
I get some errors when compiling bayeselo
g++ -o bayeselo -Wall elomain.cpp
In file included from elomain.cpp:9:
pgnlex.cpp: In member function ‘int CPGNLex::NextChar()’:
pgnlex.cpp:92: error: ‘EOF’ was not declared in this scope
pgnlex.cpp: In member function ‘int CPGNLex::ReadNextToken()’:
pgnlex.cpp:109: error: ‘EOF’ was not declared in this scope
pgnlex.cpp:156: error: ‘EOF’ cannot appear in a constant-expression
pgnlex.cpp:188: error: ‘EOF’ cannot appear in a constant-expression
In file included from elomain.cpp:15:
move.cpp: In member function ‘int CMove::ParseString(const char*)’:
move.cpp:186: warning: suggest explicit braces to avoid ambiguous ‘else’
any ideas?
Bernhard
g++ -o bayeselo -Wall elomain.cpp
In file included from elomain.cpp:9:
pgnlex.cpp: In member function ‘int CPGNLex::NextChar()’:
pgnlex.cpp:92: error: ‘EOF’ was not declared in this scope
pgnlex.cpp: In member function ‘int CPGNLex::ReadNextToken()’:
pgnlex.cpp:109: error: ‘EOF’ was not declared in this scope
pgnlex.cpp:156: error: ‘EOF’ cannot appear in a constant-expression
pgnlex.cpp:188: error: ‘EOF’ cannot appear in a constant-expression
In file included from elomain.cpp:15:
move.cpp: In member function ‘int CMove::ParseString(const char*)’:
move.cpp:186: warning: suggest explicit braces to avoid ambiguous ‘else’
any ideas?
Bernhard
-
- Posts: 2267
- Joined: Fri Jul 14, 2006 7:56 am
- Location: London, England
- Full name: Jim Ablett
Re: Pgn tool needed.
Hi Bernhard,BBauer wrote:I get some errors when compiling bayeselo
g++ -o bayeselo -Wall elomain.cpp
In file included from elomain.cpp:9:
pgnlex.cpp: In member function ‘int CPGNLex::NextChar()’:
pgnlex.cpp:92: error: ‘EOF’ was not declared in this scope
pgnlex.cpp: In member function ‘int CPGNLex::ReadNextToken()’:
pgnlex.cpp:109: error: ‘EOF’ was not declared in this scope
pgnlex.cpp:156: error: ‘EOF’ cannot appear in a constant-expression
pgnlex.cpp:188: error: ‘EOF’ cannot appear in a constant-expression
In file included from elomain.cpp:15:
move.cpp: In member function ‘int CMove::ParseString(const char*)’:
move.cpp:186: warning: suggest explicit braces to avoid ambiguous ‘else’
any ideas?
Bernhard
Add
Code: Select all
#include <stdio.h>
Code: Select all
pgnlex.cpp
-
- Posts: 658
- Joined: Wed Mar 08, 2006 8:58 pm
Re: Pgn tool needed.
Thank you.
That helped.
regards
Bernhard
That helped.
regards
Bernhard