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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
14,039 | 实用编程第3章.lisp | zhlisp_zhlisp/ZHLISP中文编程示例代码/实用编程第3章.lisp | ;;3.1 音乐和记录
(列表 1 2 3)
(列表 :a 1 :b 2 :c 3)
(读符号值 (列表 :a 1 :b 2 :c 3) :a)
(读符号值 (列表 :a 1 :b 2 :c 3) :c)
(函数 录入音乐 (标题 艺术家 评分 转格式)
(列表 :标题 标题 :艺术家 艺术家 :评分 评分 :转格式 转格式))
(录入音乐 "卡路里" "火箭少女101" 7 t)
;;3.2 录入音乐
(空值全局变量 *音乐数据* nil)
(函数 添加记录 (音乐) (添加 音乐 *音乐数据*))
(添加记录 (录入音乐 "卡路里" "火箭少女101" 7 t))
(添加记录 (录入音乐 "三生三世" "张... | 7,712 | Common Lisp | .lisp | 203 | 20.477833 | 60 | 0.463469 | zhlisp/zhlisp | 6 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 243a74960330347d62a7b8fc9793337bd4207d1c012b6ee7299dcc245fdb7376 | 14,039 | [
-1
] |
14,040 | 中文lisp猜数字游戏.LISP | zhlisp_zhlisp/ZHLISP中文编程示例代码/中文lisp猜数字游戏.LISP | ;;;;使用LispWorks加载本文件,便可以使用中文的函数名、操作符、宏名,可自函数或添加名称。
;;;;只汉化了一小部分,英文和中文字称可同时使用,因为只是新建了一些中文宏。
;;;;所有的符号还必须使用英文符号,中文的不可以使用。
;;;;学习交流www.lisp.vip
;;;;作者:陆志广
;;;;如果你已经加载基本宏和扩展宏,可以从下面的代码直接执行。
(全局变量 *小* 1)
(全局变量 *大* 100)
(函数 猜数字 ()
(移位 (+ *小* *大*) -1))
(函数 小()
(赋值 *大* (1- (猜数字)))
... | 886 | Common Lisp | .lisp | 20 | 17 | 51 | 0.447983 | zhlisp/zhlisp | 6 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 72d9c21313d2b0cd576d9366225621df86421b807269d160b092566fccec6c00 | 14,040 | [
-1
] |
14,041 | zhlisp代码转换.bas | zhlisp_zhlisp/zhlisp代码转换/zhlisp代码转换.bas | Attribute VB_Name = "NewMacros"
Sub 用Excel替换()
'Excel文件中的替换(Ctrl+Alt+Z)(HongTiHuan.xls在e盘根目录下)
Dim Bth As String, Thw As String, Xh As Integer
Dim excel_App As Object
Dim excel_Book As Object
Dim excel_sheet As Object
'启动Excel
Set excel_App = CreateObject("Excel.Application") '引用程序对象实例
'设置Excel为不可见
ex... | 1,392 | Common Lisp | .lisp | 45 | 26.444444 | 90 | 0.789916 | zhlisp/zhlisp | 6 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 4ebc8c3fc18b511480b8de22de4bcd1ffe57564c46e06079da25041416b9f347 | 14,041 | [
-1
] |
14,117 | package.lisp | mabragor_cl-larval/package.lisp | ;;;; package.lisp
(defpackage #:cl-larval
(:use #:cl #:iterate)
(:shadowing-import-from #:named-readtables #:parse-body)
(:shadowing-import-from #:alexandria #:symbolicate)
(:shadow #:! #:~ #:- #:* #:/ #:+ #:<< #:>> #:< #:> #:<= #:>= #:== #:!= #:& #:^ #:\| #:&& #:||
#:sleep #:set #:push #:pop
#:and #:o... | 352 | Common Lisp | .lisp | 9 | 35.777778 | 95 | 0.488235 | mabragor/cl-larval | 6 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | c04cf92695bab66c0f7cbb17db0b18bb798434e060c9fc9284ec0371653713d0 | 14,117 | [
-1
] |
14,118 | cl-larval.asd | mabragor_cl-larval/cl-larval.asd | ;;;; cl-larval.asd
(asdf:defsystem #:cl-larval
:serial t
:description "Lisp syntax for assembler for AVR microcontrollers"
:author "Alexander Popolitov <popolit@gmail.com>"
:license "GPL"
:depends-on (#:iterate #:cl-interpol #:rutils #:cl-curlex #:named-readtables
#:alexandria #:cl-package-locks #:swank)... | 392 | Common Lisp | .asd | 10 | 34.9 | 78 | 0.684211 | mabragor/cl-larval | 6 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 81cfc9345af8b92132f7a77ec5bb9c3b3dc7197df8b146e2ed793f3ca02c9875 | 14,118 | [
-1
] |
14,136 | load-act-r.lisp | asmaloney_ACT-R/load-act-r.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2015 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;; ... | 50,101 | Common Lisp | .lisp | 845 | 52.846154 | 280 | 0.580354 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | fc3a381c360ea60257a3b293ff4c6ef27d7599e0442255a69b6256c25b699e4f | 14,136 | [
-1
] |
14,137 | recompile-act-r.lisp | asmaloney_ACT-R/recompile-act-r.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2020 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;; ... | 1,790 | Common Lisp | .lisp | 43 | 40.255814 | 80 | 0.583238 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 41c295cf1e653e3891fdd8a789895db752a2d82b0aa464319244f5181d912c29 | 14,137 | [
-1
] |
14,138 | load-single-threaded-act-r.lisp | asmaloney_ACT-R/load-single-threaded-act-r.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2019 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;; ... | 2,562 | Common Lisp | .lisp | 57 | 43.614035 | 80 | 0.578062 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | cefd995c5abd517c0b24d780f5c2544298c64eeb729538dcf5505eece9fe4753 | 14,138 | [
-1
] |
14,139 | server.lisp | asmaloney_ACT-R/environment/server.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Address : Carnegie Mellon University
;;; : Psychology Department
;;; : Pittsburgh,PA 15213-3890
;;; : d... | 19,196 | Common Lisp | .lisp | 363 | 51.352617 | 126 | 0.588338 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 20e1b98a948c989ac62608885c1a6181a0713e82483abbd88650d7f826a5001c | 14,139 | [
-1
] |
14,140 | environment-cmds.lisp | asmaloney_ACT-R/environment/environment-cmds.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Address : Carnegie Mellon University
;;; : Psychology Department
;;; : Pittsburgh,PA 15213-3890
;;; : d... | 11,940 | Common Lisp | .lisp | 214 | 53.028037 | 196 | 0.609183 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 806976043b13a839dd7d1e73f81931b0147f29c4626450281f6e9477137c60ab | 14,140 | [
-1
] |
14,141 | stepper-control.lisp | asmaloney_ACT-R/environment/stepper-control.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Address : Carnegie Mellon University
;;; : Psychology Department
;;; : Pittsburgh,PA 15213-3890
;;; : d... | 48,523 | Common Lisp | .lisp | 824 | 46.656553 | 214 | 0.550336 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 4b0bc4aadebe7f8bf5055ebd5cea8cf1c76a1f318eea35a358b53550f0ec925a | 14,141 | [
-1
] |
14,142 | microphone.lisp | asmaloney_ACT-R/other-files/microphone.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2018 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;... | 3,972 | Common Lisp | .lisp | 84 | 44.428571 | 212 | 0.57272 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | e732e7d4f4a40d144256e23b0a90508336c89a4549374befd23372509c19a8d8 | 14,142 | [
-1
] |
14,143 | keyboard.lisp | asmaloney_ACT-R/other-files/keyboard.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2017 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;... | 46,926 | Common Lisp | .lisp | 696 | 58.173851 | 277 | 0.605665 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 6070761d6579bd071143be77eece27411ce40057c2500dbe9f4b493b0d65657d | 14,143 | [
-1
] |
14,144 | system-param-init.lisp | asmaloney_ACT-R/other-files/system-param-init.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2004 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;; ... | 3,413 | Common Lisp | .lisp | 78 | 38.474359 | 127 | 0.494443 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 067cb93a6cda6f47d5b9c095c85d831c48819385c88f282b2f58621c24e1fb5d | 14,144 | [
-1
] |
14,145 | mouse.lisp | asmaloney_ACT-R/other-files/mouse.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2017 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;; ... | 32,201 | Common Lisp | .lisp | 558 | 48.738351 | 286 | 0.593752 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 0bbdcd06e5b06eda2199f40dd84239a9e76ed0a4fe8b95b87b273e342cc22343 | 14,145 | [
-1
] |
14,146 | retrieval-history.lisp | asmaloney_ACT-R/other-files/retrieval-history.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2008 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;... | 10,787 | Common Lisp | .lisp | 230 | 39.569565 | 137 | 0.552494 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 14f9f57406aa4a67cdf2d48c12e96853aad6c958c2752ca7c6d1289248facd11 | 14,146 | [
-1
] |
14,147 | production-history.lisp | asmaloney_ACT-R/other-files/production-history.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2004 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;; ... | 68,396 | Common Lisp | .lisp | 1,062 | 48.184557 | 228 | 0.523986 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | c5285f3b38e938d652b63ec1291da8bc2c33aad064a735e1b922ac97739f1df2 | 14,147 | [
-1
] |
14,148 | env-graphic-trace.lisp | asmaloney_ACT-R/other-files/env-graphic-trace.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2007 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;; ... | 15,528 | Common Lisp | .lisp | 283 | 44.614841 | 199 | 0.529612 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | dc605b29bccb96cf67cf2d1af7408fb5a6284672db32275886f7f20283b27998 | 14,148 | [
-1
] |
14,149 | buffer-history.lisp | asmaloney_ACT-R/other-files/buffer-history.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2008-2011 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology... | 14,191 | Common Lisp | .lisp | 262 | 46.09542 | 205 | 0.564857 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | c8fb09f4dfb7748c56102a60245863429372ec128e8d13e773813d0cbeda42da | 14,149 | [
-1
] |
14,150 | high-performance.lisp | asmaloney_ACT-R/tools/high-performance.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2004 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;... | 5,030 | Common Lisp | .lisp | 108 | 42.277778 | 171 | 0.574286 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 2d9fd242db2bc5da597cf44dcb96a16d7de31cdf3007aa7c415a62007f6bd058 | 14,150 | [
-1
] |
14,151 | retrieval-compilation.lisp | asmaloney_ACT-R/tools/retrieval-compilation.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2010 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;;... | 17,087 | Common Lisp | .lisp | 314 | 38.55414 | 177 | 0.486795 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 71c8a6b4e489e3d7754e330812a7f9f94190414ae25ca4f1855930edc6b02b4e | 14,151 | [
-1
] |
14,152 | visible-virtual.lisp | asmaloney_ACT-R/tools/visible-virtual.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Address : Carnegie Mellon University
;;; : Psychology Department
;;; : Pittsburgh,PA 15213-3890
;;; : d... | 35,077 | Common Lisp | .lisp | 646 | 51.078947 | 209 | 0.625448 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | a4eb1756709a08893e922ed55c1de3b45842220ee9fcc7a4c9d79f7bc03eadb2 | 14,152 | [
-1
] |
14,153 | environment-loader.lisp | asmaloney_ACT-R/tools/environment-loader.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Address : Carnegie Mellon University
;;; : Psychology Department
;;; : Pittsburgh,PA 15213-3890
;;; : d... | 4,313 | Common Lisp | .lisp | 93 | 43.774194 | 88 | 0.571191 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 9290564cf8b642215d704078687d41398ab55afcd77201fed2eeedb8c111baa1 | 14,153 | [
-1
] |
14,154 | image-feature.lisp | asmaloney_ACT-R/tools/image-feature.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2018 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;; ... | 15,664 | Common Lisp | .lisp | 294 | 47.061224 | 263 | 0.596564 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 184c7a2e1d472c982c476a2d830a65625994250b046fac5fc84961a9af1e3d15 | 14,154 | [
-1
] |
14,155 | perceptual-compilation.lisp | asmaloney_ACT-R/tools/perceptual-compilation.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2010 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;;... | 12,746 | Common Lisp | .lisp | 255 | 36.227451 | 158 | 0.484675 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 80147f530fa85d340140ed268d27dbe7156eb8d3978c3d0ec25f4ef1abf8ecf3 | 14,155 | [
-1
] |
14,156 | imaginal-compilation.lisp | asmaloney_ACT-R/tools/imaginal-compilation.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2010 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;;... | 58,580 | Common Lisp | .lisp | 839 | 44.244338 | 301 | 0.449164 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 01ac9c8cede2e45c082f8cc4b1726dcf3828d0bed1c2d9cf79790a82a2ec9e13 | 14,156 | [
-1
] |
14,157 | buffer-trace.lisp | asmaloney_ACT-R/tools/buffer-trace.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2006 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;; ... | 26,406 | Common Lisp | .lisp | 501 | 45.538922 | 151 | 0.589663 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 4eae09a274c82158efede36b262341d125ea8b474131c198c1c48d73a68c0c17 | 14,157 | [
-1
] |
14,158 | trace-history.lisp | asmaloney_ACT-R/tools/trace-history.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2017 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;... | 9,754 | Common Lisp | .lisp | 186 | 41.182796 | 136 | 0.51067 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 13ed861e08ab46b1c3681f5cd6aaacc64e1384c729e33ec330a23c83be2ff847 | 14,158 | [
-1
] |
14,159 | goal-compilation.lisp | asmaloney_ACT-R/tools/goal-compilation.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2010 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;;... | 46,917 | Common Lisp | .lisp | 631 | 49.568938 | 180 | 0.473325 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 0ddc2b742467c4ca2aa3c04d204821c55269420735f35a911ddad44a44dcce4b | 14,159 | [
-1
] |
14,160 | motor-compilation.lisp | asmaloney_ACT-R/tools/motor-compilation.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2010 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;;... | 7,651 | Common Lisp | .lisp | 155 | 40.03871 | 122 | 0.534427 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 62a4fa7e74a58cb0b90dcf0f256d1c5c7349a3ce587e69d30c6f2231330878f8 | 14,160 | [
-1
] |
14,161 | creating-an-image-model.lisp | asmaloney_ACT-R/examples/creating-image-items/creating-an-image-model.lisp | ;;; This model is a simple demonstration of using the image AGI items.
;;; It performs the task created by the creating-an-image.lisp or
;;; creating_an_image.py file.
;;;
;;; The model attends to the items it sees in the window from
;;; top to bottom and for each one moves the mouse to a position
;;; slightly offset f... | 1,855 | Common Lisp | .lisp | 69 | 21.347826 | 99 | 0.632919 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 50a28cb93c3b926e1432f433f0ce6a8f3cb48d09661d6c3a5e5fc2a1c5ee5e04 | 14,161 | [
120712
] |
14,162 | creating-an-image.lisp | asmaloney_ACT-R/examples/creating-image-items/creating-an-image.lisp | ;;; This is the Lisp code to run the task that goes along with the
;;; creating-an-image-model.
;;;
(load-act-r-model "ACT-R:examples;creating-image-items;creating-an-image-model.lisp")
;;; It is a simple demonstration of creating and using the
;;; image AGI item, and it assumes that the smalllogo.gif
;;; and ref-b... | 10,226 | Common Lisp | .lisp | 204 | 45.019608 | 149 | 0.59994 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | d374f1cf9e03e80710a423173b8f455df5da328efd657600cd6812175fb6f5c8 | 14,162 | [
-1
] |
14,163 | background-model.lisp | asmaloney_ACT-R/examples/creating-image-items/background-model.lisp | ;;; This model is a simple demonstration of using arbitrary
;;; visicon features in conjunction with the image AGI items.
;;; It performs the task created by the background-image.lisp or
;;; background_image.py file.
;;;
;;; The model attends to the items it sees in the window (except
;;; for the background image) from... | 1,935 | Common Lisp | .lisp | 84 | 16.940476 | 64 | 0.605176 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 5dec3d6bad266567680a4f579b9e4a4661353abc8576660adf8b31fecd52e91a | 14,163 | [
348986
] |
14,164 | background-image.lisp | asmaloney_ACT-R/examples/creating-image-items/background-image.lisp | ;;; This is the Lisp code to run the task that goes along with the
;;; background-model.
;;;
(load-act-r-model "ACT-R:examples;creating-image-items;background-model.lisp")
;;; It is a demonstration of creating and using an
;;; image AGI item along with custom visicon features.
;;; It assumes that the ref-brain.gif ... | 17,696 | Common Lisp | .lisp | 382 | 40.311518 | 104 | 0.565732 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | e05b501dc1ea95c12cdd41ece893f356007fc23e327894144b45beb3652be875 | 14,164 | [
362514
] |
14,165 | unit-1-together-1-mp.lisp | asmaloney_ACT-R/examples/multiple-models/unit-1-together-1-mp.lisp | ;;; This is all the models of unit1 defined simultaneously
;;; and running in parallel.
;;; Calling run will result in all three models running.
(clear-all)
(define-model count
(sgp :esc t :lf .05 :trace-detail high)
(chunk-type count-order first second)
(chunk-type count-from start end count)
(add-dm
(b ISA cou... | 6,134 | Common Lisp | .lisp | 234 | 22.012821 | 68 | 0.627494 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | a14c51c3c0e71d26dce251cdfcc8af7490e23e1abe15974cfb05cfe98b20bf68 | 14,165 | [
323423
] |
14,166 | multi-model-talking-models.lisp | asmaloney_ACT-R/examples/multiple-models/multi-model-talking-models.lisp | ;;; This file contains three models which can talk to each other
;;; through the system provided by the multi-model-talking code.
(clear-all)
;;; Each model will output what it hears and from whom in
;;; the trace. M2 will start things off by saying "hello"
;;; and M1 will respond to anything which it hears by
;... | 2,342 | Common Lisp | .lisp | 102 | 16.833333 | 64 | 0.569858 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 1ac1813d5d302643f501ab56480de5087e317b82798e0fc52f99d05f762218eb | 14,166 | [
-1
] |
14,167 | multi-model-talking.lisp | asmaloney_ACT-R/examples/multiple-models/multi-model-talking.lisp | ;;; This file allows models that are running together to hear each
;;; other talking by monitoring the output-speech command from the
;;; microphone device of the speech module.
;;;
;;; To run models using this code just call the test-it function.
;;; That will install a microphone device for all the models,
;;; creat... | 7,663 | Common Lisp | .lisp | 136 | 50.705882 | 94 | 0.59058 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 472162363adcae536338e2b73e44695d6317a5fb5409181c4764f77431ca825b | 14,167 | [
415778
] |
14,168 | style-test-model.lisp | asmaloney_ACT-R/examples/extend-manual-requests/using-a-style/style-test-model.lisp | ;;; This file defines a model which just repeatedly
;;; performs the new-action request defined in
;;; the new-style.lisp file. A trace of the run
;;; is included below.
(clear-all)
(define-model foo
(sgp :trace-detail high)
(p p1
?manual>
state free
==>
+manual>
isa... | 3,034 | Common Lisp | .lisp | 65 | 40.661538 | 71 | 0.559351 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 1790c8c9b9d4f4f8b91bf3e8387b9f5965666b41ee4b6ba975e1f7a68e43c76c | 14,168 | [
485924
] |
14,169 | new-style.lisp | asmaloney_ACT-R/examples/extend-manual-requests/using-a-style/new-style.lisp | ;;; This example will create a new manual request called new-action
;;; which has two features named arg1 and arg2. All it is going
;;; to do is print out the arguments provided and timing information
;;; when a request is made .2 seconds after the movement is prepared
;;; and it will spend a total of .3 seconds i... | 7,893 | Common Lisp | .lisp | 135 | 54.42963 | 110 | 0.72351 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 46257d738d007d12b56182c40d5b063d142f795f21d502a74363681859fb0a40 | 14,169 | [
101750
] |
14,170 | adjust-visicon-features.lisp | asmaloney_ACT-R/examples/vision-module/adjust-visicon-features.lisp | ;;; This example demonstrates how visual features created using
;;; the add-visicon-features command can be modified and removed from
;;; the visicon, and that those changes automatically trigger an update
;;; by the vision module.
(defun run-example ()
(reset)
;; Add-visicon-features returns a list... | 4,679 | Common Lisp | .lisp | 87 | 44.367816 | 96 | 0.678889 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 644b5158dd6d16188d87b7c98bd9a8e4ee3f9fbf236832fca8a39ffd5d1228d5 | 14,170 | [
188365
] |
14,171 | dynamic-object-creation.lisp | asmaloney_ACT-R/examples/vision-module/dynamic-object-creation.lisp | ;;; This example shows how one can specify a command to dynamically
;;; create the visual object chunks for features that are added to
;;; the visicon instead of specifying them when they are added.
;;;
;;; There is a device called object-creator which can be installed
;;; for the vision interface with the detai... | 2,116 | Common Lisp | .lisp | 40 | 48.25 | 99 | 0.714985 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 5b0f772ffe4953409f6d7c9e6acc7619c50a52ba82173c47c7394a3b64c7ef62 | 14,171 | [
187656
] |
14,172 | rotational-vision-test-2.lisp | asmaloney_ACT-R/examples/vision-module/rotational-vision-test-2.lisp | ;;; This is a simple example model to show the new options of
;;; clockwise and counterclockwise which can be used with the
;;; :nearest request parameter in a visual-location request.
;;;
;;; The difference between this model and rotational-vision-test-1
;;; is that this model indicates the object around which it will... | 4,882 | Common Lisp | .lisp | 173 | 22.271676 | 81 | 0.616893 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 4e11d315968367427a3ecfc4d061baebba99546f5b04ef27dd3ec7339a194af9 | 14,172 | [
41804
] |
14,173 | customize-visicon-features.lisp | asmaloney_ACT-R/examples/vision-module/customize-visicon-features.lisp | ;;; This example demonstrates the customization options available
;;; when adding visual features. There are currently two customizations
;;; available: the names of the location chunk's position slots can
;;; be changed from the defaults of screen-x, screen-y, and distance
;;; and changing the effective width of ... | 2,595 | Common Lisp | .lisp | 48 | 48.979167 | 109 | 0.718185 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | d600a40c64a1a807487bf272d9d912d6d87c6a904adc253f30caad1efcbd6e86 | 14,173 | [
66575
] |
14,174 | tracking.lisp | asmaloney_ACT-R/examples/vision-module/tracking.lisp | #|
There are two example functions here: one which uses the AGI to
display a moving X and one which uses add- & modify- visicon-features
to move an arbitrary feature.
The same model found in tracking-model.lisp performs both tasks.
To run them call either agi-tracking or arbitrary-tracking
respectively to do the ta... | 1,752 | Common Lisp | .lisp | 41 | 33.609756 | 86 | 0.632779 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 7279fff9fed4016ba0931cf200685a56d6638b4948ad0e1b5b14f8030a3b779c | 14,174 | [
-1
] |
14,175 | set-visloc-default-request.lisp | asmaloney_ACT-R/examples/vision-module/set-visloc-default-request.lisp | ;;; This model demonstrates the visual-location request to change the
;;; specification for the visual-location buffer stuffing in the same
;;; way that the set-visloc-default command can be used by the modeler.
;;;
;;; The request to do so is just like a typical visual-location request
;;; to find a feature, except t... | 5,077 | Common Lisp | .lisp | 135 | 30.414815 | 179 | 0.653615 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 0532a03ec57a0228fed053b9857e159296c51194312d743d6d1586f8f3cafa16 | 14,175 | [
281740
] |
14,176 | new-visicon-features-model.lisp | asmaloney_ACT-R/examples/vision-module/new-visicon-features-model.lisp |
(clear-all)
;;; The model is very simple in that it just repeatedly finds
;;; a location and then attends to the item there printing
;;; out the chunks in the visual-location and visual buffers
;;; after the corresponding requet completes.
;;;
;;; The visual-location requests are specified such that
;;; the... | 3,894 | Common Lisp | .lisp | 124 | 23.717742 | 78 | 0.624585 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | ea6b715b580464fa0e3d6bf599dbee5a3c513f44aa6bd92c6a4d6bc559168835 | 14,176 | [
-1
] |
14,177 | customize-visicon-features-model.lisp | asmaloney_ACT-R/examples/vision-module/customize-visicon-features-model.lisp |
(clear-all)
;;; The model is very simple in that it just repeatedly finds
;;; a location and then attends to the item there printing
;;; out the chunks in the visual-location and visual buffers
;;; after the corresponding requet completes.
;;;
;;; The visual-location requests are specified such that
;;; the... | 1,954 | Common Lisp | .lisp | 74 | 19.22973 | 62 | 0.604086 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | b52671669cbf9a933924c39529e08383d67895956f8ad44495cb61066c9cdb36 | 14,177 | [
250939
] |
14,178 | dynamic-object-creation-model.lisp | asmaloney_ACT-R/examples/vision-module/dynamic-object-creation-model.lisp |
(clear-all)
;;; This find visual items and attends to them from left to right
;;; printing out the location and object chunks.
(define-model dynamic-visual-objects
(sgp :v t)
;; chunk-types for the special object chunk
(chunk-type (custom-object (:include visual-object)) time)
... | 764 | Common Lisp | .lisp | 25 | 22.84 | 66 | 0.633094 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 6049fe190aa6f5772be32135f1ef712446a30a2d5949568e91fb10b2dab0e835 | 14,178 | [
-1
] |
14,179 | multi-window.lisp | asmaloney_ACT-R/examples/vision-module/multi-window.lisp | ;;; This example shows that multiple devices can be installed to
;;; the vision interface at the same time. It also shows that the
;;; visicon features created by each exp-window installed are
;;; available simultaneously as well as those from the mouse
;;; cursor. Finally, it shows that the coordinates for all ... | 1,728 | Common Lisp | .lisp | 33 | 46.575758 | 87 | 0.688335 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 45f1768163d0a51baf1284a381170a499176b3969b1000f38183c319caefc436 | 14,179 | [
262318
] |
14,180 | new-visicon-features-position-slots.lisp | asmaloney_ACT-R/examples/vision-module/new-visicon-features-position-slots.lisp | ;;; This example demonstrates how one can change the slots used for
;;; the position information in the visual features.
(defun run-example ()
(reset)
;; For this example these chunk-types are defined in the model:
;; (chunk-type real-space x y z size)
;; (chunk-type other-space pos-1 pos-2 pos-... | 1,369 | Common Lisp | .lisp | 27 | 44.851852 | 96 | 0.725962 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | b6a21cc2e356c827032fda75d5d2c7766ce8ed2ae24256f85de2d4d5ba272ec3 | 14,180 | [
152062
] |
14,181 | new-visicon-features.lisp | asmaloney_ACT-R/examples/vision-module/new-visicon-features.lisp | ;;; This example demonstrates how one can generate new visual features
;;; for a model using the add-visicon-features command which allows one
;;; to specify visual features which have a 1<->1 mapping between locations
;;; and objects.
(defun run-example ()
(reset)
;; Add-visicon-features allows the modeler ... | 4,901 | Common Lisp | .lisp | 87 | 48.264368 | 81 | 0.677522 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 8da4b72ef22b476e6f91d96d6da5d2e674d63fcba6e23c663551eff800197b3a | 14,181 | [
412792
] |
14,182 | rotational-vision-test-1.lisp | asmaloney_ACT-R/examples/vision-module/rotational-vision-test-1.lisp | ;;; This is a simple example model to show the new options of
;;; clockwise and counterclockwise which can be used with the
;;; :nearest request parameter in a visual-location request.
;;;
;;; The display is a clock face in an experiment window. The
;;; model finds the top most number (12), attends to it, and
;;; the... | 3,542 | Common Lisp | .lisp | 126 | 22.206349 | 71 | 0.617472 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | a55743d651431e8ee80538bc6d7d37b0a7c372e6123f909bd0b8be54895e5781 | 14,182 | [
235377
] |
14,183 | set-attended-coordinates-model.lisp | asmaloney_ACT-R/examples/vision-module/set-attended-coordinates-model.lisp |
(clear-all)
;;; The model is very simple in that it just makes a
;;; request to find the feature nearest to current and
;;; then prints the result.
(define-model set-attended-coordinates-model
(sgp :v t :trace-detail low)
(p start
?goal>
buffer empty
==>
+goal>
... | 522 | Common Lisp | .lisp | 19 | 20.947368 | 57 | 0.63125 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | d7b345aaf108058977786482f5f39f61ae255cc030a50585ffc4d6efae5c8688 | 14,183 | [
-1
] |
14,184 | set-attended-coordinates.lisp | asmaloney_ACT-R/examples/vision-module/set-attended-coordinates.lisp | ;;; This example demonstrates how one can set the initial position
;;; of visual attention.
(defun create-features ()
;; just put two locations out there
;; one close to 0,0 the default initial
;; position and one close to 50,50 which
;; is set as the starting point below.
(add-visicon-features '(screen-... | 878 | Common Lisp | .lisp | 25 | 30.96 | 85 | 0.708434 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 1cf1d970f442c8654646fde97a8650438b1e9b8280f88c064ef7645caaac3914 | 14,184 | [
251128
] |
14,185 | new-visicon-features-position-slots-model.lisp | asmaloney_ACT-R/examples/vision-module/new-visicon-features-position-slots-model.lisp |
(clear-all)
;;; The model is very simple in that it just repeatedly finds
;;; a location and then attends to the item there printing
;;; out the chunks in the visual-location and visual buffers
;;; after the corresponding requet completes relying on finsts
;;; markers to stop after attending all of them.
;;;
... | 1,028 | Common Lisp | .lisp | 36 | 22.305556 | 63 | 0.637306 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 74ac721b2c222a927ad7807dc7e31696548f01f6342e225e2a32bb9e0efc9533 | 14,185 | [
9270
] |
14,186 | adjust-visicon-features-model.lisp | asmaloney_ACT-R/examples/vision-module/adjust-visicon-features-model.lisp |
(clear-all)
;;; This model relies on buffer stuffing to detect when
;;; the visual scene changes (the only constraint on the
;;; stuffed chunk is screen-x lowest) and then attends to
;;; an items and prints the location and object chunks.
;;;
;;; The items it attends are prespecified to be the ones
;;; that ... | 3,006 | Common Lisp | .lisp | 119 | 17.932773 | 68 | 0.596855 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | eaff1cfc0142e2d8a01235a6c00e7c9090eb48bcb1eb4395da9b0e5c499bf4e1 | 14,186 | [
-1
] |
14,187 | tracking-model.lisp | asmaloney_ACT-R/examples/vision-module/tracking-model.lisp | ;;; This is the model which performs the tracking task to
;;; output the information as it is updated.
(clear-all)
(define-model simple-tracking
(sgp :v t :needs-mouse nil :show-focus t :trace-detail high)
(P attend
"Attend the stuffed location"
=visual-location>
?visual>... | 892 | Common Lisp | .lisp | 37 | 17.081081 | 65 | 0.540964 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 7ac7350fc16218dbc9fe5d0f0fd40e4ad66937f513ba34723f3efe51d3acd62c | 14,187 | [
314401
] |
14,188 | models.lisp | asmaloney_ACT-R/examples/model-task-interfacing/one-window-buttons/models.lisp | (clear-all)
(define-model red-player
(sgp :v t :trace-detail high :needs-mouse t :er t :show-focus red :needs-mouse red)
;; stuff buttons that aren't white or blue
(set-visloc-default kind oval - color white - color blue)
;; Create a chunk with the player color and player label and make i... | 5,984 | Common Lisp | .lisp | 227 | 14.753304 | 88 | 0.458762 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 4654e69c7b720d6ec3a8792a8b65aad0320dcdca8fb663785de8c8d62b2dd1c3 | 14,188 | [
493317
] |
14,189 | game.lisp | asmaloney_ACT-R/examples/model-task-interfacing/one-window-buttons/game.lisp | ;; Play the simple capture game in 1 window with buttons for interaction.
;; Buttons highlight in red or blue to indicate player turn.
;; Set player goal chunks with color, and also set their
;; mouse cursor color to match.
;;
;; When updating the buttons just remove them and add a replacement.
;; global variables f... | 24,138 | Common Lisp | .lisp | 354 | 59.033898 | 131 | 0.590999 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 006f47a2764775d0041851bad61dcdf3124fc1e31ff7014737bf20c152dbbc3f | 14,189 | [
-1
] |
14,190 | models.lisp | asmaloney_ACT-R/examples/model-task-interfacing/no-windows-visual-info/models.lisp |
(clear-all)
;; Create one copy of the model code using defparameter so that
;; it gets updated if we reload -- defvar doesn't re-evaluate the
;; value after the first time it is loaded.
(defparameter *model-code*
;; A list of information just like one would put in a
;; define-model call.
'((... | 2,181 | Common Lisp | .lisp | 79 | 18.721519 | 83 | 0.551844 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | bc950f2a322efc56d74092f1c78c780e252def85d06b7fa1b05d84419cffd683 | 14,190 | [
114833
] |
14,191 | game.lisp | asmaloney_ACT-R/examples/model-task-interfacing/no-windows-visual-info/game.lisp | ;; Play the simple capture game with 2 models using no interface, but
;; creating custom visicon features for the model to see.
;; Each model will have two features which it can see. There is one
;; for each player and it contains these features:
#|
While game playing
Name Att Loc Kind Positio... | 19,948 | Common Lisp | .lisp | 326 | 54.659509 | 133 | 0.59282 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 6edaf881d761c826c45009714e6fa233ed3af0e6e4151cd0bd292a387f55e7cc | 14,191 | [
-1
] |
14,192 | models.lisp | asmaloney_ACT-R/examples/model-task-interfacing/two-windows-buttons/models.lisp |
(clear-all)
(defparameter *model-code*
'((sgp :v t :trace-detail high :needs-mouse t)
(chunk-type play my-color state)
(define-chunks (goal isa play my-color red)
(move) (click))
(goal-focus goal)
(set-visloc-default-fct '(kind oval - c... | 1,817 | Common Lisp | .lisp | 70 | 14.4 | 71 | 0.449398 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 2650f930814023fde4420299274955ffeed8654bf02095d3d67528802196448d | 14,192 | [
-1
] |
14,193 | game.lisp | asmaloney_ACT-R/examples/model-task-interfacing/two-windows-buttons/game.lisp | ;; Play the simple capture game with each model having its own
;; window and each player plays left->right as red in its own window.
;; global variables
(defvar *current-player*) ;; player name
(defvar *p1*) ;; player 1 name
(defvar *p2*) ;; player 2 name
(defvar *game-over*) ;; sto... | 23,264 | Common Lisp | .lisp | 337 | 57.991098 | 138 | 0.568231 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 498dd6657cb17807cf5795bc424267b5584cd4ee2a4825a97ce87fa3edf85ecc | 14,193 | [
-1
] |
14,194 | models.lisp | asmaloney_ACT-R/examples/model-task-interfacing/no-windows-goal-mod/models.lisp |
(clear-all)
;; Create one copy of the model code using defparameter.
;; The model is told its position in the my-pos slot and
;; can use that to access the value.
(defparameter *model-code*
;; A list of information just like one would put in a
;; define-model call.
'((sgp :v t :trace-detail ... | 1,452 | Common Lisp | .lisp | 44 | 24.227273 | 58 | 0.588546 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 568a631c93374bc0a1fc682e4f1cd70cc2a1149306830ea3ba697410753e05f6 | 14,194 | [
207827
] |
14,195 | game.lisp | asmaloney_ACT-R/examples/model-task-interfacing/no-windows-goal-mod/game.lisp | ;; Play the simple capture game with 2 models using no interface.
;; Goal chunk holds all information and state indicates what to do (if set).
;; Creates new goal chunks everytime instead of checking and modifying.
;; (chunk-type play my-pos p1 p2 state result)
;; My-pos is either p1 or p2 to indicate which player
;;... | 7,559 | Common Lisp | .lisp | 147 | 42.959184 | 128 | 0.594531 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 42683a7970f817b2cd590e618139af6105d847de10c35c490d347d767e47ebb9 | 14,195 | [
219204
] |
14,196 | models.lisp | asmaloney_ACT-R/examples/model-task-interfacing/one-window-text-talking/models.lisp | (clear-all)
(defparameter *model-code*
'((sgp :v t :trace-detail high :needs-mouse nil :er t)
(chunk-type play my-color my-name state)
(set-audloc-default - location self :attended nil)
(set-visloc-default color green)
(define-chunks move say-done start)
... | 2,371 | Common Lisp | .lisp | 97 | 12.659794 | 59 | 0.425047 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | ac00c4422b8ebea74d3b72f770feb69036163591086f2f9e22e3977d6bbeadb1 | 14,196 | [
-1
] |
14,197 | game.lisp | asmaloney_ACT-R/examples/model-task-interfacing/one-window-text-talking/game.lisp |
;;; Play the capture game with a simple single interface that
;;; just shows position. Have models say "one" or "two" to indicate
;;; their move and the game says the starting player's name at
;;; the beginning. Show the winner's name in green when game over.
;; global variables
(defvar *current-player*) ;; mod... | 19,852 | Common Lisp | .lisp | 324 | 54.685185 | 151 | 0.605772 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 2002fef418895e00e01cfe8c5188dd59faad57b0e24bba213713b5c4a891fb02 | 14,197 | [
-1
] |
14,198 | game-of-life.lisp | asmaloney_ACT-R/examples/other/game-of-life.lisp | ;;; This example shows the ACT-R software being used as a general
;;; programming tool instead of as a model of human cognition by
;;; creating a model that encapsulates the rules for a single cell
;;; in Conway's Game of Life and then creating many cells each
;;; using that model to play the game.
;;;
;;; While this... | 20,054 | Common Lisp | .lisp | 426 | 40.018779 | 166 | 0.627265 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | be4609a0ba12c3ab0aefd1a19ca987e7f3c73007ef884a49f5e15fddd7b4a5f2 | 14,198 | [
134451
] |
14,199 | simple-goal-style-model.lisp | asmaloney_ACT-R/examples/creating-modules/internal/simple-goal-style-model.lisp | ;;; This model has three productions which make a
;;; query, request and modification request to test
;;; the new-goal module created by the simple-goal-style.lisp
;;; file.
(clear-all)
(define-model simple-goal-test
(sgp :v t :trace-detail high)
(chunk-type goal-chunk state)
(define-chunks (start isa... | 2,581 | Common Lisp | .lisp | 75 | 29.88 | 77 | 0.605634 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 850fbcddb9d24372a08d5d09894360471ddbbba594341cf15faacb7201934728 | 14,199 | [
-1
] |
14,200 | second-retrieval-buffer-model.lisp | asmaloney_ACT-R/examples/creating-modules/internal/second-retrieval-buffer-model.lisp | ;;; This model is a test of the module that adds a
;;; second retrieval buffer called r2. It simply
;;; adds 2 chunks to DM and has one production which
;;; makes requests to retrieve those chunks using both
;;; the retrieval and r2 buffers.
(clear-all)
(define-model test-r2-buffer
(sgp :v t :esc t)
... | 1,669 | Common Lisp | .lisp | 49 | 28.55102 | 80 | 0.595852 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | e00180bac6c0d99e0aa0299c58c18ac7efdb9a2eee18637e162584b3456ee636 | 14,200 | [
146843
] |
14,201 | demo-model.lisp | asmaloney_ACT-R/examples/creating-modules/internal/demo-model.lisp | ;;; This model simply uses the buffers create and output
;;; from the demo module to show their operation.
(clear-all)
(define-model test-demo-module
(sgp :esc t :create-delay .15 :trace-detail high)
(p p1
?goal>
buffer empty
?create>
state free
buffer empty
... | 542 | Common Lisp | .lisp | 25 | 15.2 | 56 | 0.585657 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 154e2b1c692606db6cb4ce1db6bbc4dfb02b8dd6ab4a2e71112adcb647510577 | 14,201 | [
-1
] |
14,202 | all-components-model.lisp | asmaloney_ACT-R/examples/creating-modules/internal/all-components-model.lisp | ;;; This model runs with the all-components-module and makes
;;; queries and requests of that module to show its components
;;; in action.
;;;
;;; The run-it function will reset the model and then run it
;;; in small sections stopping to print out some query and
;;; buffer content information between sections. It cal... | 12,729 | Common Lisp | .lisp | 315 | 36.44127 | 99 | 0.657535 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | a29d8a396089cbc46d06c1886b1694701513f0da239a1ba1bd382bdb4a502161 | 14,202 | [
-1
] |
14,203 | second-retrieval-buffer.lisp | asmaloney_ACT-R/examples/creating-modules/internal/second-retrieval-buffer.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2015 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;; ... | 11,879 | Common Lisp | .lisp | 207 | 50.487923 | 128 | 0.660343 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | a2efe0d70c8f7ec3f614c80e23dd7ad86309d3dbe4270be917da7f96f4b068b0 | 14,203 | [
61095
] |
14,204 | simple-goal-style.lisp | asmaloney_ACT-R/examples/creating-modules/internal/simple-goal-style.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2008 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;; ... | 3,439 | Common Lisp | .lisp | 79 | 41.962025 | 81 | 0.599581 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 2246f15d822e8f315cfa1e44ff47a2cadc69958ff4443d69ed6e5f871fc5c596 | 14,204 | [
-1
] |
14,205 | demo-module.lisp | asmaloney_ACT-R/examples/creating-modules/internal/demo-module.lisp | ;;; This module creates 2 buffers called create and output which
;;; take simple requests to create a new chunk or print some
;;; information in the trace. For demonstration of how and
;;; when the module interface commands are called they are all
;;; traced before running the simple demo model as shown in
;;; the com... | 7,856 | Common Lisp | .lisp | 151 | 46.384106 | 509 | 0.656816 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | b600906d468399ba1f5f32cda2e4da512b9dec2eba756dbb96833e8339c69c4d | 14,205 | [
-1
] |
14,206 | simple.lisp | asmaloney_ACT-R/examples/connections/lisp/simple.lisp | ;; Load quicklisp and the socket and JSON libraries used.
#-:QUICKLISP (eval-when (:compile-toplevel :load-toplevel :execute)
(when (probe-file "~/quicklisp/setup.lisp")
(load "~/quicklisp/setup.lisp"))
(unless (find :quicklisp *features*)
(error "T... | 5,418 | Common Lisp | .lisp | 96 | 43.104167 | 158 | 0.56338 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 65b4575aff0866f3d52f9eadff2bb099ec6c2a84de4351526da473762decab4c | 14,206 | [
359559
] |
14,207 | central-parameters.lisp | asmaloney_ACT-R/support/central-parameters.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2004 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;; ... | 9,435 | Common Lisp | .lisp | 196 | 42.938776 | 222 | 0.587131 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 5b106d32e68d616027ec96655994fbeafca083c22cdb0a13ae4af6059dc93a10 | 14,207 | [
-1
] |
14,208 | general-pm.lisp | asmaloney_ACT-R/support/general-pm.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Mike Byrne & Dan Bothell
;;; Address : Rice University, MS-25
;;; : Psychology Department
;;; : Houston,TX 77251-1892
;;; ... | 42,398 | Common Lisp | .lisp | 782 | 49.69821 | 187 | 0.61573 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | b81927acc1566a1099bd689e040092d2d12aee380dfec2295f46c4202efaa4f1 | 14,208 | [
-1
] |
14,209 | hirschberg-diff-calculation.lisp | asmaloney_ACT-R/support/hirschberg-diff-calculation.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2014 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;... | 11,897 | Common Lisp | .lisp | 229 | 42.820961 | 153 | 0.521758 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | e9dc1500d13c1798e76e29a18a9f4c6f4a638e6a9aba1fe348c528b5d65b8fb4 | 14,209 | [
-1
] |
14,210 | time-functions.lisp | asmaloney_ACT-R/support/time-functions.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2013 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;; ... | 8,406 | Common Lisp | .lisp | 209 | 34.177033 | 102 | 0.53467 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 382504deb05dadca7f99526ee0cd4a99f07733c90ffc254670fe3abbde99e323 | 14,210 | [
-1
] |
14,211 | uni-files.lisp | asmaloney_ACT-R/support/uni-files.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Address : Carnegie Mellon University
;;; : Psychology Department
;;; : Pittsburgh,PA 15213-3890
;;; : d... | 33,714 | Common Lisp | .lisp | 736 | 42.80163 | 100 | 0.631656 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | bde74b57bf1b9c3669c15e6ebe8e3f2575511ea67f3988062841bfaf8a687df5 | 14,211 | [
-1
] |
14,212 | goal-style-module.lisp | asmaloney_ACT-R/support/goal-style-module.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2004 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;; ... | 11,985 | Common Lisp | .lisp | 251 | 45.984064 | 102 | 0.647421 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 42bea637e3cac008eb9a0222f3f8603b696d5572c4b93684cf02fcdc3b146675 | 14,212 | [
-1
] |
14,213 | productions.lisp | asmaloney_ACT-R/support/productions.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2015 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;; ... | 7,992 | Common Lisp | .lisp | 159 | 43.295597 | 142 | 0.590115 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 800f3b739ebb2f69c0c535355d50a777a526f8cfb0a1088992b37c1bf2936dc9 | 14,213 | [
-1
] |
14,214 | ccl-simple-view.lisp | asmaloney_ACT-R/support/ccl-simple-view.lisp | ;;; -*- mode: LISP; Package: CL-USER; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Clayton Stanley
;;; Copyright : (c)2003-7 CMU/Rice U./Mike Byrne, All Rights Reserved
;;; Availability: public domain
;;; Address : Ric... | 167,035 | Common Lisp | .lisp | 3,239 | 45.011115 | 176 | 0.636296 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | dbd995dfa8632022ae407f8951310205997c12a8a5ea2e94aed43d5c1620424e | 14,214 | [
-1
] |
14,215 | single-threaded.lisp | asmaloney_ACT-R/support/single-threaded.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2019 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;... | 6,725 | Common Lisp | .lisp | 167 | 37.08982 | 81 | 0.602374 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 375ad2ea00bb35c279a7fde548d269b95aafd7eaeefc4c77b967528580740cae | 14,215 | [
-1
] |
14,216 | pm-issues.lisp | asmaloney_ACT-R/tutorial/lisp/pm-issues.lisp | ; ACT-R tutorial unit 3 code for a simple task to
; investigate potential perceptual and motor issues
; with models.
(load-act-r-model "ACT-R:tutorial;unit3;perceptual-motor-issues-model.lisp")
(defvar *response* nil)
(defvar *response-time* nil)
(defun respond-to-key-press (model key)
(declare (ignore model))
... | 2,356 | Common Lisp | .lisp | 45 | 41.688889 | 116 | 0.599372 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | cd9f7fafa4b339ce5e11cba94c1574e6e5ece092dc163883169c44fa43ccc9ce | 14,216 | [
-1
] |
14,217 | unit2.lisp | asmaloney_ACT-R/tutorial/lisp/unit2.lisp | ; ACT-R tutorial unit 2 assignment task.
; This experiment opens a window, displays 3 characters
; with two being the same and one different, waits for a
; keypress, and then reports whether the key that was
; pressed matches the different letter or not.
; Load the corresponding tutorial model
(load-act-r-model "AC... | 5,275 | Common Lisp | .lisp | 105 | 43.390476 | 76 | 0.675617 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 5bb9bad57c4eb6de6b3180e1ab6626b7d418850c7b1027eebdd6f545289480b0 | 14,217 | [
-1
] |
14,218 | grouped.lisp | asmaloney_ACT-R/tutorial/lisp/grouped.lisp | ; ACT-R tutorial unit 5 grouped task.
; This is a simple example task to show partial matching.
; It simply runs the model and records values that the
; model provides and returns the list of provided values
; in the order provided after the run.
; Load the corresponding model for the task.
(load-act-r-model "ACT-R:t... | 1,003 | Common Lisp | .lisp | 23 | 41.652174 | 119 | 0.770576 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 61a15a966e086a3d7a2666beb63eb6232cbb8e66274dc726669a36f8c2fe55b1 | 14,218 | [
-1
] |
14,219 | remote-actr-connection.lisp | asmaloney_ACT-R/tutorial/lisp/remote-actr-connection.lisp | ;;; -*- mode: LISP; Syntax: COMMON-LISP; Base: 10 -*-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;
;;; Author : Dan Bothell
;;; Copyright : (c) 2017 Dan Bothell
;;; Availability: Covered by the GNU LGPL, see LGPL.txt
;;; Address : Department of Psychology
;;... | 60,068 | Common Lisp | .lisp | 1,021 | 45.365328 | 196 | 0.563722 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 46058520dd0202eb7cde14ab0431788816d5b84d8a06794b4166be94bf64e2b7 | 14,219 | [
486677
] |
14,220 | subitize.lisp | asmaloney_ACT-R/tutorial/lisp/subitize.lisp | ; ACT-R tutorial unit3 subitize experiment.
; This experiment displays a number of Xs on
; the screen and the participant must respond
; with how many are there. A human participant
; must press a key from 0-9 (where 0 represents
; 10 items) but a model must speak the count
; (which is how the original experiment wa... | 7,472 | Common Lisp | .lisp | 152 | 42.434211 | 78 | 0.682875 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 8ca9c444caa0b2d814251b0c8d83f6dc804780cad9a336ac60de6d65e736396d | 14,220 | [
-1
] |
14,221 | sperling.lisp | asmaloney_ACT-R/tutorial/lisp/sperling.lisp | ; ACT-R tutorial unit 3 demonstration task.
; The sperling experiment displays a block of 12
; letters in the window, with 3 lines of 4 letters
; per line for a brief time. After the display has
; been presented a tone sound is generated to indicate
; which row of letters must be reported (the timing of
; the tone rel... | 7,108 | Common Lisp | .lisp | 144 | 43.597222 | 111 | 0.690077 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 234191603460628bfca762bfc6d695da9a9e3ddeada057250af45a7ef71a3a56 | 14,221 | [
-1
] |
14,222 | ul-issues.lisp | asmaloney_ACT-R/tutorial/lisp/ul-issues.lisp | ; ACT-R tutorial unit7 task for investigating utility
; learning modeling issues.
(defun present-choose ()
(goal-focus initial-goal)
(schedule-event-relative 5 "utility-learning-issues-show-result"
:params (list (if (< (act-r-random 1.0) .6) 'a (if (> (act-r-random 1.0) .5) 'b nil... | 1,092 | Common Lisp | .lisp | 17 | 57.705882 | 151 | 0.708255 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 227698ed02b27db279dba045c8749ebb00813356ce9f7bc766adaad03dfe2e6d | 14,222 | [
-1
] |
14,223 | zbrodoff.lisp | asmaloney_ACT-R/tutorial/lisp/zbrodoff.lisp | ; ACT-R tutorial unit 4 zbrodoff task.
; This experiment presents participants with alpha-arithmetic
; problems like "A + 2 = C" which they must respond to by
; pressing k if the problem is correct or d if it is not.
; The code runs the control condition from the paper:
;
; Zbrodoff, N. J. (1995). Why is 9 + 7 harder ... | 12,551 | Common Lisp | .lisp | 243 | 44.786008 | 95 | 0.66037 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | be5e55b32e7a7f0ff4b4c090452925854fecc5dbe0ad271371d7d90a71cfa3fc | 14,223 | [
-1
] |
14,224 | demo2.lisp | asmaloney_ACT-R/tutorial/lisp/demo2.lisp | ; ACT-R tutorial unit 2 demo2 task.
; This experiment opens a window, displays a character,
; waits for a keypress, clears the window after there
; is a keypress, and then reports the key that was pressed.
; Start by loading the corresponding tutorial model
(load-act-r-model "ACT-R:tutorial;unit2;demo2-model.lisp")
... | 4,704 | Common Lisp | .lisp | 90 | 45.522222 | 76 | 0.691239 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 2ffb5bd5162a16487edf36964a6413b932ac3da708db348d065577c6e4687209 | 14,224 | [
-1
] |
14,225 | choice.lisp | asmaloney_ACT-R/tutorial/lisp/choice.lisp |
(load-act-r-model "ACT-R:tutorial;unit6;choice-model.lisp")
(defvar *unit6-choice-data* '(0.664 0.778 0.804 0.818))
(defvar *response* nil)
(defun respond-to-key-press (model key)
(declare (ignore model))
(setf *response* key))
(defun choice-person ()
(when (visible-virtuals-available?)
(let ((window ... | 1,193 | Common Lisp | .lisp | 27 | 35.62963 | 97 | 0.642193 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 4670cfd604d40b15536dc8012e7a069da90ba7f23aeb67c65f33161c7395ccc7 | 14,225 | [
491435
] |
14,226 | tutor-model.lisp | asmaloney_ACT-R/tutorial/unit1/tutor-model.lisp | (clear-all)
(define-model tutor-model
(sgp :esc t :lf .05 :trace-detail medium)
;; Add Chunk-types here
;; Add Chunks here
;; Add productions here
(goal-focus goal)
) | 185 | Common Lisp | .lisp | 8 | 19.875 | 41 | 0.742138 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | c99138704269d99098c8411ab95583d71dbea6f6efc7dcde4b7bc4615d15a1a5 | 14,226 | [
-1
] |
14,227 | count.lisp | asmaloney_ACT-R/tutorial/unit1/count.lisp | (clear-all)
(define-model count
(sgp :esc t :lf .05 :trace-detail high)
(chunk-type number number next)
(chunk-type count-from start end count)
(add-dm
(one ISA number number one next two)
(two ISA number number two next three)
(three ISA number number three next four)
(four ISA number number four next five)
... | 1,212 | Common Lisp | .lisp | 57 | 16.877193 | 48 | 0.539267 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 06574ccee301fe27de4832d09ac8274653c4b3b3f55ba14a725588d6b17887ba | 14,227 | [
264898
] |
14,228 | semantic.lisp | asmaloney_ACT-R/tutorial/unit1/semantic.lisp | (clear-all)
(define-model semantic
(sgp :esc t :lf .05)
(chunk-type property object attribute value)
(chunk-type is-member object category judgment)
(add-dm
(shark) (dangerous) (locomotion) (swimming) (fish)
(salmon) (edible) (breathe) (gills) (animal)
(moves) (skin) (canary) (color) (sings) (bird)
(ostrich) ... | 2,971 | Common Lisp | .lisp | 97 | 26.42268 | 68 | 0.6822 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 69978203058c0af45f5ebc33d1b3d6013c9889d12b0cf619159a8b7bff3afd65 | 14,228 | [
443521
] |
14,229 | broken-addition.lisp | asmaloney_ACT-R/tutorial/unit1/broken-addition.lisp |
(clear-all)
(define-model addition
(sgp :esc t :lf .05)
(chunk-type number number next)
(chunk-type add arg1 arg2 sum count)
(add-dm
(zero isa number number zero next one)
(one isa number number one next two)
(two isa number number two next three)
(three isa number number three next four)
(four isa number num... | 1,713 | Common Lisp | .lisp | 78 | 17.397436 | 43 | 0.544109 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 197c69309d929f02c9455ba30458dbb39344c1fa13f62adadb50597f0ac32323 | 14,229 | [
181482
] |
14,230 | tutor-model-solution.lisp | asmaloney_ACT-R/tutorial/unit1/tutor-model-solution.lisp | (clear-all)
(define-model tutor-model
(sgp :esc t :lf .05 :trace-detail medium)
;; Add Chunk-types here
(chunk-type addition-fact addend1 addend2 sum)
(chunk-type add-pair one1 ten1 one2 ten2 ten-ans one-ans carry)
;; Add Chunks here
(add-dm
(fact17 isa addition-fact addend1 1 addend2 7 sum 8)
(fact34 isa a... | 1,998 | Common Lisp | .lisp | 112 | 14.017857 | 63 | 0.665238 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 0ec264862197f53566eaf6d23a042ee7b0d1681cac59a5c483c7ecf895785fd4 | 14,230 | [
-1
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.