[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 125/255: removed dependency on `parse-integer'
From: |
Eric Schulte |
Subject: |
[elpa] 125/255: removed dependency on `parse-integer' |
Date: |
Sun, 16 Mar 2014 01:02:32 +0000 |
eschulte pushed a commit to branch go
in repository elpa.
commit f671b6e77b713fd514bf5ab578552509e1803ef7
Author: Eric Schulte <address@hidden>
Date: Mon May 28 11:38:33 2012 -0600
removed dependency on `parse-integer'
---
back-ends/gtp.el | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/back-ends/gtp.el b/back-ends/gtp.el
index c7e0ee7..1161b5f 100644
--- a/back-ends/gtp.el
+++ b/back-ends/gtp.el
@@ -63,7 +63,7 @@
(defun gtp-to-pos (color gtp)
(cons color (cons :pos (cons (gtp-char-to-num (aref gtp 0))
- (1- (parse-integer (substring gtp 1)))))))
+ (1- (read (substring gtp 1)))))))
(defun go-to-gtp-command (element)
"Convert an go ELEMENT to a gtp command."
@@ -84,7 +84,7 @@
"Send gtp COMMAND to OBJECT and return any output.")
(defmethod go-size ((gtp gtp))
- (parse-integer (gtp-command gtp "query_boardsize")))
+ (read (gtp-command gtp "query_boardsize")))
(defmethod set-go-size ((gtp gtp) size)
(gtp-command gtp (format "boardsize %d" size)))
- [elpa] 114/255: renaming go-gnugo.el to gnugo.el, (continued)
- [elpa] 114/255: renaming go-gnugo.el to gnugo.el, Eric Schulte, 2014/03/15
- [elpa] 113/255: uniform igs prefix, Eric Schulte, 2014/03/15
- [elpa] 109/255: uniform sgf prefix, Eric Schulte, 2014/03/15
- [elpa] 111/255: uniform gtp prefix, Eric Schulte, 2014/03/15
- [elpa] 116/255: moving back-ends into a subdirectory, Eric Schulte, 2014/03/15
- [elpa] 117/255: renaming main API file, Eric Schulte, 2014/03/15
- [elpa] 121/255: better introductory commentary, Eric Schulte, 2014/03/15
- [elpa] 122/255: system-level test combining gnugo and sgf, Eric Schulte, 2014/03/15
- [elpa] 120/255: passing all tests, Eric Schulte, 2014/03/15
- [elpa] 110/255: renaming go-gtp.el to gtp.el, Eric Schulte, 2014/03/15
- [elpa] 125/255: removed dependency on `parse-integer',
Eric Schulte <=
- [elpa] 126/255: sketching out passing, Eric Schulte, 2014/03/15
- [elpa] 124/255: highlighting last move and added pass function, Eric Schulte, 2014/03/15
- [elpa] 123/255: working towards savings games in SGF format, Eric Schulte, 2014/03/15
- [elpa] 127/255: documentation tweaks, Eric Schulte, 2014/03/15
- [elpa] 129/255: igs message types from igs.c, Eric Schulte, 2014/03/15
- [elpa] 118/255: cleanup in go.el, Eric Schulte, 2014/03/15
- [elpa] 130/255: adding a file for tracking development notes, Eric Schulte, 2014/03/15
- [elpa] 128/255: starting to flesh out igs support, Eric Schulte, 2014/03/15
- [elpa] 119/255: test cleanup, Eric Schulte, 2014/03/15
- [elpa] 132/255: moving char-to-num and num-to-char to util, Eric Schulte, 2014/03/15