fink/packages.lisp

127 lines
2.1 KiB
Common Lisp
Raw Normal View History

2008-05-07 09:07:47 +00:00
(in-package :common-lisp)
2008-04-28 07:18:59 +00:00
2008-05-07 09:07:47 +00:00
;(clc:clc-require :cl-ppcre)
2008-05-08 01:36:06 +00:00
;(asdf:oos 'asdf:load-op :cl-ppcre)
2008-05-07 09:07:47 +00:00
(require :sb-bsd-sockets)
2008-04-28 07:18:59 +00:00
2008-05-21 18:46:32 +00:00
(defpackage macro-utils
(:use :common-lisp)
(:export :with-gensyms
2008-06-21 06:03:06 +00:00
:once-only
:while
:until
:pdebug
:*print-debug*))
2008-05-21 18:46:32 +00:00
(defpackage netpipe
2008-05-08 01:36:06 +00:00
(:use :common-lisp)
(:export :tcp-connect
:nslookup
:tcp-print
:tcp-read))
2008-05-05 15:00:06 +00:00
(defpackage board
2008-05-21 18:46:32 +00:00
(:use :common-lisp
:macro-utils)
2008-05-19 04:00:04 +00:00
(:export :basic-board
:boardsize
2008-05-27 00:46:43 +00:00
:ranked-board
:get-stone
:set-stone
:remove-stone
:get-player
:coord-to-str
2008-05-26 19:13:18 +00:00
:str-to-coord
:genmove
:do-with-copy-of-array
:copy-array
:copy-2d-array
:copy-2d-board
:make-2d-board
:do-over-board
:def-over-board
:set-2d-stone
:get-2d-stone
:coords-eql
:invert-player
:prune
:focus
:score
:copy-slots
:analyze-board-score
2008-06-18 00:46:32 +00:00
:board-to-analyze
; :do-over-2d-adjacent
:do-over-adjacent
:stones-to-analyze))
(defpackage liberty-board
2008-05-27 00:46:43 +00:00
(:use :common-lisp
:macro-utils
:board)
(:export :liberty-board
2008-06-21 06:03:06 +00:00
:liberty-to-analyze
:liberty))
2008-05-27 00:46:43 +00:00
(defpackage shape-board
(:use :common-lisp
:macro-utils
:board)
(:export :shape-board
:shapes-to-analyze
2008-06-21 06:03:06 +00:00
:shape-id
:shapes-points
:shape-sizes
:next-shape-id
:convert-shape
:shape-size
:remove-shape))
(defpackage liberty-shape-board
(:use :common-lisp
:macro-utils
:board
:liberty-board
:shape-board)
(:export :liberty-shape-board
:liberty-shape-to-analyze))
;:liberty-shape-stone-to-analyze))
2008-05-27 00:46:43 +00:00
(defpackage go-bot
(:use :common-lisp
:board
:liberty-board
2008-06-21 06:03:06 +00:00
:shape-board
:liberty-shape-board)
(:export :*name*
:*version*
:*author*
2008-05-08 01:36:06 +00:00
:*player*
2008-05-26 23:30:59 +00:00
:*cputime*
:set-komi
:set-boardsize
:init-board
:init
2008-05-19 04:00:04 +00:00
:do-play
:do-genmove
:composite-board
:analyze-stones
:analyze-score
:analyze-liberty
:analyze-shapes
2008-06-21 06:03:06 +00:00
:analyze-shape-liberties
:analyze-shape-stone-liberties
))
(defpackage gtp-handler
(:use :common-lisp
:netpipe
:go-bot
:macro-utils)
(:export :gtp-client
:gtp-net-client))