[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: your mail
On Thu, 25 Feb 1999, Heikki Levanto wrote:
> Antti Huima (huima@xxxxxxxxxxxxxxxxx) wrote in lsd.compgo:
> : Hi,
>
> : I just want to announce that I wrote a rudimentary SGF parser.
> : http://security-hole.hut.fi/distrib/
>
> Sounds interesting, but you don't say what language you wrote it in.
This is true. Sorry. It is written in (ANSI) C.
Here is the README of the first version:
======================================================================
SGF PARSER README
LICENSE
The SGF parser written by Antti Huima that accompanies this README
file is free software. You may use it to whatever purpose you wish,
including any commercial activity. You may modify the software and
redistribute it and any modified version. However, if you redistribute
a modified version you must mention the original author of the code.
The author takes no responsibility in anything that could be seen to
be caused by using this software. In particular (this is from GPL):
NO WARRANTY
BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT
WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER
PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND,
EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR
DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM
(INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF
THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER
OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
DESCRIPTION
The SGF parser distributed along this license is a rudimentary library
that is able to read and write SGF(4) files. An SGF file is parsed
into a tree data structure but no further processing is made. For
example, there is no board representation in the library.
LIMITATIONS
Only the 4th SGF specification is supported. Only the game of Go is
supported. In particular, all Lines of Action specific properties are
unsupported.
SYSTEM REQUIREMENTS
The code is written in ANSI C and should be quite portable.
BETA VERSION
This software is a beta version.
DISTRIBUTION
The distribution contains the following files:
`sgf.h' --- header file
`sgf.c' --- parser implementation
`README' --- this file
`test.c' --- an example of using the parser.
You can compile `test.c' by giving the command `sh test.c', assuming
that you are operating a UNIX system that has gcc(1).
AUTHOR & BUG REPORTS
This software was authored by Antti Huima (huima@xxxxxxxxxxxxxxxxx). Please
report any compatibility and other bugs.
(EOF)
======================================================================
I should add that I just found that the parser does not support compressed
point lists (I forgot to implement that). I'll do that soon. Also,
semantical error checking should be improved. Perhaps functions for
manipulating the SGF trees should be developed. This is not a big deal.
However, I would like to hear some comments if someone thinks the module
is usable before I make a new "release".
--
Antti Huima
SSH Communications Security Oy