emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] 81/255: normalization


From: Eric Schulte
Subject: [elpa] 81/255: normalization
Date: Sun, 16 Mar 2014 01:02:24 +0000

eschulte pushed a commit to branch go
in repository elpa.

commit 1570bacd3941c3a94ac2655c3cd6ccdd04746257
Author: Eric Schulte <address@hidden>
Date:   Tue May 22 21:26:40 2012 -0400

    normalization
---
 sgf-gnugo.el |    2 +-
 sgf-gtp.el   |    4 +++-
 sgf-trans.el |    1 +
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/sgf-gnugo.el b/sgf-gnugo.el
index 6d59095..72dcbf4 100644
--- a/sgf-gnugo.el
+++ b/sgf-gnugo.el
@@ -86,7 +86,7 @@
      (buffer-substring (+ 2 (point)) (- (point-max) 2)))))
 
 
-;;; gtp interface
+;;; Class and interface
 (defclass gnugo (gtp)
   ((buffer :initarg :buffer :accessor buffer :initform nil)))
 
diff --git a/sgf-gtp.el b/sgf-gtp.el
index 57fddb5..a198c5a 100644
--- a/sgf-gtp.el
+++ b/sgf-gtp.el
@@ -60,7 +60,9 @@
       (:KM      (format "komi %s" val))
       (t        nil))))
 
-(defclass gtp nil nil "Class for the GTP SGF GO backend.")
+
+;;; Class and interface
+(defclass gtp nil nil "Class for the GTP SGF GO back end.")
 
 (defgeneric gtp-command (back-end command)
   "Send gtp COMMAND to OBJECT and return any output.")
diff --git a/sgf-trans.el b/sgf-trans.el
index 2b12b2e..a439713 100644
--- a/sgf-trans.el
+++ b/sgf-trans.el
@@ -42,6 +42,7 @@
 (defgeneric sgf->resign  (back-end resign)  "Send RESIGN to BACK-END.")
 (defgeneric sgf->undo    (back-end undo)    "Send UNDO to BACK-END.")
 (defgeneric sgf->comment (back-end comment) "Send COMMENT to BACK-END.")
+(defgeneric sgf<-alt     (back-end)         "Get an alternative from 
BACK-END.")
 (defgeneric sgf<-move    (back-end)         "Get POS from BACK-END.")
 (defgeneric sgf<-board   (back-end)         "Get SIZE from BACK-END.")
 (defgeneric sgf<-comment (back-end)         "Get COMMENT from BACK-END.")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]