id int64 0 45.1k | file_name stringlengths 4 68 | file_path stringlengths 14 193 | content stringlengths 32 9.62M | size int64 32 9.62M | language stringclasses 1
value | extension stringclasses 6
values | total_lines int64 1 136k | avg_line_length float64 3 903k | max_line_length int64 3 4.51M | alphanum_fraction float64 0 1 | repo_name stringclasses 779
values | repo_stars int64 0 882 | repo_forks int64 0 108 | repo_open_issues int64 0 90 | repo_license stringclasses 8
values | repo_extraction_date stringclasses 146
values | sha stringlengths 64 64 | __index_level_0__ int64 0 45.1k | exdup_ids_cmlisp_stkv2 listlengths 1 47 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
19,165 | similarity.lisp | Eggy115_Lisp/kgn/similarity.lisp | ;; tools for ranking similarity of any two things
(in-package #:kgn)
(defun compare-name-to-uri (name uri)
;; Assume URI is in the form <http://dbpedia.org/resource/United_States_Senate_career_of_Barack_Obama>
(let* ((last-slash-index (or (search "/" uri :from-end t) 0))
(uri-suffix (remove #\Spac... | 914 | Common Lisp | .lisp | 14 | 57.785714 | 137 | 0.673143 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | f2cd36b342f097e8a898faab59df5172eb1e8a448a100e76957f45310dcefece | 19,165 | [
-1
] |
19,166 | gen-output.lisp | Eggy115_Lisp/kgn/gen-output.lisp | (in-package #:kgn)
(defun write-to-output (sparql-string &key (output-stream t) (output-type :sparql))
nil)
| 115 | Common Lisp | .lisp | 3 | 35 | 84 | 0.7 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 97fdd00a96b27c27a7cb627ae42a97f7f840cfac7998ea0ebb4e246858476ac8 | 19,166 | [
-1
] |
19,167 | deliver.lisp | Eggy115_Lisp/kgn/deliver.lisp | ;; LispWorks, to be run from command line (not multiprocessing):
;;
;; lispworks -build deliver.lisp
(in-package "CL-USER")
(load-all-patches)
(load "~/quicklisp/setup.lisp")
(ql:quickload "kgn")
#|
(deliver 'kgn:kgn
#+:cocoa
(create-macos-application-bundle
"~/Knowledg... | 1,307 | Common Lisp | .lisp | 38 | 25.131579 | 90 | 0.590072 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 3efbf53525759f766a4a373486732ff92c26c0ab9d840bd3a76ebda05db49cc7 | 19,167 | [
-1
] |
19,168 | gui.lisp | Eggy115_Lisp/kgn/gui.lisp | ;;----------------------------------------------------------------------------
;; To try it, compile and load this file and then execute:
;;
;; (kgn::kgn)
;;
;;----------------------------------------------------------------------------
;; Copyright (c) 2020 Mark Watson. All rights reserved.
;;-------------... | 10,676 | Common Lisp | .lisp | 232 | 35.232759 | 339 | 0.57283 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | b1528c9fc404618945ce877e65bad81047112cb2f227b100cc1c77135d2633ce | 19,168 | [
-1
] |
19,169 | reasoning.lisp | Eggy115_Lisp/reasoning/reasoning.lisp | (require :agraph)
(in-package :db.agraph.user)
(create-triple-store "/tmp/rdfstore_2")
(register-namespace "rdf" "http://www.w3.org/1999/02/22-rdf-syntax-ns#")
(register-namespace "kb" "http:://knowledgebooks.com/ontology#")
(register-namespace "test_news" "http://news.yahoo.com/s/nm/20080616/ts_nm")
(enable-... | 5,022 | Common Lisp | .lisp | 131 | 34.282443 | 91 | 0.684463 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 0f415708eccd4d21969f84ad354a8bda6c1c869a9ba3b67198d0211c78485e71 | 19,169 | [
-1
] |
19,170 | backend.lisp | Eggy115_Lisp/web_app/backend.lisp | (push "../knowledgebooks_nlp/" asdf:*central-registry*)
(asdf:operate 'asdf:load-op :kbnlp)
(eval-when (compile load eval)
(require :aserve)
(require :agraph))
(defpackage :user (:use :net.aserve.client :kbnlp))
(in-package :user)
(db.agraph.user::enable-!-reader) ; enable the ! reader macro
(db.agr... | 4,129 | Common Lisp | .lisp | 77 | 45.688312 | 114 | 0.644295 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 98880c470cc7641359cc5a8bb41cd62d196924f5030c0b3cb5d04bb53565a0f2 | 19,170 | [
-1
] |
19,171 | webapp.lisp | Eggy115_Lisp/web_app/webapp.lisp | (eval-when (compile load eval)
(require :aserve)
(require :webactions)
(load "backend.lisp")
(load "../utils/file-utils.lisp"))
(defpackage :user (:use :net.aserve :net.html.generator))
(in-package :user)
(defun action-check-login (req ent)
(let ((session (websession-from-req req)))
(let ... | 6,150 | Common Lisp | .lisp | 131 | 39.671756 | 131 | 0.621111 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 647f6d6849ac2f4e4e1b03649a94cf778dddffba2da2aabca68e0d96627a9506 | 19,171 | [
-1
] |
19,172 | test.lisp | Eggy115_Lisp/web_app/test.lisp | (load "../utils/lisp-unit.lisp")
(use-package :lisp-unit)
(load "backend.lisp")
(lisp-unit:define-test "create-doc-test1"
(add-document "file:///test1.doc" "test title" "John Smith went to Mexico")
(pprint (db.agraph.user::print-triples (db.agraph.user::get-triples)))
(let ((person-list (db.agraph.user::g... | 1,386 | Common Lisp | .lisp | 31 | 40.322581 | 80 | 0.683544 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | dd4c48fae65d9f308ca2a5191e2ece8a61e0ec4fc41eea116d5218cfeab8a235 | 19,172 | [
-1
] |
19,173 | test.lisp | Eggy115_Lisp/geonames/test.lisp | (push "../utils/cl-json_0.4.0/" asdf:*central-registry*)
(asdf:operate 'asdf:load-op :cl-json)
(push "../utils/s-xml/" asdf:*central-registry*)
(asdf:operate 'asdf:load-op :s-xml)
(push "../utils/split-sequence/" asdf:*central-registry*)
(asdf:operate 'asdf:load-op :split-sequence)
(push "../utils/usocket-0... | 1,185 | Common Lisp | .lisp | 23 | 48.565217 | 75 | 0.695614 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | df5bf4deb027593b470e306c4d6845f6316190466a3a639029eb94e528bc23fd | 19,173 | [
-1
] |
19,174 | package.lisp | Eggy115_Lisp/kgcreator/package.lisp | ;;;; kgcreator.lisp
(defpackage #:kgcreator
(:use #:cl #:entities_dbpedia #:categorize_summarize #:myutils #:cl-who #:hunchentoot #:parenscript)
(:export kgcreator))
| 176 | Common Lisp | .lisp | 4 | 40.5 | 103 | 0.705882 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 8e45d6bb0ccd444c57eeb217d83142b051b0198ec30877eea631e4574910d03d | 19,174 | [
-1
] |
19,175 | kgcreator.lisp | Eggy115_Lisp/kgcreator/kgcreator.lisp | ;; KGCreator main program
(in-package #:kgcreator)
(ensure-directories-exist "temp/")
(defun get-files-and-meta (fpath)
(let ((data (directory (concatenate 'string fpath "/" "*.txt")))
(meta (directory (concatenate 'string fpath "/" "*.meta"))))
(if (not (equal (length data) (length meta)))
(... | 3,187 | Common Lisp | .lisp | 76 | 36.434211 | 371 | 0.646716 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 1efbcdb555c5a9af814be9eb81d9a1f45e40e708e669cb4cd3f11dea35332c74 | 19,175 | [
-1
] |
19,176 | neo4j.lisp | Eggy115_Lisp/kgcreator/neo4j.lisp | (in-package #:kgcreator)
(let ((*entity-nodes-hash*))
(defun cypher-from-files (output-file-path text-and-meta-pairs)
(setf *entity-nodes-hash* (make-hash-table :test #'equal :size 200))
;;(print (list "==> cypher-from-files"output-file-path text-and-meta-pairs ))
(with-open-file
(str output-... | 3,953 | Common Lisp | .lisp | 75 | 44.826667 | 106 | 0.628691 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 3eb3221b0612d92c0474b1ac7531a545649c69112aad7a182e1dd6a9e3317b0d | 19,176 | [
-1
] |
19,177 | web.lisp | Eggy115_Lisp/kgcreator/web.lisp | (in-package #:kgcreator)
(ql:quickload '(cl-who hunchentoot parenscript))
(setf (html-mode) :html5)
(defun write-files-run-code (a-uri raw-text)
(if (< (length raw-text) 10)
(list "not enough text" "not enough text")
;; generate random file number
(let* ((filenum (+ 1000 (random 5000)))
... | 3,530 | Common Lisp | .lisp | 79 | 37.962025 | 214 | 0.641212 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | bd2612f3e0ef9e0b795718e2bff97cefc1641d6e1166fd103b67079ae523fa32 | 19,177 | [
-1
] |
19,178 | rdf.lisp | Eggy115_Lisp/kgcreator/rdf.lisp | (in-package #:kgcreator)
(let ((*rdf-nodes-hash*))
(defun rdf-from-files (output-file-path text-and-meta-pairs)
(setf *rdf-nodes-hash* (make-hash-table :test #'equal :size 200))
(print (list "==> rdf-from-files" output-file-path text-and-meta-pairs ))
(with-open-file
(str output-file-p... | 3,675 | Common Lisp | .lisp | 62 | 43.66129 | 88 | 0.548441 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | eda60ce0d21bbdb8d372220cbc705dbe4bf834034b48ec532ccdb94a45a28c6a | 19,178 | [
-1
] |
19,179 | rdfext.lisp | Eggy115_Lisp/rdf/rdfext.lisp | ;; demonstration of AllegroGraph RDF extensions:
(require :agraph)
(in-package :db.agraph.user)
(create-triple-store "/tmp/rdfstore_1")
;; default data store is kept in *db*
*db*
(register-namespace "kb" "http://knowledgebooks.com/rdfs#")
(resource "http://demo_news/12931")
(defvar *demo-article* (res... | 708 | Common Lisp | .lisp | 15 | 43.866667 | 88 | 0.695394 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 1d9002283297a4108e4ca7eb9d2319a6ec4810028c9f5f8aed024acc07bd84d6 | 19,179 | [
-1
] |
19,180 | web-hunchentoot-example.lisp | Eggy115_Lisp/hunchentoot_examples/web-hunchentoot-example.lisp | (ql:quickload :hunchentoot)
(ql:quickload :cl-who)
(in-package :cl-user)
(defpackage hdemo
(:use :cl
:cl-who
:hunchentoot))
(in-package :hdemo)
(defvar *h* (make-instance 'easy-acceptor :port 3000))
;; define a handler with the arbitrary name my-greetings:
(define-easy-handler (my-gr... | 801 | Common Lisp | .lisp | 25 | 26 | 66 | 0.613577 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | f6b280c1bef718eee434e54d36b2a927fca6f6538c283941a87d9407cce74dc8 | 19,180 | [
-1
] |
19,181 | web-hunchentoot-json.lisp | Eggy115_Lisp/hunchentoot_examples/web-hunchentoot-json.lisp | (ql:quickload :hunchentoot)
(ql:quickload :cl-json)
(defvar *h* (make-instance 'hunchentoot:easy-acceptor :port 3000))
;; define a handler with the name animal:
(hunchentoot:define-easy-handler (animal :uri "/animal") (name)
(print name)
(setf (hunchentoot:content-type*) "text/plain")
(cond
((st... | 869 | Common Lisp | .lisp | 28 | 23.928571 | 67 | 0.588235 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 2c5a8721846d4e18d61c3d8cf85605f33dd32ba161a90c4f127d1cd6e277c6de | 19,181 | [
-1
] |
19,182 | in-memory.lisp | Eggy115_Lisp/flexi-streams-1.0.7/in-memory.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: FLEXI-STREAMS; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/flexi-streams/in-memory.lisp,v 1.31 2008/05/19 07:57:07 edi Exp $
;;; Copyright (c) 2005-2008, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or withou... | 17,724 | Common Lisp | .lisp | 365 | 39.969863 | 102 | 0.661997 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | f3335bfce978d67783f69eb05aee6a6e06faaf56973de4428ebfefd5ff6bf916 | 19,182 | [
336633
] |
19,183 | length.lisp | Eggy115_Lisp/flexi-streams-1.0.7/length.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: FLEXI-STREAMS; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/flexi-streams/length.lisp,v 1.6 2008/05/29 10:25:14 edi Exp $
;;; Copyright (c) 2005-2008, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
;... | 17,967 | Common Lisp | .lisp | 425 | 34.284706 | 93 | 0.608536 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 154e3b39b889ed56702b5e41c811bfeae7baf696fde59936092acd0e440b1f60 | 19,183 | [
123547
] |
19,184 | iso-8859.lisp | Eggy115_Lisp/flexi-streams-1.0.7/iso-8859.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: FLEXI-STREAMS; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/flexi-streams/iso-8859.lisp,v 1.7 2008/05/18 21:32:15 edi Exp $
;;; Copyright (c) 2005-2008, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
... | 16,875 | Common Lisp | .lisp | 45 | 371 | 1,099 | 0.723385 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 85c2117c117dfbaf651d0090cfd160990926a627b05f8e1c93bdd58b5f3a7254 | 19,184 | [
180185
] |
19,185 | encode.lisp | Eggy115_Lisp/flexi-streams-1.0.7/encode.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: FLEXI-STREAMS; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/flexi-streams/encode.lisp,v 1.26 2008/05/26 10:55:08 edi Exp $
;;; Copyright (c) 2005-2008, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
... | 14,448 | Common Lisp | .lisp | 259 | 42.355212 | 101 | 0.57667 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 3ff2c61505296d54201bbdd4f9d365be76622ac26b6af1da99e4aceb6fe8fb8d | 19,185 | [
434932
] |
19,186 | util.lisp | Eggy115_Lisp/flexi-streams-1.0.7/util.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: FLEXI-STREAMS; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/flexi-streams/util.lisp,v 1.24 2008/05/25 21:26:12 edi Exp $
;;; Copyright (c) 2005-2008, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
;;... | 8,318 | Common Lisp | .lisp | 175 | 40.657143 | 92 | 0.660602 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | fbe13e9ceebb65eee24cc5ffa559d006ea0d92365ae6790c0c571b4481fe91d5 | 19,186 | [
458577
] |
19,187 | koi8-r.lisp | Eggy115_Lisp/flexi-streams-1.0.7/koi8-r.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: FLEXI-STREAMS; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/flexi-streams/koi8-r.lisp,v 1.2 2008/05/18 21:32:15 edi Exp $
;;; Copyright (c) 2006, Igor Plekhov. All rights reserved.
;;; Copyright (c) 2006-2008, Dr. Edmund Weitz. All rights reserved.
;;; Redistri... | 2,877 | Common Lisp | .lisp | 29 | 96.517241 | 1,063 | 0.743472 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 0bb2c1600cab30e5d4b8b66c0be76e9d23bd0c2ed8f3d57b9a9c96b19ddf9245 | 19,187 | [
188031,
252341
] |
19,188 | io.lisp | Eggy115_Lisp/flexi-streams-1.0.7/io.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: FLEXI-STREAMS; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/flexi-streams/io.lisp,v 1.2 2008/05/20 23:44:45 edi Exp $
;;; Copyright (c) 2005-2008, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
;;; m... | 4,721 | Common Lisp | .lisp | 91 | 47.043956 | 92 | 0.7209 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | d3d09af46f19100207967dfaee201c1fe478de45442eb0880be2b83207fdd5e0 | 19,188 | [
138420,
494176
] |
19,189 | lw-char-stream.lisp | Eggy115_Lisp/flexi-streams-1.0.7/lw-char-stream.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: FLEXI-STREAMS; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/flexi-streams/lw-char-stream.lisp,v 1.1 2008/05/23 14:43:09 edi Exp $
;;; Copyright (c) 2005-2008, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or wi... | 3,729 | Common Lisp | .lisp | 66 | 51.318182 | 101 | 0.723977 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 569b3a1192920e1378fe6ba6f4bdc0c13c15bcf3152398ef4f67f630bb526bf1 | 19,189 | [
217287,
305295
] |
19,190 | output.lisp | Eggy115_Lisp/flexi-streams-1.0.7/output.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: FLEXI-STREAMS; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/flexi-streams/output.lisp,v 1.65 2008/05/24 23:15:25 edi Exp $
;;; Copyright (c) 2005-2008, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
... | 7,196 | Common Lisp | .lisp | 142 | 45.309859 | 101 | 0.715711 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 322ab3269a431a5d2849f48811a60feb313f6cd3741ae9593ad678e5d34f3a15 | 19,190 | [
43991,
92952
] |
19,191 | strings.lisp | Eggy115_Lisp/flexi-streams-1.0.7/strings.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: FLEXI-STREAMS; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/flexi-streams/strings.lisp,v 1.34 2008/05/26 10:55:08 edi Exp $
;;; Copyright (c) 2005-2008, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
... | 4,164 | Common Lisp | .lisp | 68 | 56.264706 | 95 | 0.730334 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 8cfab7fe45e37d3bb7543f3bfb3cf8a5561dea49a47fe5682fc74389ad42e96c | 19,191 | [
95834,
97745
] |
19,192 | specials.lisp | Eggy115_Lisp/flexi-streams-1.0.7/specials.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: FLEXI-STREAMS; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/flexi-streams/specials.lisp,v 1.33 2008/05/25 01:40:54 edi Exp $
;;; Copyright (c) 2005-2008, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without... | 7,399 | Common Lisp | .lisp | 175 | 36.834286 | 96 | 0.647182 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | cd06015e35ae463675dc07e921d7f62a522fe26b15aa30a90cb04695f229b8b3 | 19,192 | [
206277,
474594
] |
19,193 | decode.lisp | Eggy115_Lisp/flexi-streams-1.0.7/decode.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: FLEXI-STREAMS; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/flexi-streams/decode.lisp,v 1.35 2008/08/26 10:59:22 edi Exp $
;;; Copyright (c) 2005-2008, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
... | 26,075 | Common Lisp | .lisp | 447 | 37.250559 | 109 | 0.48448 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | b3cf965193e0d719c764e3dd988fa0e8b0c6acbca162c3b981b67e6bac63faef | 19,193 | [
174407,
228913
] |
19,194 | conditions.lisp | Eggy115_Lisp/flexi-streams-1.0.7/conditions.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: FLEXI-STREAMS; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/flexi-streams/conditions.lisp,v 1.9 2008/05/25 22:23:58 edi Exp $
;;; Copyright (c) 2005-2008, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or withou... | 4,843 | Common Lisp | .lisp | 90 | 48.611111 | 97 | 0.729374 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | fa441c8722bdf1bb81007a4b8e43cbc374d36cec89f336f882c831da86585ae9 | 19,194 | [
134905,
218061
] |
19,195 | stream.lisp | Eggy115_Lisp/flexi-streams-1.0.7/stream.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: FLEXI-STREAMS; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/flexi-streams/stream.lisp,v 1.61 2008/05/19 22:32:56 edi Exp $
;;; Copyright (c) 2005-2008, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
... | 10,833 | Common Lisp | .lisp | 214 | 43.817757 | 95 | 0.699139 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 652f0b19000364a285504190413cb90ce3d9a91108c788b66ed8fa9808169213 | 19,195 | [
217543
] |
19,196 | mapping.lisp | Eggy115_Lisp/flexi-streams-1.0.7/mapping.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: FLEXI-STREAMS; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/flexi-streams/mapping.lisp,v 1.3 2008/05/25 19:07:53 edi Exp $
;;; Copyright (c) 2005-2008, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
... | 3,224 | Common Lisp | .lisp | 65 | 45.523077 | 94 | 0.716933 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 207979b3d27d8f302265346a0b17c29c2b506ab57229f0b11e77a946c1090c9b | 19,196 | [
339939
] |
19,197 | ascii.lisp | Eggy115_Lisp/flexi-streams-1.0.7/ascii.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: FLEXI-STREAMS; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/flexi-streams/ascii.lisp,v 1.9 2008/05/18 21:32:15 edi Exp $
;;; Copyright (c) 2005-2008, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
;;... | 2,952 | Common Lisp | .lisp | 29 | 99.103448 | 1,197 | 0.755586 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | d4feaac701db5f5f9cd74d9421104f9b6b898c88814a2b47da30628be181eaed | 19,197 | [
77159
] |
19,198 | external-format.lisp | Eggy115_Lisp/flexi-streams-1.0.7/external-format.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: FLEXI-STREAMS; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/flexi-streams/external-format.lisp,v 1.24 2008/05/26 10:55:08 edi Exp $
;;; Copyright (c) 2005-2008, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or ... | 17,555 | Common Lisp | .lisp | 345 | 41.976812 | 103 | 0.652705 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | d903d78a72dd7c18534a9ac3241d8f0d9678e3d440b00175dd76f5e14b188008 | 19,198 | [
80993
] |
19,199 | input.lisp | Eggy115_Lisp/flexi-streams-1.0.7/input.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: FLEXI-STREAMS; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/flexi-streams/input.lisp,v 1.78 2008/05/25 19:25:44 edi Exp $
;;; Copyright (c) 2005-2008, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
;... | 13,585 | Common Lisp | .lisp | 275 | 40.861818 | 145 | 0.653101 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 5e081c26e5dd03a3e18683a5f46cd3d49b8823dc6d1a6bc575b0cd764f7a418a | 19,199 | [
357376,
365517
] |
19,200 | code-pages.lisp | Eggy115_Lisp/flexi-streams-1.0.7/code-pages.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: FLEXI-STREAMS; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/flexi-streams/code-pages.lisp,v 1.7 2008/05/18 21:32:15 edi Exp $
;;; Copyright (c) 2005-2008, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or withou... | 27,266 | Common Lisp | .lisp | 54 | 500.333333 | 1,135 | 0.730218 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 087101a130def815e88f981340ef0e688dbd2bb167b40445059a28b319647892 | 19,200 | [
243505
] |
19,201 | packages.lisp | Eggy115_Lisp/flexi-streams-1.0.7/packages.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/flexi-streams/packages.lisp,v 1.39 2008/05/30 07:50:31 edi Exp $
;;; Copyright (c) 2005-2008, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
;;; ... | 3,723 | Common Lisp | .lisp | 82 | 36.219512 | 96 | 0.645793 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 1f5b9e1dd721433e78564626d9cb3078ffe2ca8f82dd6d2ddb15d05b3dba3a70 | 19,201 | [
320892,
496217
] |
19,202 | packages.lisp | Eggy115_Lisp/flexi-streams-1.0.7/test/packages.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/flexi-streams/test/packages.lisp,v 1.8 2008/08/01 10:12:43 edi Exp $
;;; Copyright (c) 2006-2008, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
... | 1,842 | Common Lisp | .lisp | 32 | 52.9375 | 100 | 0.711581 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 6555298e05b6f4285828b8354b9dc3647653d5d7e1ccc49e641d2dd501579022 | 19,202 | [
433813
] |
19,203 | test.lisp | Eggy115_Lisp/flexi-streams-1.0.7/test/test.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: FLEXI-STREAMS-TEST; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/flexi-streams/test/test.lisp,v 1.40 2008/07/25 09:56:12 edi Exp $
;;; Copyright (c) 2006-2008, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or w... | 37,621 | Common Lisp | .lisp | 635 | 44.437795 | 112 | 0.565511 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 433d565dbb89c9097f066896f55e1fe0a8a06d35f8ce6a5938c9e79e140be2cf | 19,203 | [
383033
] |
19,204 | HTMLstream.lisp | Eggy115_Lisp/loving_snippets/HTMLstream.lisp | ;; Copyright Mark Watson 2001-2013. All Rights Reserved.
;; License: AGPL version 3 (http://www.gnu.org/licenses/agpl-3.0.txt)
;; Alternative license: you may also use this software under the Apache 2 License.
;; This copyright notice should not be removed from this file and in files derived from this file.
(defc... | 2,746 | Common Lisp | .lisp | 95 | 23.6 | 99 | 0.600766 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 907edb37f99b0e0c8e201d184ffbe5bffbd30bf643a203b99f74df2d3baee9ae | 19,204 | [
-1
] |
19,205 | lambda1.lisp | Eggy115_Lisp/loving_snippets/lambda1.lisp | (defun test1 ()
(let ((my-func
(lambda (x) (+ x 1))))
(funcall my-func 1)))
| 90 | Common Lisp | .lisp | 4 | 18 | 26 | 0.5 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 58ef1060e80240c4fd2c0023d7e84c889452d8cd7fd49a078e888d83aac24a01 | 19,205 | [
-1
] |
19,206 | astar_search.lisp | Eggy115_Lisp/loving_snippets/astar_search.lisp | ;; Perform a heuristic A* search between the start and goal nodes:
;;
;; Copyright 1990, 2017 by Mark Watson
(defun A*search (nodes paths start goal &aux possible-paths best)
(defun Y-coord (x) (truncate (cadr x)))
(defun X-coord (x) (truncate (car x)))
(defun dist-between-points (point1 point2)
... | 6,244 | Common Lisp | .lisp | 151 | 29.635762 | 80 | 0.526046 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 25ebca83760dbe1171e4bdc8250cd99244e4fda6b85cdd482e16799faac46063 | 19,206 | [
-1
] |
19,207 | macro1.lisp | Eggy115_Lisp/loving_snippets/macro1.lisp | ;; first simple macro example:
(defmacro double-list (a-list)
(let ((ret (gensym)))
`(let ((,ret nil))
(dolist (x ,a-list)
(setq ,ret (append ,ret (list x x))))
,ret)))
;; use the macro:
(defun test (x)
(double-list x))
| 269 | Common Lisp | .lisp | 10 | 21 | 47 | 0.541833 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | bcc011edffde8bb1b58f9e32cce7bd744bcaa2df310864dbf59800e07066ae74 | 19,207 | [
-1
] |
19,208 | Hopfield_neural_network.lisp | Eggy115_Lisp/loving_snippets/Hopfield_neural_network.lisp | ;; Common LISP Hopfield Network for associative memory recall.
;; Copyright 1989, 2017 by Mark Watson
;; Note: for more detailed comments and explanations of the code, please see
;; the book [Loving Common Lisp, or the Savvy Programmer's Secret Weapon](https://leanpub.com/lovinglisp)
;; that can be read free onli... | 7,976 | Common Lisp | .lisp | 152 | 41.059211 | 106 | 0.567613 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 50007417e6305c884837522643a78c4f49d84d2063135e0e91bf48fe97d4501a | 19,208 | [
-1
] |
19,209 | backprop_neural_network.lisp | Eggy115_Lisp/loving_snippets/backprop_neural_network.lisp | ;; File DeltaRule.Lisp
;; Copyright 1990, 2017 by Mark Watson
;; Note: for more detailed comments and explanations of the code, please see
;; the book [Loving Common Lisp, or the Savvy Programmer's Secret Weapon](https://leanpub.com/lovinglisp)
;; that can be read free online and is released under a Creative Comm... | 21,557 | Common Lisp | .lisp | 549 | 31.526412 | 106 | 0.57738 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | d59226f2a56430f439260066f36c5d7a748b1fb76223f1cd0b8378aa11dbba57 | 19,209 | [
-1
] |
19,210 | macro2.lisp | Eggy115_Lisp/loving_snippets/macro2.lisp | ;; another macro example that uses ,@:
(defmacro double-args (&rest args)
`(let ((ret nil))
(dolist (x ,@args)
(setq ret (append ret (list x x))))
ret))
;; use the macro:
(defun test (&rest x)
(double-args x))
| 243 | Common Lisp | .lisp | 9 | 22.333333 | 42 | 0.587719 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 6f9a948f46a2d489996554d025b79017726459ae601d8d72da11e67a93b70716 | 19,210 | [
-1
] |
19,211 | mongo_news.lisp | Eggy115_Lisp/loving_snippets/mongo_news.lisp | ;; Copyright Mark Watson 2001-2013. All Rights Reserved.
;; License: AGPL version 3 (http://www.gnu.org/licenses/agpl-3.0.txt)
;; Alternative license: you may also use this software under the Apache 2 License.
;; This copyright notice should not be removed from this file and in files derived from this file.
(ql:q... | 2,033 | Common Lisp | .lisp | 39 | 47.230769 | 132 | 0.666159 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | a18757740a3f8ab6e4bd94c5533122c671cf786fe99681b99fc4b6c638cb0064 | 19,211 | [
-1
] |
19,212 | test-xml-struct-dom.lisp | Eggy115_Lisp/s-xml/test/test-xml-struct-dom.lisp | ;;;; -*- mode: lisp -*-
;;;;
;;;; $Id: test-xml-struct-dom.lisp,v 1.2 2005/08/29 15:01:49 scaekenberghe Exp $
;;;;
;;;; Unit and functional tests for xml-struct-dom.lisp
;;;;
;;;; Copyright (C) 2002, 2004 Sven Van Caekenberghe, Beta Nine BVBA.
;;;;
;;;; You are granted the rights to distribute and use this soft... | 2,653 | Common Lisp | .lisp | 65 | 34.953846 | 112 | 0.616075 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | ceff9cd493e3a61eeb23eaed594faff87ba3ae10075bfbd5d79376d3d607bbee | 19,212 | [
449670
] |
19,213 | echo.lisp | Eggy115_Lisp/s-xml/test/echo.lisp | ;;;; -*- mode: lisp -*-
;;;;
;;;; $Id: echo.lisp,v 1.1 2005/08/17 13:44:30 scaekenberghe Exp $
;;;;
;;;; A simple example as well as a useful tool: parse, echo and pretty print XML
;;;;
;;;; Copyright (C) 2002, 2004 Sven Van Caekenberghe, Beta Nine BVBA.
;;;;
;;;; You are granted the rights to distribute and us... | 2,127 | Common Lisp | .lisp | 55 | 33.836364 | 102 | 0.664717 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 1dd68ec1234372e25ab83c597b353b1bc7cfe5c8f064d2e3b50a284bed734dc4 | 19,213 | [
134723,
134909
] |
19,214 | remove-markup.lisp | Eggy115_Lisp/s-xml/test/remove-markup.lisp | ;;;; -*- mode: lisp -*-
;;;;
;;;; $Id: remove-markup.lisp,v 1.1 2004/06/11 11:14:43 scaekenberghe Exp $
;;;;
;;;; Remove markup from an XML document using the SSAX interface
;;;;
;;;; Copyright (C) 2004 Sven Van Caekenberghe, Beta Nine BVBA.
;;;;
;;;; You are granted the rights to distribute and use this softwa... | 779 | Common Lisp | .lisp | 18 | 38.555556 | 87 | 0.642857 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 01112a1dd5a6a9d06837b70b7e89e1733fd6c622165948124cf880ce9c4e89cd | 19,214 | [
291499,
473466
] |
19,215 | tracer.lisp | Eggy115_Lisp/s-xml/test/tracer.lisp | ;;;; -*- mode: lisp -*-
;;;;
;;;; $Id: tracer.lisp,v 1.2 2004/06/11 11:14:43 scaekenberghe Exp $
;;;;
;;;; A simple SSAX tracer example that can be used to understand how the hooks are called
;;;;
;;;; Copyright (C) 2004 Sven Van Caekenberghe, Beta Nine BVBA.
;;;;
;;;; You are granted the rights to distribute a... | 2,262 | Common Lisp | .lisp | 49 | 37.857143 | 106 | 0.595357 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 4cee79e2b9df7b8c78a842eac621b520c71723b320b3142e6c513e46712f3fd3 | 19,215 | [
407834,
458873
] |
19,216 | test-sxml-dom.lisp | Eggy115_Lisp/s-xml/test/test-sxml-dom.lisp | ;;;; -*- mode: lisp -*-
;;;;
;;;; $Id: test-sxml-dom.lisp,v 1.1.1.1 2004/06/07 18:49:59 scaekenberghe Exp $
;;;;
;;;; Unit and functional tests for sxml-dom.lisp
;;;;
;;;; Copyright (C) 2002, 2004 Sven Van Caekenberghe, Beta Nine BVBA.
;;;;
;;;; You are granted the rights to distribute and use this software
;;... | 1,992 | Common Lisp | .lisp | 57 | 30.894737 | 99 | 0.611518 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 98d940f16af992e541f541aba6d6ec1e68cd8d125862654482ea2f7abb4a055e | 19,216 | [
409008
] |
19,217 | test-xml.lisp | Eggy115_Lisp/s-xml/test/test-xml.lisp | ;;;; -*- mode: lisp -*-
;;;;
;;;; $Id: test-xml.lisp,v 1.3 2005/11/06 12:44:48 scaekenberghe Exp $
;;;;
;;;; Unit and functional tests for xml.lisp
;;;;
;;;; Copyright (C) 2002, 2004 Sven Van Caekenberghe, Beta Nine BVBA.
;;;;
;;;; You are granted the rights to distribute and use this software
;;;; as governed... | 2,355 | Common Lisp | .lisp | 69 | 29.130435 | 104 | 0.616851 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | b63e0e394780cc79792b6f488a845df645d618e0e39757737c891390b54b23ab | 19,217 | [
117400
] |
19,218 | counter.lisp | Eggy115_Lisp/s-xml/test/counter.lisp | ;;;; -*- mode: lisp -*-
;;;;
;;;; $Id: counter.lisp,v 1.2 2004/06/11 11:14:43 scaekenberghe Exp $
;;;;
;;;; A simple SSAX counter example that can be used as a performance test
;;;;
;;;; Copyright (C) 2004 Sven Van Caekenberghe, Beta Nine BVBA.
;;;;
;;;; You are granted the rights to distribute and use this sof... | 1,675 | Common Lisp | .lisp | 40 | 36.9 | 94 | 0.678814 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 760df4611e48de2988fc9c68181ab976b0e50c9635c6317693165b8c0b841b93 | 19,218 | [
152951,
384134
] |
19,219 | test-lxml-dom.lisp | Eggy115_Lisp/s-xml/test/test-lxml-dom.lisp | ;;;; -*- mode: lisp -*-
;;;;
;;;; $Id: test-lxml-dom.lisp,v 1.2 2005/11/06 12:44:48 scaekenberghe Exp $
;;;;
;;;; Unit and functional tests for lxml-dom.lisp
;;;;
;;;; Copyright (C) 2002, 2004 Sven Van Caekenberghe, Beta Nine BVBA.
;;;;
;;;; You are granted the rights to distribute and use this software
;;;; a... | 2,529 | Common Lisp | .lisp | 65 | 32.830769 | 118 | 0.593994 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 692611c834073444fa0aef420af8bb7c219b1c45bdfdc913b087d03dc426aded | 19,219 | [
472210
] |
19,220 | all-tests.lisp | Eggy115_Lisp/s-xml/test/all-tests.lisp | ;;;; -*- mode: lisp -*-
;;;;
;;;; $Id: all-tests.lisp,v 1.1.1.1 2004/06/07 18:49:58 scaekenberghe Exp $
;;;;
;;;; Load and execute all unit and functional tests
;;;;
;;;; Copyright (C) 2002, 2004 Sven Van Caekenberghe, Beta Nine BVBA.
;;;;
;;;; You are granted the rights to distribute and use this software
;;;... | 755 | Common Lisp | .lisp | 16 | 45.0625 | 75 | 0.686141 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | aad400b5da445d996bdff855f7ff9adb3bd87aac0ae0d0055a47e5fc43572c85 | 19,220 | [
189786
] |
19,223 | xml.lisp | Eggy115_Lisp/s-xml/src/xml.lisp | ;;;; -*- mode: lisp -*-
;;;;
;;;; $Id: xml.lisp,v 1.14 2005/11/20 14:24:34 scaekenberghe Exp $
;;;;
;;;; This is a Common Lisp implementation of a basic but usable XML parser.
;;;; The parser is non-validating and not complete (no CDATA).
;;;; Namespace and entities are handled.
;;;; The API into the parser is a... | 29,560 | Common Lisp | .lisp | 592 | 40.059122 | 112 | 0.616432 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 8cbbdafff4de044fda61a19990507b7e1535c6eff8196936f2cf0325b3c96334 | 19,223 | [
59130
] |
19,224 | sxml-dom.lisp | Eggy115_Lisp/s-xml/src/sxml-dom.lisp | ;;;; -*- mode: lisp -*-
;;;;
;;;; $Id: sxml-dom.lisp,v 1.5 2005/11/20 14:34:15 scaekenberghe Exp $
;;;;
;;;; LXML implementation of the generic DOM parser and printer.
;;;;
;;;; Copyright (C) 2003, 2004 Sven Van Caekenberghe, Beta Nine BVBA.
;;;;
;;;; You are granted the rights to distribute and use this softwa... | 3,089 | Common Lisp | .lisp | 67 | 34.641791 | 90 | 0.557923 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | c41dbef98403147731456fb82a223c1bb9c4b1e8fe53ef5c3e9bb5b7f2198adb | 19,224 | [
83459
] |
19,226 | xml-struct-dom.lisp | Eggy115_Lisp/s-xml/src/xml-struct-dom.lisp | ;;;; -*- mode: lisp -*-
;;;;
;;;; $Id: xml-struct-dom.lisp,v 1.3 2005/09/20 09:57:48 scaekenberghe Exp $
;;;;
;;;; XML-STRUCT implementation of the generic DOM parser and printer.
;;;;
;;;; Copyright (C) 2002, 2004 Sven Van Caekenberghe, Beta Nine BVBA.
;;;;
;;;; You are granted the rights to distribute and use... | 5,111 | Common Lisp | .lisp | 107 | 40.392523 | 95 | 0.652375 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 9cffaded928f8a64568b5cd2c84760b52b791db67abc057c583da0a600777142 | 19,226 | [
246329
] |
19,227 | util.lisp | Eggy115_Lisp/drakma-1.2.3/util.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: DRAKMA; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/drakma/util.lisp,v 1.36 2008/05/30 11:30:45 edi Exp $
;;; Copyright (c) 2006-2010, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
;;; modification... | 15,445 | Common Lisp | .lisp | 304 | 41.720395 | 106 | 0.624602 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | ce3fa50c04756b3fbafda7d8743fe8a182ef660e05051ca95b058ad151e260e6 | 19,227 | [
-1
] |
19,228 | specials.lisp | Eggy115_Lisp/drakma-1.2.3/specials.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: DRAKMA; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/drakma/specials.lisp,v 1.19 2008/01/14 01:57:02 edi Exp $
;;; Copyright (c) 2006-2010, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
;;; modifica... | 7,606 | Common Lisp | .lisp | 197 | 30.705584 | 89 | 0.577866 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | f7440660b49413752e4f3651004b1fc27ce55985e342b82c909f43f63c28e8fe | 19,228 | [
-1
] |
19,229 | read.lisp | Eggy115_Lisp/drakma-1.2.3/read.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: DRAKMA; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/drakma/read.lisp,v 1.17 2008/05/25 11:35:20 edi Exp $
;;; Copyright (c) 2006-2010, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
;;; modification... | 6,335 | Common Lisp | .lisp | 110 | 48.209091 | 92 | 0.648121 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 7d75719f344617ffa1e298941b81c06727f14e721e515d5e78e4d6070f2882ca | 19,229 | [
-1
] |
19,230 | conditions.lisp | Eggy115_Lisp/drakma-1.2.3/conditions.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: ODD-STREAMS; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/odd-streams/conditions.lisp,v 1.5 2007/12/31 01:08:45 edi Exp $
;;; Copyright (c) 2008-2010, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
;... | 4,650 | Common Lisp | .lisp | 89 | 47.707865 | 95 | 0.743641 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 3baa273ea05f9b9ba40fe6f73bd8e354b78b17a4bfb799da9f65de93f0d16526 | 19,230 | [
-1
] |
19,231 | cookies.lisp | Eggy115_Lisp/drakma-1.2.3/cookies.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: DRAKMA; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/drakma/cookies.lisp,v 1.15 2008/01/14 01:57:01 edi Exp $
;;; Copyright (c) 2006-2010, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
;;; modificat... | 14,948 | Common Lisp | .lisp | 284 | 43.123239 | 109 | 0.634357 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | a1f93684a6ca4f128c6ebb3dfadf74c56d69a0a4c7a2890d4cda7f264be784d7 | 19,231 | [
-1
] |
19,232 | packages.lisp | Eggy115_Lisp/drakma-1.2.3/packages.lisp | ;;; -*- Mode: LISP; Syntax: COMMON-LISP; Package: CL-USER; Base: 10 -*-
;;; $Header: /usr/local/cvsrep/drakma/packages.lisp,v 1.22 2008/01/14 01:57:01 edi Exp $
;;; Copyright (c) 2006-2010, Dr. Edmund Weitz. All rights reserved.
;;; Redistribution and use in source and binary forms, with or without
;;; modific... | 2,870 | Common Lisp | .lisp | 64 | 36.625 | 89 | 0.647923 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 424000c4ec8b55e932fbd5a4972fd73f8a621b80425c262cc63875b1da2826f1 | 19,232 | [
-1
] |
19,233 | api.lisp | Eggy115_Lisp/cl-geonames/test/api.lisp | ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; *************************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name: api.lisp
;;;; Purpose: Unit Tests for the Common Lisp Geonames API.
;;;; Programmer: Nicolas Lamirault <nicolas.la... | 9,782 | Common Lisp | .lisp | 168 | 49.880952 | 104 | 0.60855 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 7cb81fef25bf4f6f894ad729cb16b2a15b3340b0b805c0fc5252dd2c3b2b6652 | 19,233 | [
2954
] |
19,234 | package.lisp | Eggy115_Lisp/cl-geonames/test/package.lisp | ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; *************************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name: package.lisp
;;;; Purpose: Package definition file for cl-geonames-test
;;;; Programmer: Nicolas Lamirault <nicola... | 892 | Common Lisp | .lisp | 19 | 44.315789 | 80 | 0.553633 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | ad94b6f903babaf2477d66768b3a230e5c79108d84318851e0c9b54696b85d09 | 19,234 | [
137913
] |
19,235 | specials.lisp | Eggy115_Lisp/cl-geonames/test/specials.lisp | ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; *************************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name: specials.lisp
;;;; Purpose: Some variables used by the Common Lisp Geonames API Unit Tests.
;;;; Programmer: Nicol... | 986 | Common Lisp | .lisp | 20 | 46.25 | 84 | 0.579832 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 953f466bd716f282f6a4ebf7136933ad570390634fc3ff791382d01fb32a4382 | 19,235 | [
256535
] |
19,236 | definition.lisp | Eggy115_Lisp/cl-geonames/test/definition.lisp | ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; *************************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name: definition.lisp
;;;; Purpose: Definition of the Common Lisp Geonames API Unit Tests.
;;;; Programmer: Nicolas Lami... | 844 | Common Lisp | .lisp | 17 | 46.941176 | 80 | 0.547239 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | e99c844f8ab58430b3603c85dce6ebc84b9e8fe0f711cd2266b6aaf3a1e247a8 | 19,236 | [
399674
] |
19,237 | unit-tests.lisp | Eggy115_Lisp/cl-geonames/test/unit-tests.lisp | ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; *************************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name: unit-tests.lisp
;;;; Purpose: Common Lisp Geonames API Unit Tests.
;;;; Programmer: Nicolas Lamirault <nicolas.lam... | 1,056 | Common Lisp | .lisp | 22 | 42.090909 | 80 | 0.52832 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 9fea2d57f6c20a19bcf1c82964845bcd850330df7ba3ceeb6c2018885eaa4b76 | 19,237 | [
201108
] |
19,238 | package.lisp | Eggy115_Lisp/cl-geonames/src/package.lisp | ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; *************************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name: package.lisp
;;;; Purpose: Package definition file for cl-geonames
;;;; Programmer: Nicolas Lamirault <nicolas.lam... | 1,504 | Common Lisp | .lisp | 38 | 31.578947 | 82 | 0.529737 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 002ead1866a05c0de84f577c404eed5a0b783342014d68d44732844203984e4e | 19,238 | [
453738
] |
19,239 | specials.lisp | Eggy115_Lisp/cl-geonames/src/specials.lisp | ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; *************************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name: specials.lisp
;;;; Purpose: cl-geonames specials informations.
;;;; Programmer: Nicolas Lamirault <nicolas.lamirau... | 2,499 | Common Lisp | .lisp | 42 | 55.452381 | 85 | 0.694236 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 74674b12a682080d0f42de7a5298c715d9289f2bd953a4e609efefb759488b42 | 19,239 | [
-1
] |
19,240 | conditions.lisp | Eggy115_Lisp/cl-geonames/src/conditions.lisp | ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; *************************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name: conditions.lisp
;;;; Purpose: cl-geonames conditions.
;;;; Programmer: Nicolas Lamirault <nicolas.lamirault@gmail.... | 2,007 | Common Lisp | .lisp | 44 | 39.090909 | 82 | 0.601446 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | d5d15f439852bf94ce75217425664419fe7f4b7985527908c9212b137a6d981e | 19,240 | [
-1
] |
19,241 | ut-cover.lisp | Eggy115_Lisp/cl-geonames/misc/ut-cover.lisp | ;;;; -*- Mode: LISP; Syntax: ANSI-Common-Lisp; Base: 10 -*-
;;;; *************************************************************************
;;;; FILE IDENTIFICATION
;;;;
;;;; Name: ut-cover.lisp
;;;; Purpose: Unit tests coverage.
;;;; Programmer: Nicolas Lamirault <nicolas.lamirault@gmail.com>
... | 997 | Common Lisp | .lisp | 21 | 45 | 82 | 0.576605 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | e516f9c8b6fdb0a9cc444537b02a8f5be9765dc16c4ba99ccb94032f1c81826f | 19,241 | [
-1
] |
19,242 | package.lisp | Eggy115_Lisp/openai/package.lisp | ;;;; package.lisp
(defpackage #:openai
(:use #:cl #:uiop #:cl-json)
(:export #:completions #:summarize #:answer-question))
| 133 | Common Lisp | .lisp | 4 | 29.75 | 57 | 0.645669 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 0182de727122de1e75deb4856fdf27422a80b2522a02f091c218890f4cbd28d0 | 19,242 | [
-1
] |
19,243 | openai.lisp | Eggy115_Lisp/openai/openai.lisp | (in-package #:openai)
;; define the environment variable "OPENAI_KEY" with the value of your OpenAI API key
(defvar openai-davinci-model-host "https://api.openai.com/v1/engines/davinci/completions")
(defun openai-helper (curl-command)
(let ((response
(uiop:run-program
curl-command
... | 3,335 | Common Lisp | .lisp | 60 | 46.25 | 662 | 0.605287 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | bd631866d26c58fa127aa7c5fd7264a1ee231aa6334e07ada6c16c7ca51ed337 | 19,243 | [
-1
] |
19,244 | opencalais-lib.lisp | Eggy115_Lisp/opencalais/opencalais-lib.lisp | ;; Copyright Mark Watson 2008-2010. All Rights Reserved.
;; License: LGPL version 3 (http://www.gnu.org/licenses/lgpl-3.0.txt)
;;(eval-when (compile load eval)
;; (require :aserve)) ;; to pick up client library
;;(require :agraph))
(require :aserve)
(push "../utils/split-sequence/" asdf:*central-registry*... | 2,995 | Common Lisp | .lisp | 56 | 45.142857 | 446 | 0.639013 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | c98b9627f4f4aa2b23f95957d717627205e657919edb56ff019feac027438947 | 19,244 | [
-1
] |
19,245 | opencalais-data-store.lisp | Eggy115_Lisp/opencalais/opencalais-data-store.lisp | ;; Use the opencalais-lib.lisp utilities to create
;; an RDF data store. Assume that a AG RDF repository is open.
;; Copyright Mark Watson 2008-2010. All Rights Reserved.
;; License: LGPL version 3 (http://www.gnu.org/licenses/lgpl-3.0.txt)
(require :agraph)
(in-package :db.agraph.user )
(enable-!-reader)
... | 1,513 | Common Lisp | .lisp | 33 | 38.636364 | 105 | 0.65847 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | d2aee1dbecad981d26fd4e1cf5a67475df5bb57e16d02dbdb16f99b28704194c | 19,245 | [
-1
] |
19,246 | load.lisp | Eggy115_Lisp/opencalais/load.lisp | ;; load and run Open Calais example
(load "opencalais-lib")
;;(setf x (cl-user::entities-from-opencalais-query "Senator Hiliary Clinton spoke with the president of France. Clinton and John Smith talked on the airplane going to California. IBM and Pepsi contributed to Clinton's campaign."))
(load "opencalais-da... | 360 | Common Lisp | .lisp | 5 | 68.4 | 231 | 0.772334 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | e202e152edde84f1efcd83b0d12581ea2af2229fd8e7edb469164a0dc473aed5 | 19,246 | [
-1
] |
19,247 | test-opencalais.lisp | Eggy115_Lisp/opencalais/test-opencalais.lisp | (require :agraph)
(in-package :db.agraph.user)
(create-triple-store "/tmp/rdfstore_1")
;;(cl-user::add-entities-to-rdf-store !<http://newsdemo.com/1234> "Senator Hiliary Clinton spoke with the president of France. Clinton and John Smith talked on the airplane going to California. IBM and Pepsi contributed to C... | 533 | Common Lisp | .lisp | 10 | 49.9 | 247 | 0.741748 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 26635fb05f3d4ea004cbaa10feb79c7920b27bd5204230310bf57e61b5b8b896 | 19,247 | [
-1
] |
19,248 | parse.lisp | Eggy115_Lisp/yason/parse.lisp | ;; This file is part of yason, a Common Lisp JSON parser/encoder
;;
;; Copyright (c) 2008 Hans Hübner
;; All rights reserved.
;;
;; Please see the file LICENSE in the distribution.
(in-package :yason)
(defconstant +default-string-length+ 20
"Default length of strings that are created while reading json i... | 7,186 | Common Lisp | .lisp | 182 | 29.450549 | 99 | 0.554167 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 281a4430534e97dc74ac4fb048b2a2ef598c31d3c1b9e794a3472719cc068851 | 19,248 | [
-1
] |
19,249 | encode.lisp | Eggy115_Lisp/yason/encode.lisp | ;; This file is part of yason, a Common Lisp JSON parser/encoder
;;
;; Copyright (c) 2008 Hans Hübner
;; All rights reserved.
;;
;; Please see the file LICENSE in the distribution.
(in-package :yason)
(defvar *json-output*)
(defgeneric encode (object &optional stream)
(:documentation "Encode OBJECT ... | 9,265 | Common Lisp | .lisp | 228 | 34.991228 | 88 | 0.67113 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 3cb3ccd5d2475fdd1a21990ca4c136b589e5cbb99f9dd8d0652396ba42b4961a | 19,249 | [
-1
] |
19,250 | package.lisp | Eggy115_Lisp/yason/package.lisp | ;; This file is part of yason, a Common Lisp JSON parser/encoder
;;
;; Copyright (c) 2008 Hans Hübner
;; All rights reserved.
;;
;; Please see the file LICENSE in the distribution.
(defpackage :yason
(:use :cl)
(:nicknames :json)
(:export
;; Parser
#:parse
#:*parse-object-key-fn*
... | 880 | Common Lisp | .lisp | 36 | 19.722222 | 65 | 0.653012 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 539d0d79185401c1daa14111b7d122235462c8957b20da79299d5a5dfd13da85 | 19,250 | [
-1
] |
19,251 | coref.lisp | Eggy115_Lisp/coref_web_client/coref.lisp | ;;;; coref.lisp
(in-package #:coref)
;; (ql:quickload :do-urlencode)
(defvar base-url "http://127.0.0.1:8000?text=")
(defun coref-client (query)
(let ((the-bytes
(drakma:http-request
(concatenate 'string
base-url
(do-urlencode:urlencode query)
"&no_detail=1")
:co... | 633 | Common Lisp | .lisp | 17 | 31.823529 | 73 | 0.659432 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | eb4376dc4de5722b2c3d54bd6d73f60f3c4b02815c95b59f67bf0558e7f7ae59 | 19,251 | [
-1
] |
19,252 | clml_test.lisp | Eggy115_Lisp/clml_examples/clml_test.lisp | ;; note; run SBCL using: sbcl --dynamic-space-size 2560
(ql:quickload '(:clml
:clml.utility ; Need clml.utility.data to get data from the net
:clml.hjs ; Need clml.hjs.read-data to poke around the raw dataset
:clml.pca
:clml.clustering
... | 3,783 | Common Lisp | .lisp | 81 | 37.740741 | 121 | 0.626496 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 5d9faf2e91d87b0b06d4e78cf9e4d071b29d757a4dd10c4f28c9c8b9f290eda6 | 19,252 | [
-1
] |
19,253 | package.lisp | Eggy115_Lisp/clml_examples/package.lisp | ;;;; package.lisp
(defpackage #:clmltest
(:use #:cl #:clml.hjs.read-data)
(:export similar-word-test classify-k-nn clml-cancer-data-svm-example
clml-read-data-example clml-kmeans-example clml-tests-example))
(print "!!!!! defpackage clmltest package.lisp loaded.")
| 285 | Common Lisp | .lisp | 6 | 43.166667 | 72 | 0.721612 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | cb6f7f75d38c4128d9b985b123dc582b387b7a7c6f4d9a2af4a617004d716b41 | 19,253 | [
-1
] |
19,254 | clml_kmeans_clustering.lisp | Eggy115_Lisp/clml_examples/clml_kmeans_clustering.lisp | ;; note; run SBCL using: sbcl --dynamic-space-size 2560
(ql:quickload '(:clml
:clml.hjs ; utilities
:clml.clustering))
(in-package #:clmltest)
;; folowing is derived from test code in CLML:
(defun cluster-using-k-nn (test train objective-param-name manhattan)
(let (origin... | 1,768 | Common Lisp | .lisp | 37 | 37.567568 | 121 | 0.606043 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | e77708f82c058b2bb43e1ed2b698f2c580ef38a85f43146660e3ba24ac53b144 | 19,254 | [
-1
] |
19,255 | clml_data_apis.lisp | Eggy115_Lisp/clml_examples/clml_data_apis.lisp | ;; note; run SBCL using: sbcl --dynamic-space-size 2560
(ql:quickload '(:clml
:clml.hjs)) ; read data sets
(in-package #:clmltest)
(defun read-data ()
(let ((train1
(clml.hjs.read-data:read-data-from-file
"../machine_learning_data/labeled_cancer_training_data.csv"
... | 798 | Common Lisp | .lisp | 20 | 31.4 | 78 | 0.604167 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 1c4c775bfd465c6855140aec9944553c55f449e418fb4ab50af0b6d629d57d9a | 19,255 | [
-1
] |
19,256 | info.lisp | Eggy115_Lisp/clml_examples/info.lisp | (terpri)
(terpri)
(princ "*************CLML Examples packacke loaded *****")
(terpri)
(princ "Try running:")
(terpri)
(princ "(in-package #:clmltest)")
(terpri)
(princ "(clml-cancer-data-svm-example)")
(terpri)
(princ "(clml-read-data-example)")
(terpri)
(princ "(clml-kmeans-example)")
(terpri)
(princ "(c... | 364 | Common Lisp | .lisp | 17 | 19.294118 | 59 | 0.649275 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 11d402c6e9710ed6e1e01462ac930d138abbf1b0d6cad812aa9fc56b9ab454d9 | 19,256 | [
-1
] |
19,257 | clml_svm_classifier.lisp | Eggy115_Lisp/clml_examples/clml_svm_classifier.lisp | ;; note; run SBCL using: sbcl --dynamic-space-size 2560
(ql:quickload '(:clml
:clml.hjs ; utilities
:clml.svm))
;;(defpackage #:clml-svm-classifier-example1
;; (:use #:cl #:clml.hjs.read-data))
(in-package #:clmltest)
(defun svm-classifier-test (kernel train test)
"tra... | 3,546 | Common Lisp | .lisp | 76 | 36.447368 | 86 | 0.595652 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | c991af4396c0472882b52cee7e2aab7e90156d5ecbf8b7828c160a25fd91243d | 19,257 | [
-1
] |
19,258 | package.lisp | Eggy115_Lisp/trivial-gray-streams-2008-11-02/package.lisp | (in-package :trivial-gray-streams-system)
#+cmu
(eval-when (:compile-toplevel :load-toplevel :execute)
(require :gray-streams))
#+allegro
(eval-when (:compile-toplevel :load-toplevel :execute)
(unless (fboundp 'stream:stream-write-string)
(require "streamc.fasl")))
#+ecl
(eval-when (:compile-topl... | 1,722 | Common Lisp | .lisp | 45 | 31.333333 | 73 | 0.652487 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 07ddd754cfb6ddc019f86acb73dd4d953629a38404991fac9c569b05e3704ad2 | 19,258 | [
147173
] |
19,259 | mixin.lisp | Eggy115_Lisp/trivial-gray-streams-2008-11-02/mixin.lisp | (in-package :trivial-gray-streams)
(defclass trivial-gray-stream-mixin () ())
(defgeneric stream-read-sequence
(stream sequence start end &key &allow-other-keys))
(defgeneric stream-write-sequence
(stream sequence start end &key &allow-other-keys))
(defgeneric stream-file-position (stream))
(defgen... | 6,000 | Common Lisp | .lisp | 132 | 40.204545 | 80 | 0.710553 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 5d227d92fc054ed092d9ea76d999f1d3a3fd0db05819469e7a5c3a2f5c77f038 | 19,259 | [
298331
] |
19,260 | package.lisp | Eggy115_Lisp/lw-grapher/package.lisp | ;;;; package.lisp
(defpackage :lw-grapher
(:use #:cl #:CAPI)
(:export #:grapher #:info-pane-grapher #:make-text-node #:make-info-panel-grapher))
| 157 | Common Lisp | .lisp | 4 | 35.25 | 86 | 0.66443 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 7bb91802cae9bb3fc5d05e3bfa098a2d46f9d6a1a185bad9029c7d7193bd5ab5 | 19,260 | [
-1
] |
19,261 | lw-grapher.lisp | Eggy115_Lisp/lw-grapher/lw-grapher.lisp | (in-package :lw-grapher)
;; A simple Grapher using the layout algorithm from the ISI-Grapher user guide
;; Some code derived from LispWorks CAPI examples drag-and-drop.lisp and circled-graph-nodes.lisp
(defclass text-node (capi:pinboard-object)
((text :initarg :text :reader text-node-text)
(string-x-off... | 7,655 | Common Lisp | .lisp | 172 | 30.197674 | 100 | 0.49819 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 937061b05d27415220a58f5965bea7ddc77b3775b68e5f2e026cde6b8c479be0 | 19,261 | [
-1
] |
19,262 | info-pane-grapher.lisp | Eggy115_Lisp/lw-grapher/info-pane-grapher.lisp | (in-package :lw-grapher)
;; A Grapher (using the layout algorithm from the ISI-Grapher user guide) with an info panel
(defun make-info-panel-grapher (h-root-name-list h-edge-list h-callback-function-click h-callback-function-shift-click)
(format t "++ make-info-panel-grapher: h-root-name-list: ~S h-edge-list:... | 5,641 | Common Lisp | .lisp | 92 | 36.184783 | 130 | 0.454016 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | ed288ac0bde7c0b90e4b03c3ea9b8367fd22f4c5152f1ebb1cb6dff89ccf3009 | 19,262 | [
-1
] |
19,263 | grapher.lisp | Eggy115_Lisp/lw-grapher/grapher.lisp | (in-package :lw-grapher)
;; A simple Grapher using the layout algorithm from the ISI-Grapher user guide
(defun graph-layout (self &key force)
(declare (ignore force))
(let* ((nodes (capi:graph-pane-nodes self))
(last-y 0)
(horizontal-spacing 35)
(vertical-spacing 24)
... | 4,718 | Common Lisp | .lisp | 104 | 31.038462 | 117 | 0.496303 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | f2dcef071bf3c467bfe2e35072373ff4ef5b7af3f4d600529c3ddbba5328c3a1 | 19,263 | [
-1
] |
19,264 | text-node.lisp | Eggy115_Lisp/lw-grapher/text-node.lisp | (in-package :lw-grapher)
;; A text node class for use with simple Grapher and info panel Grapher
(defclass text-node (capi:pinboard-object)
((text :initarg :text :reader text-node-text)
(full-text :initarg :full-text :reader text-node-full-text)
(string-x-offset :accessor text-node-string-x-offset)
... | 3,109 | Common Lisp | .lisp | 62 | 35.419355 | 156 | 0.535397 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 3d71eb43130a230c19d74f5b0af2969c8b67f5573272a2adbbe3961736351cc1 | 19,264 | [
-1
] |
19,265 | package.lisp | Eggy115_Lisp/wolfram/package.lisp | (defpackage #:wolfram
(:use #:cl #:uiop)
(:export #:wolfram #:cleanup-lists #:find-answer-in-text #:entities))
| 120 | Common Lisp | .lisp | 3 | 36 | 72 | 0.652174 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 3afa8d983180d6dfd2cb7e9ab500d22858e691da2966abe51459a334a4e2ba1c | 19,265 | [
-1
] |
19,266 | wolfram.lisp | Eggy115_Lisp/wolfram/wolfram.lisp | (in-package #:wolfram)
(defun wolfram (statement)
(uiop:run-program (concatenate 'string "wolframscript -code 'Export[\"test44.txt\","
statement ",\"ExpressionJSON\"]'"))
(let* ((ret (uiop:read-file-string "test44.txt")))
(delete-file "test44.txt")
(with-input-from-string (s (myutils:replace-al... | 1,141 | Common Lisp | .lisp | 24 | 42.583333 | 216 | 0.661831 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 476be313542d1fecb0e908d2f5d3f97f3e733e8ec9ddc691c612368626957ca4 | 19,266 | [
-1
] |
19,267 | test.lisp | Eggy115_Lisp/db_sqlite/test.lisp | (dbi:with-connection (conn :sqlite3 :database-name "test.db")
(let* ((query (dbi:prepare conn "SELECT sql FROM sqlite_master WHERE type='table' and name='test'"))
(result (dbi:execute query)))
(loop for row = (dbi:fetch result)
while row
do (format t "meta data: ~A~%" row))))
(defva... | 697 | Common Lisp | .lisp | 17 | 34.176471 | 103 | 0.58457 | Eggy115/Lisp | 2 | 2 | 0 | GPL-3.0 | 9/19/2024, 11:28:00 AM (Europe/Amsterdam) | 7205a12ed2213a60e1e40a5dda062f7d37fc83581886d6910c2b58213f4024f5 | 19,267 | [
-1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.