Re: [computer-go] SGF parsing

2007-07-12 Thread Ray Tayek
At 08:49 AM 7/9/2007, you wrote: ... Any help is appreciated, trying to write a parse in C you might try some of the people on the mailing list: [EMAIL PROTECTED] --- vice-chair http://ocjug.org/ ___ computer-go mailing list computer-go@computer-go

Re: [computer-go] SGF parsing

2007-07-11 Thread Phil G
> On this note, does anyone know of a collection of strange/unusual SGF > files to test a parser against? I have a SGF parser written in javacc > (think object oriented lex and yacc, outputting pure java) and while > it seems fast I've not really tested it much against corner cases. > > stuart I

Re: [computer-go] SGF parsing

2007-07-10 Thread Stuart A. Yeates
On 7/10/07, Jacques Basaldúa <[EMAIL PROTECTED]> wrote: Joshua Shriver wrote: >Any help is appreciated, trying to write a parse in C There is free source code for that: http://www.red-bean.com/sgf/sgfc/index.html and GnuGo http://www.gnu.org/software/gnugo/ If you want to do something minima

[computer-go] SGF parsing

2007-07-10 Thread Jacques Basaldúa
Joshua Shriver wrote: Any help is appreciated, trying to write a parse in C There is free source code for that: http://www.red-bean.com/sgf/sgfc/index.html and GnuGo http://www.gnu.org/software/gnugo/ If you want to do something minimal for testing an engine, you only have to find: board si

Re: [computer-go] SGF parsing

2007-07-09 Thread David Doshay
Yes, without variations SGF is not hard. Unfortunately, doing it right when you want to look at lots of variations at each move is quite tricky. We need to do this to inspect what SlugGo is considering on each of the many CPUs we are using, and every now and again we need to revisit this code. Ch

Re: [computer-go] SGF parsing

2007-07-09 Thread Jason House
On 7/9/07, Phil G <[EMAIL PROTECTED]> wrote: HouseBot (C++) http://housebot.sourceforge.net/index.php/Main_Page More precisely, the HouseBot SGF code is available at http://housebot.svn.sourceforge.net/viewvc/housebot/branches/0.5/housebot/src/sgf/ It's freely available under the GPL v2 lic

Re: [computer-go] SGF parsing

2007-07-09 Thread Phil G
o as viewers. Phil - Original Message From: Joshua Shriver <[EMAIL PROTECTED]> To: computer-go Sent: Monday, July 9, 2007 8:49:48 AM Subject: [computer-go] SGF parsing Besides the original specification at http://www.red-bean.com/sgf/ anyone recommend an easier to read and go specific docum

Re: [computer-go] SGF parsing

2007-07-09 Thread Unknown
On Mon, 2007-07-09 at 12:46 -0400, Joshua Shriver wrote: > Ok found some KGS games, and they make a lot more sense. With the > specification I can see what all of the OT, AP, TM, FF, etc commads > are. However I don't understand the way it sets the location, so far > nothing I've seen describes it.

Re: [computer-go] SGF parsing

2007-07-09 Thread alain Baeckeroot
Le lundi 9 juillet 2007 18:46, Joshua Shriver a écrit : > Ok found some KGS games, and they make a lot more sense. With the > specification I can see what all of the OT, AP, TM, FF, etc commads > are. However I don't understand the way it sets the location, so far > nothing I've seen describes it.

Re: [computer-go] SGF parsing

2007-07-09 Thread Don Dailey
On Mon, 2007-07-09 at 12:27 -0400, Joshua Shriver wrote: > Do you have a good example of a regular Go game in sgf? You can download examples from CGOS. Nothing fancy, just simple game results. An here is an example of a pgn go file that my old autotester produces: [Event "Autotest Sequence"] [

Re: [computer-go] SGF parsing

2007-07-09 Thread Joshua Shriver
Ok found some KGS games, and they make a lot more sense. With the specification I can see what all of the OT, AP, TM, FF, etc commads are. However I don't understand the way it sets the location, so far nothing I've seen describes it. ;B[kr] for example. I thought Go boards used A..x 1..y notati

Re: [computer-go] SGF parsing

2007-07-09 Thread Don Dailey
On Mon, 2007-07-09 at 11:49 -0400, Joshua Shriver wrote: > I really like the pgn format, just viewing it you can get a feel for > what is going on. I tried to figure out the SGF format by looking at > it, and have no clue what's going on. SGF has a real grammer associated with it and is technical

Re: [computer-go] SGF parsing

2007-07-09 Thread Joshua Shriver
Do you have a good example of a regular Go game in sgf? A lot of the examples I found on the SGF spec site seem confusing, and not sure if they're even for Go or backgammon, etc. Also is there a command line go conversion program kinda like pgnextract that lets you modify sgf datasets. Like strip

[computer-go] SGF parsing

2007-07-09 Thread Joshua Shriver
Besides the original specification at http://www.red-bean.com/sgf/ anyone recommend an easier to read and go specific document for parsing sgf files? I really like the pgn format, just viewing it you can get a feel for what is going on. I tried to figure out the SGF format by looking at it, and h