2014-05-01から1ヶ月間の記事一覧
囲碁のプログラムのため、Jison(BisonのJavaScript版)を使ってSGFパーサを書きました。四苦八苦したので、その備忘録。まず、すんなり書けた第一版。 /* description: Parses SGF string and generates corresponding object. note1: This parser doesn't in…
囲碁のプログラムのため、Jison(BisonのJavaScript版)を使ってSGFパーサを書きました。四苦八苦したので、その備忘録。まず、すんなり書けた第一版。 /* description: Parses SGF string and generates corresponding object. note1: This parser doesn't in…