File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 33
33
# :abcl
34
34
# :allegro
35
35
# :ccl
36
+ # :clasp
36
37
# :clisp
37
38
# :cmucl
38
39
# :cormanlisp
227
228
(:reexport-from # :ccl
228
229
# :make-socket))
229
230
231
+
232
+ ; ;; CLASP
233
+
234
+ (define-implementation-package :clasp # :qlqs-clasp
235
+ (:documentation " CLASP - http://github.com/drmeister/clasp" )
236
+ (:class clasp)
237
+ (:prep
238
+ (require ' sockets))
239
+ (:intern # :host-network-address)
240
+ (:reexport-from # :sb-bsd-sockets
241
+ # :get-host-by-name
242
+ # :host-ent-address
243
+ # :socket-connect
244
+ # :socket-make-stream
245
+ # :inet-socket))
246
+
247
+
230
248
; ;; GNU CLISP
231
249
232
250
(define-implementation-package :clisp # :qlqs-clisp
381
399
(:implementation ccl
382
400
(qlqs-ccl :make-socket :remote-host host
383
401
:remote-port port))
402
+ (:implementation clasp
403
+ (let* ((endpoint (qlqs-clasp :host-ent-address
404
+ (qlqs-clasp :get-host-by-name host)))
405
+ (socket (make-instance ' qlqs-clasp:inet-socket
406
+ :protocol :tcp
407
+ :type :stream )))
408
+ (qlqs-clasp :socket-connect socket endpoint port)
409
+ (qlqs-clasp :socket-make-stream socket
410
+ :element-type ' (unsigned-byte 8 )
411
+ :input t
412
+ :output t
413
+ :buffering :full )))
384
414
(:implementation clisp
385
415
(qlqs-clisp :socket-connect port host :element-type ' (unsigned-byte 8 )))
386
416
(:implementation cmucl
You can’t perform that action at this time.
0 commit comments