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,331 | 90-globals.tcl | asmaloney_ACT-R/environment/GUI/init/90-globals.tcl |
set current_open_model_name "No Model Open"
set current_open_model ""
set ignore_returns ""
set current_file_window ""
set during_reload 0
| 144 | Common Lisp | .cl | 5 | 26.8 | 43 | 0.783582 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | cd899e4ab67de86fe44ac72aae638e0d113aee24086af7535230d7e95dccaa32 | 14,331 | [
-1
] |
14,332 | 00-net-config.tcl | asmaloney_ACT-R/environment/GUI/init/00-net-config.tcl | # This is the default ip address and port that will be used for communication with ACT-R.
set actr_port 2650
set actr_address "localhost"
| 140 | Common Lisp | .cl | 3 | 45 | 89 | 0.8 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | bad937f4436b49d31f393a4a945f67da7d57873100dedd4f199a0eb70c59966d | 14,332 | [
-1
] |
14,333 | 99-userconfig.tcl | asmaloney_ACT-R/environment/GUI/init/99-userconfig.tcl | # this file generated from saving the options
set options_array(update_when_stepped) 1
set options_array(use_env_window) true
set options_array(show_copyrights) 1
set options_array(use_localhost) 0
set options_array(kill_model_windows) 1
set options_array(use_smart_load) false
set options_array(save_before_reloa... | 426 | Common Lisp | .cl | 11 | 36.727273 | 46 | 0.79759 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | ce9c631acf9456af837021f1c123fc1be8ea453cceac70193bd07b5177515f1e | 14,333 | [
-1
] |
14,334 | 40-parameter-viewer.tcl | asmaloney_ACT-R/environment/GUI/dialogs/40-parameter-viewer.tcl |
proc make_parameter_viewer {} {
set model [currently_selected_model]
if {$model == "nil"} {
tk_messageBox -icon info -type ok -title "Parameter Viewer" -message "The parameter viewer requires a current model."
} else {
set win [toplevel [new_variable_name .param_viewer]]
wm withdraw $win
re... | 4,031 | Common Lisp | .cl | 76 | 44.907895 | 134 | 0.651193 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 894325f61f62c8bcddbf74d373b39956c63e22817a4ba95b4b2f38602d0a664d | 14,334 | [
-1
] |
14,335 | 91-dispatcher-status.tcl | asmaloney_ACT-R/environment/GUI/dialogs/91-dispatcher-status.tcl |
proc make_dispatcher_status_viewer {} {
if {[winfo exists .dispatcher] == 1} {
wm deiconify .dispatcher
raise .dispatcher
} else {
toplevel .dispatcher
wm withdraw .dispatcher
wm title .dispatcher "Connections Status"
wm geometry .dispatcher [get_configuration .dispatcher]
# f... | 6,837 | Common Lisp | .cl | 142 | 41.676056 | 152 | 0.684634 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | c8b78387c5af4b70741ed49afeef181e30721cd01b31088c4ba3ca641b12646c | 14,335 | [
-1
] |
14,336 | 67a-ptrace-button.tcl | asmaloney_ACT-R/environment/GUI/dialogs/67a-ptrace-button.tcl |
proc select_ptrace {} {
set model [currently_selected_model]
if {$model == "nil"} {
tk_messageBox -icon info -type ok -title "Production History" -message "Production history viewer requires a current model."
} else {
set win [toplevel [new_variable_name .ptrace]]
global $win.scale
global... | 21,336 | Common Lisp | .cl | 468 | 38.613248 | 305 | 0.640943 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | ea25f9d441117dabe00ce3a1a3693cff465aed9f89743a943a917a648c5bd32d | 14,336 | [
-1
] |
14,337 | 67-p-history-button.tcl | asmaloney_ACT-R/environment/GUI/dialogs/67-p-history-button.tcl |
set p_history_table [dict create]
frame [control_panel_name].p_history_display -borderwidth 0
button [control_panel_name].p_history_display.show_trace -command p_history_trace -text "Production" -font button_font
tk_optionMenu [control_panel_name].p_history_display.which_trace current_p_history_trace ""
[control... | 1,445 | Common Lisp | .cl | 31 | 43.322581 | 119 | 0.757554 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | dccac1095050da7606ca655a67dfb09564106894c6f6d3106aeb127e49e23ec8 | 14,337 | [
-1
] |
14,338 | 63a-blending-history.tcl | asmaloney_ACT-R/environment/GUI/dialogs/63a-blending-history.tcl |
proc make_blending_history_viewer {} {
set model [currently_selected_model]
if {$model == "nil"} {
tk_messageBox -icon info -type ok -title "Blending History" -message "Blending history viewer requires a current model."
} else {
set win [toplevel [new_variable_name .blending_history]]
wm wit... | 13,605 | Common Lisp | .cl | 265 | 43.075472 | 198 | 0.646681 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 5665e03bb76f300e06beae39615d2d314d20d06253337a2f98481e33cae79e44 | 14,338 | [
-1
] |
14,339 | 999-image-item.tcl | asmaloney_ACT-R/environment/GUI/dialogs/999-image-item.tcl | # This file is an extension for the ACT-R Environment to actually
# display .gif files as images in the visible-virtual-windows
# using the image-vdi objects created in the tools/image-feature.lisp
# file.
#
# All of the .gif files to display must be available in the
# gui/AGI-images directory.
#
# Mouse clicks on th... | 2,541 | Common Lisp | .cl | 52 | 44.403846 | 155 | 0.752857 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | b0d89456583988dc2f6f418ff55795ead8f03d37d87ecc214d286020ef46f35a | 14,339 | [
-1
] |
14,340 | 72a-ctrl-panel-gt-horizontal.tcl | asmaloney_ACT-R/environment/GUI/dialogs/72a-ctrl-panel-gt-horizontal.tcl |
proc select_graphic_trace {} {
set model [currently_selected_model]
if {$model == "nil"} {
tk_messageBox -icon info -type ok -title "Graphic Trace" -message "Graphic trace viewer requires a current model."
} else {
set win [toplevel [new_variable_name .graphic_trace]]
global $win.scale
wm w... | 19,371 | Common Lisp | .cl | 391 | 42.350384 | 274 | 0.645859 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 4206324fcecf7249aec5c45f5767dadc607acf08302e38c2f9ded368681b13f0 | 14,340 | [
-1
] |
14,341 | 60-ctrl-panel-recorded-label.tcl | asmaloney_ACT-R/environment/GUI/dialogs/60-ctrl-panel-recorded-label.tcl | label [control_panel_name].gen_recorded_label -text "General\nRecordable Data" -font label_font
pack [control_panel_name].gen_recorded_label
proc get_incremental_history {id} {
set start [call_act_r_command "get-incremental-history-data" nil [list $id]]
set result ""
while {$start != ""} {
set res... | 478 | Common Lisp | .cl | 11 | 39.363636 | 95 | 0.712088 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | f1cdabd2bb7c11a50035ceadc9ee6ccc9f57f30161608711f1f33a1412e460bf | 14,341 | [
-1
] |
14,342 | 11-ctrl-panel-load-python-button.tcl | asmaloney_ACT-R/environment/GUI/dialogs/11-ctrl-panel-load-python-button.tcl | # Assumes the normal load button has been loaded first.
# Works like the load ACT-R code button except that it
# passes the pathname off to the Python-import-from-file
# command if it exists which can import a python module
#
set load_result ""
proc record_load_traces {model s} {
global load_result
set load_res... | 3,643 | Common Lisp | .cl | 78 | 40.923077 | 194 | 0.682336 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | e2440eef8b1a4a9a339c931e48c7444192a9c298124f06c23213da8416285d31 | 14,342 | [
-1
] |
14,343 | 36-procedural.tcl | asmaloney_ACT-R/environment/GUI/dialogs/36-procedural.tcl | proc make_procedural_viewer {} {
set model [currently_selected_model]
if {$model == "nil"} {
tk_messageBox -icon info -type ok -title "Procedural" -message "Procedural viewer requires a current model."
} else {
set win [toplevel [new_variable_name .procedural]]
wm withdraw $win
record_new_w... | 4,239 | Common Lisp | .cl | 90 | 39.533333 | 138 | 0.654492 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 1c15691a0a9bf2ba64b6460d659b44b3e8e3be7737190d1960741df442d1c220 | 14,343 | [
-1
] |
14,344 | 61-trace-history.tcl | asmaloney_ACT-R/environment/GUI/dialogs/61-trace-history.tcl |
proc make_text_trace_history_viewer {} {
set win [toplevel [new_variable_name .text_trace_history]]
wm withdraw $win
wm geometry $win [get_configuration .text_trace_history $win]
# frame and radio buttons for level
set level_frame_1 [frame $win.level_frame_1 -borderwidth 0]
set rb1 [radiobu... | 8,446 | Common Lisp | .cl | 169 | 43.64497 | 209 | 0.673091 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 8371bc97fef394b293714634dea55413c2310615cee7a5cf57c42be8cadcfefa | 14,344 | [
-1
] |
14,345 | 21-stepper.tcl | asmaloney_ACT-R/environment/GUI/dialogs/21-stepper.tcl | global stop_type
global stepper_tutor
global tutor_ans
global tutor_bindings
global tutor_answers
global step_now
global stepper_tutorable
global stepper_tutored
global current_stepper_id
global tutor_selections
frame [control_panel_name].step_frame -borderwidth 0
checkbutton [control_panel_name].step_frame.step_a... | 39,244 | Common Lisp | .cl | 880 | 38.085227 | 281 | 0.671979 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 8dac9c043cca4e66875dc493dc5cbc2095772965b6097988920d3cbfb79a57c3 | 14,345 | [
-1
] |
14,346 | 00-copyrights.tcl | asmaloney_ACT-R/environment/GUI/dialogs/00-copyrights.tcl | # This file was mostly generated by vtcl-1.5.2
# I did the layout there, then hacked it up mostly
# because I'm not sure how to get vtcl to do what
# I want so it's easier to fix it by hand. In the process
# I removed the font 'support' stuff that was added automatically
# (things like get_font etc) because I've ... | 3,385 | Common Lisp | .cl | 76 | 38.763158 | 134 | 0.708771 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | fe0f679ba804b06fb84185d370fbce3a8ee5784f7a53ccb4f011ff7a36abd3f4 | 14,346 | [
-1
] |
14,347 | 73-ctrl-panel-gt-vertical.tcl | asmaloney_ACT-R/environment/GUI/dialogs/73-ctrl-panel-gt-vertical.tcl | proc select_vert_graphic_trace {} {
set model [currently_selected_model]
if {$model == "nil"} {
tk_messageBox -icon info -type ok -title "Graphic Trace" -message "Graphic trace viewer requires a current model."
} else {
set win [toplevel [new_variable_name .graphic_trace]]
global $win.scale
... | 20,561 | Common Lisp | .cl | 414 | 42.557971 | 287 | 0.644022 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | ecf3dc18d9f9cf8e3ef741ba04e501ccb636ba641ffb13b4e9fd49b48c6d425b | 14,347 | [
-1
] |
14,348 | 06-ctrl-panel-show-loaded.tcl | asmaloney_ACT-R/environment/GUI/dialogs/06-ctrl-panel-show-loaded.tcl | label [control_panel_name].current_load -text "Current Model" -font label_font
tk_optionMenu [control_panel_name].current_model_name global_current_model_name "No Current Model"
[control_panel_name].current_model_name configure -font label_font
[[control_panel_name].current_model_name cget -menu] configure -font but... | 5,550 | Common Lisp | .cl | 158 | 31.297468 | 172 | 0.699849 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | ad08916c8f94bf4f74ab1df65afa3e1a27903070eb778332d73c648211d3adee | 14,348 | [
-1
] |
14,349 | 999-touch-fingers.tcl | asmaloney_ACT-R/environment/GUI/dialogs/999-touch-fingers.tcl |
# This file is an extension for the ACT-R Environment to show
# the location of the fingers from the touch device from ACT-Touch
# (included in the extras) in the visible virtual windows using the
# agi handlers mechanism.
proc touch_agi_change {cmd win coords params} {
if {$win != "" && [$win.can gett... | 2,182 | Common Lisp | .cl | 32 | 63.25 | 272 | 0.649222 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | ee994d5ea6401268cb94c20c59bc1db4a5d215aea1453f33ac994ab4eb61f61e | 14,349 | [
-1
] |
14,350 | 81a-bold-browser.tcl | asmaloney_ACT-R/environment/GUI/dialogs/81a-bold-browser.tcl |
set bold_color_list [list #ff0000 #8080ff #008000 #ff8000 #7f7f7f #ff00ff #ffff00 #c08000 #f0f0f0 #c000c0 #00c050 #f0c0ff #c05850 #50ff25]
proc make_bold_multi_graphs {} {
set model [currently_selected_model]
if {$model == "nil"} {
tk_messageBox -icon info -type ok -title "BOLD graph" -message "BOLD graph ... | 13,963 | Common Lisp | .cl | 293 | 40.672355 | 185 | 0.651336 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 6faa6270ecbde5d28c58f80e654e9a2a3ba625d2bec9b0a43a94ba27e51fe8b4 | 14,350 | [
-1
] |
14,351 | 63-retrieval-history.tcl | asmaloney_ACT-R/environment/GUI/dialogs/63-retrieval-history.tcl |
proc make_declarative_history_viewer {} {
set model [currently_selected_model]
if {$model == "nil"} {
tk_messageBox -icon info -type ok -title "Retrieval History" -message "Retrieval history viewer requires a current model."
} else {
set win [toplevel [new_variable_name .retrieval_history]]
... | 12,151 | Common Lisp | .cl | 243 | 41.864198 | 183 | 0.646494 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 6f45531a63a90f2d3d39bb06811a86b0144da9543e927cfe17f5cd32a65998e2 | 14,351 | [
-1
] |
14,352 | 64-buffer-history.tcl | asmaloney_ACT-R/environment/GUI/dialogs/64-buffer-history.tcl |
proc make_buffer_history_viewer {} {
set model [currently_selected_model]
if {$model == "nil"} {
tk_messageBox -icon info -type ok -title "Buffer History" -message "Buffer history viewer requires a current model."
} else {
set win [toplevel [new_variable_name .buffer_history]]
wm withdraw $win
... | 12,292 | Common Lisp | .cl | 248 | 41.5 | 187 | 0.643244 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | ab0e4ba88ff56132cff6c69347f442c67dd80144ebef3dee68727a889774c75b | 14,352 | [
-1
] |
14,353 | 999-emma-eye-spot.tcl | asmaloney_ACT-R/environment/GUI/dialogs/999-emma-eye-spot.tcl |
# This file is an extension for the ACT-R Environment to show
# the location of the eye spot from the EMMA module in extras
# in the visible virtual windows using the agi handlers
# mechanism.
proc emma_agi_change {cmd win coords params} {
if {$win != "" && [$win.can gettags all] != ""} {
$win.can... | 1,195 | Common Lisp | .cl | 23 | 47.521739 | 268 | 0.658195 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 68b0fded65425577b52b0746f6df69f958c6751092d3ed7ce29e75a86205374a | 14,353 | [
-1
] |
14,354 | 21a-event-queue.tcl | asmaloney_ACT-R/environment/GUI/dialogs/21a-event-queue.tcl | proc select_event_queue {} {
if {[winfo exists .event_queue] == 1} {
wm deiconify .event_queue
raise .event_queue
} else {
# make it now
toplevel .event_queue
wm withdraw .event_queue
wm geometry .event_queue [get_configuration .event_queue]
set f [frame .event_queue.frame -borderwid... | 1,303 | Common Lisp | .cl | 29 | 39.793103 | 131 | 0.677419 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 4a25853d61e25cc5cd856562d56b0285202dec3cc0651ea4acc59c937242ef7a | 14,354 | [
-1
] |
14,355 | 22-ctrl-panel-reset-buttons.tcl | asmaloney_ACT-R/environment/GUI/dialogs/22-ctrl-panel-reset-buttons.tcl | global reload_return
global during_reload
set during_reload 0
frame [control_panel_name].r_frame -borderwidth 0
set reset_warnings ""
proc record_reset_warnings {model s} {
global reset_warnings
set reset_warnings "$reset_warnings$s"
return ""
}
button [control_panel_name].r_frame.reset -text "Reset" -font ... | 4,301 | Common Lisp | .cl | 93 | 41.215054 | 141 | 0.700606 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 28cd1ad04d0f9da7e12ca0426e82ada5c94f1f1e7530702c8cb8745975d1a710 | 14,355 | [
-1
] |
14,356 | 70-ctrl-panel-recorded-label.tcl | asmaloney_ACT-R/environment/GUI/dialogs/70-ctrl-panel-recorded-label.tcl | label [control_panel_name].recorded_label -text "Buffer Based\nRecordable Data" -font label_font
pack [control_panel_name].recorded_label
| 139 | Common Lisp | .cl | 2 | 68 | 96 | 0.808824 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | ed30ca21ec537ddd1d7c8f46cf7ea621c834a8f1e8008d79b7a9de98b682cab0 | 14,356 | [
-1
] |
14,357 | 38-visicon.tcl | asmaloney_ACT-R/environment/GUI/dialogs/38-visicon.tcl | proc select_visicon {} {
set model [currently_selected_model]
if {$model == "nil"} {
tk_messageBox -icon info -type ok -title "Visicon" -message "Inspector tools require a current model."
} else {
set win ".visicon_$model"
if {[winfo exists $win] == 1} {
wm deiconify $win
raise $win
... | 1,225 | Common Lisp | .cl | 32 | 32.0625 | 106 | 0.654278 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 78addeb6b38b337b062d1bb968b0a427a00360fc03c68e8551e70ebd1a7fb1ca | 14,357 | [
-1
] |
14,358 | 39-audicon.tcl | asmaloney_ACT-R/environment/GUI/dialogs/39-audicon.tcl | proc select_audicon {} {
set model [currently_selected_model]
if {$model == "nil"} {
tk_messageBox -icon info -type ok -title "Audicon" -message "Inspector tools require a current model."
} else {
set win ".audicon_$model"
if {[winfo exists $win] == 1} {
wm deiconify $win
raise $win
... | 1,226 | Common Lisp | .cl | 32 | 32.0625 | 106 | 0.654278 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 3d9b174dde3d1428679bb74f3a63c8c97fd6b30cefa9ccdfafd0cf396eed5d8b | 14,358 | [
-1
] |
14,359 | 37-buffer-viewer.tcl | asmaloney_ACT-R/environment/GUI/dialogs/37-buffer-viewer.tcl | proc make_buffer_viewer {} {
set model [currently_selected_model]
if {$model == "nil"} {
tk_messageBox -icon info -type ok -title "Buffer Viewer" -message "Inspector tools require a current model."
} else {
set win [toplevel [new_variable_name .buffers]]
wm withdraw $win
record_new_window $wi... | 5,067 | Common Lisp | .cl | 111 | 39.207207 | 144 | 0.652289 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | bbe1630cb75278bfb9da5d62c7657786a747a8e03fc949aa7a615ee03e2d33f2 | 14,359 | [
-1
] |
14,360 | 81-bold-button.tcl | asmaloney_ACT-R/environment/GUI/dialogs/81-bold-button.tcl |
set bold_view_table [dict create]
frame [control_panel_name].bold_display -borderwidth 0
button [control_panel_name].bold_display.show_trace -command display_bold_trace -text "BOLD" -font button_font
tk_optionMenu [control_panel_name].bold_display.which_trace current_bold_trace ""
[control_panel_name].bold_displ... | 1,351 | Common Lisp | .cl | 31 | 40.258065 | 110 | 0.752124 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 0ae959abdd24846292fa844d0369c3cd953d7fa24a44fa15f16af310b103b5f0 | 14,360 | [
-1
] |
14,361 | 23a-ctrl-panel-running-indicator.tcl | asmaloney_ACT-R/environment/GUI/dialogs/23a-ctrl-panel-running-indicator.tcl | frame [control_panel_name].run_display -borderwidth 0
label [control_panel_name].run_display.running_indicator -text "-------" -font label_font -foreground black -width 7
checkbutton [control_panel_name].run_display.enable_running -text "Show Run State" -font checkbox_font \
-variable check_ru... | 2,078 | Common Lisp | .cl | 43 | 43.488372 | 158 | 0.752911 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 60cdc76c6e4da394f9eb253613bcda599cf7063282531d22bdf1295317eca6e3 | 14,361 | [
-1
] |
14,362 | 66-perceptual-history.tcl | asmaloney_ACT-R/environment/GUI/dialogs/66-perceptual-history.tcl |
proc make_percept_history_viewer {name window cmd} {
set model [currently_selected_model]
if {$model == "nil"} {
tk_messageBox -icon info -type ok -title "$name History" -message "$name history viewer requires a current model."
} else {
set win [toplevel [new_variable_name $window]]
wm withdr... | 8,583 | Common Lisp | .cl | 174 | 41.465517 | 171 | 0.653963 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 2bb5e5f18e2fdfc3c77117da410899c346978bdb808e03739c74e88b203d23b6 | 14,362 | [
-1
] |
14,363 | 83-bold-brain-3d.tcl | asmaloney_ACT-R/environment/GUI/dialogs/83-bold-brain-3d.tcl | # The 3d code in this file was found on the Tcl/Tk Wiki (wiki.tcl.tk).
# It's been stripped down and modified specifically for
# use with the brain viewer, but the original file name
# and author are:
#
# 3dviewer.tcl
#
# Author : Mark B. Stucky
set voxel_colors [list "#f00" "#090" "#00f" "#a... | 47,498 | Common Lisp | .cl | 846 | 47.375887 | 396 | 0.547479 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 17c42cc453a270237654ac2015f118cdbb9b1a566c2bc03e92c697c0486dc85a | 14,363 | [
-1
] |
14,364 | 72-ctrl-panel-gt-button.tcl | asmaloney_ACT-R/environment/GUI/dialogs/72-ctrl-panel-gt-button.tcl |
set graphic_trace_table [dict create]
frame [control_panel_name].gt_display -borderwidth 0
button [control_panel_name].gt_display.graphic_trace -command select_current_graphic_trace -text "Graphic Trace" -font button_font
tk_optionMenu [control_panel_name].gt_display.which_trace current_graphic_trace ""
[control... | 1,422 | Common Lisp | .cl | 31 | 42.548387 | 130 | 0.762811 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 4e2aade63e4bd72374d7f04755a751b30cb9e7c0dcab243cf94be35bd9352553 | 14,364 | [
-1
] |
14,365 | 23-ctrl-panel-run-button.tcl | asmaloney_ACT-R/environment/GUI/dialogs/23-ctrl-panel-run-button.tcl | frame [control_panel_name].run_frame -borderwidth 0 -width 130
entry [control_panel_name].run_frame.run_time -width 6 -font text_font \
-textvariable run_button_time -justify right
[control_panel_name].run_frame.run_time insert 0 "10.0"
set run_warnings ""
proc record_run_warnings {model s} {
global run_wa... | 1,501 | Common Lisp | .cl | 32 | 41.90625 | 132 | 0.704782 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | f37d78ac6b2e55005567179cadfa2f150e9b75085c2d9ab57bc4a912fc3a601d | 14,365 | [
-1
] |
14,366 | 11-ctrl-panel-load-button.tcl | asmaloney_ACT-R/environment/GUI/dialogs/11-ctrl-panel-load-button.tcl | # The use_smart_load is going to be on the options panel, and it
# determines whether or not the file is just reloaded with the reload
# command (when it's nil) or whether the smart-loader function
# is used. For now the default is t - use smart-loader
set load_result ""
proc record_load_traces {model s} {
globa... | 3,379 | Common Lisp | .cl | 74 | 39.972973 | 194 | 0.679594 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 5d5352ac7ad4c9c28bc8a6cf2c30ede09546d96242689c9c49490d701b92b549 | 14,366 | [
-1
] |
14,367 | 99-exp-window.tcl | asmaloney_ACT-R/environment/GUI/dialogs/99-exp-window.tcl | # This file creates windows on the Environment side for showing
# Experiments generated with the AGI.
# There can be any number of experiment windows on the environment side,
# but there's only one "main" handler which isn't visible but is used
# to catch the environment closing to remove the vv-handler.
toplevel .env... | 11,451 | Common Lisp | .cl | 286 | 33.793706 | 275 | 0.604108 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | ba847c4ae04257a1fbb45a741b62fe8a433cd77d52458c82468dff4eeb173d1d | 14,367 | [
-1
] |
14,368 | 35-declarative.tcl | asmaloney_ACT-R/environment/GUI/dialogs/35-declarative.tcl | proc make_declarative_viewer {} {
set model [currently_selected_model]
if {$model == "nil"} {
tk_messageBox -icon info -type ok -title "Declarative" -message "Declarative memory viewer requires a current model."
} else {
set win [toplevel [new_variable_name .declarative]]
wm withdraw $win
recor... | 10,296 | Common Lisp | .cl | 213 | 41.206573 | 136 | 0.67034 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 80a4713cf52eabcdb3aa1207da6a4ba980bcfb08eceb69d26b7f0ac9e6619b9c | 14,368 | [
-1
] |
14,369 | 12-ctrl-panel-open-button.tcl | asmaloney_ACT-R/environment/GUI/dialogs/12-ctrl-panel-open-button.tcl | # Combine the Open and save buttons into one file (close no longer useful since multiple files may be opened)
# Open
frame [control_panel_name].o_frame
button [control_panel_name].o_frame.open -text "Open File" \
-font button_font \
-command {
global local_connection
global currently_... | 8,618 | Common Lisp | .cl | 229 | 28.641921 | 109 | 0.601404 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 6edfc9307d0378ebeb1536bfb8dfc4188959cc2d3a2e6975ce7e18932d30fc36 | 14,369 | [
-1
] |
14,370 | 82-bold-brain.tcl | asmaloney_ACT-R/environment/GUI/dialogs/82-bold-brain.tcl | image create photo brain -file [file join $tcl_env_dir dialogs ref-brain.gif]
proc make_bold_brains {} {
set model [currently_selected_model]
if {$model == "nil"} {
tk_messageBox -icon info -type ok -title "BOLD 2D brain" -message "BOLD viewer requires a current model."
} else {
set win [toplevel [n... | 16,451 | Common Lisp | .cl | 279 | 53.075269 | 189 | 0.67152 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | d31fad9199f8ae367658daf0d95b8ac4602817f6e81328c339184d418316283f | 14,370 | [
-1
] |
14,371 | 95-ctrl-panel-opt-button.tcl | asmaloney_ACT-R/environment/GUI/dialogs/95-ctrl-panel-opt-button.tcl | global current_options
proc select_options {} {
global options_array
global current_options
array set current_options [array get options_array]
if {[winfo exists .options] == 1} {
wm deiconify .options
raise .options
} else {
toplevel .options
wm withdraw .options
wm title .options "Op... | 5,250 | Common Lisp | .cl | 119 | 35.722689 | 113 | 0.644218 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 9f171507bc652742c4a61f26ba7905413d0a89409aea06b3f6c23a0b8eff6db4 | 14,371 | [
-1
] |
14,372 | 68-pgraph-button.tcl | asmaloney_ACT-R/environment/GUI/dialogs/68-pgraph-button.tcl |
proc select_pgraph {} {
set model [currently_selected_model]
if {$model == "nil"} {
tk_messageBox -icon info -type ok -title "Production Graph" -message "Production Graph viewer requires a current model."
} else {
set win [toplevel [new_variable_name .pgraph]]
wm withdraw $win
record_new_wi... | 18,455 | Common Lisp | .cl | 406 | 38.53202 | 255 | 0.648312 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 3f424db977c91e71d4ad0dfc7d9398e17be53c326c0af92750f48d46c3c6731f | 14,372 | [
-1
] |
14,373 | 71-pick-buffers.tcl | asmaloney_ACT-R/environment/GUI/dialogs/71-pick-buffers.tcl | proc pick_buffers {} {
set model [currently_selected_model]
if {$model == "nil"} {
tk_messageBox -icon info -type ok -title "Select Buffers" -message "Selecting Buffers to record requires a current model."
} else {
set win .pick_buffers_$model
if {[winfo exists $win] == 1} {
wm de... | 2,302 | Common Lisp | .cl | 58 | 29.396552 | 127 | 0.575646 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 43bc67193cc5bb98c6105debae4122183aa569311fa00836ffda300ba46928d7 | 14,373 | [
-1
] |
14,374 | simple_declarative.py | asmaloney_ACT-R/examples/creating-modules/external/simple_declarative.py | # Implement a replacement declartive memory module which provides
# a very small subset of the standard version that is sufficient
# to run the unit 1 models as an example.
# Also uses some ACT-R tools (matching chunks and a merge function
# for the parameters) to make the implementation simpler.
# Depends on th... | 11,598 | Common Lisp | .cl | 247 | 37.700405 | 145 | 0.645565 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 1b333bc61899b08ff94f3487258cb2b3d675813f8f453f554381c6832a547e0c | 14,374 | [
-1
] |
14,375 | simple.tcl | asmaloney_ACT-R/examples/connections/tcltk/simple.tcl | package require json
# Save the end of message marker in a variable
set end_of_cmd [format "%c" 4]
# Procedure to send the string to ACT-R with the end of message character.
proc send_string {s string} {
global end_of_cmd
puts $s "$string$end_of_cmd"
}
# Procedure to read a message from the soc... | 3,853 | Common Lisp | .cl | 98 | 33.714286 | 147 | 0.619907 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | f25848d98d2a08028d024fdb1cb79593bd8d5abe1e741dfefe487e7b7b71f521 | 14,375 | [
-1
] |
14,413 | 24-ctrl-panel-stop-button.tcx | asmaloney_ACT-R/environment/GUI/dialogs/24-ctrl-panel-stop-button.tcx | proc stop_model {} {
call_act_r_command "schedule-break-relative" "nil" [list 0]
# my json parser along with call_act_r_command can't create the options list... [list [list "details" "Environment Stop Button pressed"]]]
}
button [control_panel_name].stop_button \
-command {stop_model} -text "Stop" -font b... | 372 | Common Lisp | .l | 7 | 49.714286 | 140 | 0.724234 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 04045fbf526038e36d74f3b20a19cd65835b66c57d7e8b18bd6dae5594f5d85e | 14,413 | [
-1
] |
14,460 | multi_model_talking.py | asmaloney_ACT-R/examples/multiple-models/multi_model_talking.py | # 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,
# create a new ... | 7,937 | Common Lisp | .l | 139 | 50.201439 | 96 | 0.582719 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | ba976051fb843bd6fa1703b6ae5ae86746123de92ae72d39ed6ea09a6f922075 | 14,460 | [
-1
] |
14,472 | multi_window.py | asmaloney_ACT-R/examples/vision-module/multi_window.py | # 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 of
# the ... | 1,923 | Common Lisp | .l | 36 | 47.444444 | 88 | 0.708833 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | fe9845bd06e19e6ea89286c3c253923cb9bd78f05d0ad9d0380235a764e5bf93 | 14,472 | [
-1
] |
14,502 | goal.py | asmaloney_ACT-R/examples/creating-modules/external/goal.py | import actr
import threading
actr.undefine_module('goal')
actr.remove_command('goal-focus')
actr.remove_command('mod-focus')
goal_modules = {}
class goal_module():
def __init__(self):
self.lock = threading.Lock()
self.delayed = None
def reset(self):
self.lock.acq... | 7,015 | Common Lisp | .l | 142 | 38.077465 | 207 | 0.618934 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 407c8fa3df67574c78ea9a35148a8fdc841bc45a023ac184bf23d9d9ee94e785 | 14,502 | [
-1
] |
14,504 | goal_complete.py | asmaloney_ACT-R/examples/creating-modules/external/goal_complete.py | import json
import threading
import socket
import time
import os
current_connection = None
class evaluator():
def __init__(self,id):
self.id = id
self.lock = threading.Lock()
self.cv = threading.Condition(self.lock)
self.complete = False
def notify_result(self):... | 15,563 | Common Lisp | .l | 353 | 31.416431 | 207 | 0.557244 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 49506e38395d18a925e3f03190b6b3237640b8cca45600b8ad418285528f1888 | 14,504 | [
-1
] |
14,506 | simple.m | asmaloney_ACT-R/examples/connections/matlab/simple.m | % Read the ACT-R address and port config files
fid = fopen('~/act-r-address.txt','r');
address = fscanf(fid,'%s');
fclose(fid);
fid = fopen('~/act-r-port-num.txt','r');
port = fscanf(fid,'%d');
fclose(fid);
% Open a socket to connect to ACT-R
socket = tcpip(address,port,'NetworkRole','client','Timeout',Inf);
fopen... | 2,699 | Common Lisp | .l | 77 | 29.909091 | 163 | 0.650212 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 84ef8e881eb0c4a118721389bd9f1c90be5d643c3a1667517cb4632eba765239 | 14,506 | [
-1
] |
14,507 | simple_actr.py | asmaloney_ACT-R/examples/connections/python/simple_actr.py | import json
import socket
import os
# function to send a string to ACT-R with the end of message character
def send(socket,message):
m = message + chr(4)
socket.sendall(m.encode('utf-8'))
# Read from the stream until the end of message character and then return
# the value decoded from the JSON st... | 2,826 | Common Lisp | .l | 70 | 33.842857 | 122 | 0.627043 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 107891cfe19f7a4c973aabd65776e4ef32ad3c07da02222eba74031d48a7949f | 14,507 | [
-1
] |
14,508 | simple.c | asmaloney_ACT-R/examples/connections/c/simple.c | #include <stdio.h>
#include <string.h>
#include <jansson.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/tcp.h>
#include <netinet/in.h>
#include <netdb.h>
#include <stdlib.h>
#include <pwd.h>
// Read characters from a socket into a string until
// the ACT-R end of message character is found.
vo... | 6,114 | Common Lisp | .l | 194 | 27 | 134 | 0.63382 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 8cc8c2a53cd699ff0bc59ef969721a5d594827cf770e794e1fbc4b4bfd57ab5e | 14,508 | [
-1
] |
14,509 | actr-plotter.R | asmaloney_ACT-R/examples/connections/R/actr-plotter.R |
# load the rjson library to parse the incoming data
library(rjson)
# create a function to read from the socket until the
# ACT-R end of message character \004 is read. Return
# the parsed data from that message.
read_actr_message <- function(socket)
{
incoming <- ""
repeat {
c <- read.socket... | 3,984 | Common Lisp | .l | 104 | 33.692308 | 226 | 0.607499 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 8deaa57ce513ee2a3c313a9ab946ab1f7a2773162cd66ff115f2fe135839d8b3 | 14,509 | [
-1
] |
14,510 | environment.html | asmaloney_ACT-R/examples/connections/nodejs/environment.html | <html>
<body>
<script src="/socket.io/socket.io.js"></script>
<!-- For the mybinder and jupyter versions use this instead: src="socket.io/socket.io.js" -->
<script> // General communication with the node.js interface to ACT-R
var which_interface = 1; // 1 is normal, 2 is mybinder, 3 is jup... | 91,765 | Common Lisp | .l | 2,320 | 27.752586 | 314 | 0.552505 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 58dd6c831fe3dcbb9b7a5d6d45664760f9ac52f79e2482488c45d368878be0ea | 14,510 | [
-1
] |
14,511 | simple.js | asmaloney_ACT-R/examples/connections/nodejs/simple.js | var net = require('net')
var fs = require('fs')
// Get the user's home directory which hopefully is in one of these
// and matches the one ACT-R uses.
var home = process.env.HOME || process.env.USERPROFILE || process.env.HOMEPATH
var address = fs.readFileSync(home + "/act-r-address.txt",'utf8')
var port = ... | 3,298 | Common Lisp | .l | 67 | 41.880597 | 146 | 0.595906 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 0615ebc66cd454fd237cd653a33a2d46cbd9362892bead826526ddccbc7a83a1 | 14,511 | [
-1
] |
14,512 | goal.html | asmaloney_ACT-R/examples/connections/nodejs/goal.html | <html>
<body>
<script src="/socket.io/socket.io.js"></script>
<script>
var socket = io();
function update() {
socket.emit('getgoal');
};
socket.on('updategoal',function(msg){
document.getElementById("goal").innerHTML = msg;
});
</script>
<pre id="goal"></pre>... | 403 | Common Lisp | .l | 16 | 19.8125 | 59 | 0.601078 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 92111d97fb668fd9f73fc8fbd07e5ea537ba85993d437ab191f324806bd2d747 | 14,512 | [
-1
] |
14,513 | expwindow.html | asmaloney_ACT-R/examples/connections/nodejs/expwindow.html | <html>
<head>
<style type="text/css">
body, html {
margin:0;
padding:0;
background:white;
color:#000;
}
#canvas { border: 1px solid DarkGray; }
</style>
</head>
<body>
<div id="canvascontainer">
<canvas id="canvas" width="1024" height="768"></canvas>
</div>
... | 4,332 | Common Lisp | .l | 150 | 22.1 | 97 | 0.578652 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 54bc9077325c85897eb1aef9186cdfd79255032236a3f34d7dcfce0fd85a931d | 14,513 | [
-1
] |
14,514 | relay-virtual-view.js | asmaloney_ACT-R/examples/connections/nodejs/relay-virtual-view.js | // Create a webserver on port 3000 of the machine
// and provide two pages as examples using websockets
// provided by socket.io to update the information.
// The default page is a viewer for the visible virtual
// windows and this code will relay the info to that
// window to display on a canvas item.
// The... | 10,015 | Common Lisp | .l | 219 | 34.894977 | 165 | 0.542339 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 4c432f1bae45c46c3d13b0a48aff6daec1d9e098735e9dd855d5ea6224d30ecb | 14,514 | [
-1
] |
14,515 | index.html | asmaloney_ACT-R/examples/connections/nodejs/index.html | <html>
<head>
<style type="text/css">
body, html {
margin:0;
padding:0;
background:white;
color:#000;
}
#canvas { border: 1px solid DarkGray; }
</style>
</head>
<body>
<div id="canvascontainer">
<canvas id="canvas" width="1024" height="768"></canvas>
</div>
... | 3,599 | Common Lisp | .l | 134 | 20.231343 | 70 | 0.571471 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 1a0dd65be4c169f829c7da879f67cdfb48cd28e4b7f1f0152d835d46b7e5cb46 | 14,515 | [
-1
] |
14,517 | simpleACTRtest.java | asmaloney_ACT-R/examples/connections/Java/simpleACTRtest.java |
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.net.InetAddress;
import java.net.Socket;
import java.net.UnknownHostException;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.io.BufferedReader;
import... | 5,387 | Common Lisp | .l | 108 | 37.509259 | 144 | 0.56567 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 38185ee14aaea474287eafa4b38aa31ee868c033212248260ea4813b892e31d0 | 14,517 | [
-1
] |
14,548 | siegler.py | asmaloney_ACT-R/tutorial/python/siegler.py | # ACT-R tutorial unit 5 siegler task.
# This experiment presents a model with a pair of numbers aurally
# and the model must respond vocally with the sum of those numbers.
# The task and data to which the model is fit are in the paper:
#
# Siegler, R. S., & Shrager, J. (1984). Strategy choices in addition
# and ... | 5,039 | Common Lisp | .l | 119 | 34.966387 | 95 | 0.625286 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 7b77f17dfae4f6949f989d15fe88ee42b30ec5f34429bd537fc6cc7fbcd1b5c4 | 14,548 | [
-1
] |
14,549 | ul_issues.py | asmaloney_ACT-R/tutorial/python/ul_issues.py | # ACT-R tutorial unit7 task for investigating utility
# learning modeling issues.
import actr
def present_choose():
actr.goal_focus('initial-goal')
if actr.random(1.0) < .6:
answer = 'a'
elif actr.random(1.0) > .5:
answer = 'b'
else:
answer = None
actr.s... | 1,151 | Common Lisp | .l | 22 | 46.181818 | 148 | 0.728015 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 116b4ab4e757ce029c0dc845c9230a5c050d4217183aa10db0d69399b1d7fa4d | 14,549 | [
-1
] |
14,550 | sperling.py | asmaloney_ACT-R/tutorial/python/sperling.py | # 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 to... | 6,970 | Common Lisp | .l | 145 | 41.013793 | 92 | 0.675833 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 31a0bae4d033c9bd6642bb116edb942d87a031859fd90faf308a8aca83e05b59 | 14,550 | [
-1
] |
14,581 | WNLexical-readme.txt | asmaloney_ACT-R/extras/WNLexicalModule/WNLexical-readme.txt | #|
ACT-R/WN-LEXICAL :: WNLexical module
This directory contains the module file "WNLexical_3-0-2.lisp", which can be loaded using the
require-extra command in a model file (the recommended method):
(require-extra "WNLexicalModule")
or it can be placed into the user-loads directory of ACT-R to be loaded automatically... | 692 | Common Lisp | .l | 14 | 47.571429 | 93 | 0.815868 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | f58928880ea711261eefd43e382ca41827471bf3080d91b05d9a875b85d5dc6f | 14,581 | [
-1
] |
14,583 | WNLexicalData-readme.txt | asmaloney_ACT-R/extras/WNLexicalModule/WNLexicalData-readme.txt | #|
ACT-R/WN-LEXICAL :: WNLexicalData
The folder "WNLexicalData" contains the files that are used by the ACT-R
WN-Lexical module. The whole folder and its content must be copied to the
"actr7.x/" folder.
The files, "WNChunks.data" and "WNChunksIndexes.data" were generated from the
Prolog version of WordNet 3.0 ( http... | 622 | Common Lisp | .l | 13 | 46.153846 | 94 | 0.806988 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 5adea6f7feddcf1bf6af94ea0be3d267a74177fd616133be54cf5f9d52fcd43a | 14,583 | [
-1
] |
14,594 | blending-read-me.txt | asmaloney_ACT-R/extras/blending/blending-read-me.txt | This document describes a module for ACT-R 7 which implements the
blended retrieval mechanism described in:
Lebiere, C. (1999). The dynamics of cognitive arithmetic. Kognitionswissenschaft
[Journal of the German Cognitive Science Society] Special issue on cognitive
modelling and cognitive architectures, D.Wallach ... | 15,611 | Common Lisp | .l | 269 | 56.122677 | 85 | 0.770878 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 7c60bf2342d6a4faab7457dd7a7fe260cd51ffe379745ab74d6393dd072461f5 | 14,594 | [
-1
] |
14,605 | default-activation.txt | asmaloney_ACT-R/extras/adaptive-noise/example-data/default-activation.txt | -2.3861763
-1.8998168
-1.6305171
-1.45761
-1.3135244
-1.2095046
-1.1057488
-1.024914
-0.9488659
-0.8817001
-0.83555585
-0.7928741
-0.72860175
-0.7057436
-0.6628125
-0.63401324
-0.5960824
-0.5609349
-0.5287495
-0.48974237
-0.4769877
-0.44040513
-0.42719898
-0.39772093
-0.37000063
-0.35363412
-0.33690968
-0.31837842
-0.2... | 3,205 | Common Lisp | .l | 300 | 9.686667 | 13 | 0.87956 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | da220534262bdf9336b20e6732d3d6f2d5a85a7b19faf471c12894d930bf5253 | 14,605 | [
-1
] |
14,606 | default-latency.txt | asmaloney_ACT-R/extras/adaptive-noise/example-data/default-latency.txt | 0.0,3,,0.0,1
0.41457593,2,,0.012278588,2
0.82915187,1,,0.024557175,1
1.2437278,7,,0.036835764,3
1.6583037,11,,0.04911435,2
2.0728798,18,,0.061392937,5
2.4874556,35,,0.07367153,9
2.9020314,24,,0.085950114,22
3.3166075,48,,0.0982287,19
3.7311835,49,,0.11050729,34
4.1457596,67,,0.12278587,34
4.560335,81,,0.13506447,50
4.9... | 2,668 | Common Lisp | .l | 101 | 25.415842 | 29 | 0.763927 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | b3c29bf3ce9193acfd9ffc7996acf3bb0a94f699155459a73263fd854da5012f | 14,606 | [
-1
] |
14,607 | reinforce-uan-latency.txt | asmaloney_ACT-R/extras/adaptive-noise/example-data/reinforce-uan-latency.txt | 0.0,2,,0.0,2
0.026696568,2,,0.0020919263,0
0.053393137,3,,0.0041838526,2
0.0800897,6,,0.0062757786,0
0.10678627,6,,0.008367705,0
0.13348284,9,,0.010459632,0
0.1601794,22,,0.012551557,0
0.18687598,19,,0.014643484,1
0.21357255,26,,0.01673541,0
0.24026911,32,,0.018827336,1
0.2669657,42,,0.020919263,2
0.29366225,52,,0.0230... | 2,801 | Common Lisp | .l | 101 | 26.732673 | 30 | 0.775556 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | cf0e8cef75a9bf5bfd694f35e8cb8cdf9552cd2bba9155b92dd9ceb695f6fccf | 14,607 | [
-1
] |
14,608 | uan-latency.txt | asmaloney_ACT-R/extras/adaptive-noise/example-data/uan-latency.txt | 0.0,1,,0.0,1
0.02850886,5,,0.003426439,0
0.05701772,2,,0.006852878,0
0.085526586,10,,0.010279316,0
0.11403544,7,,0.013705756,2
0.1425443,9,,0.017132195,0
0.17105317,18,,0.020558633,0
0.19956203,27,,0.023985073,1
0.22807088,41,,0.027411511,0
0.25657976,43,,0.03083795,1
0.2850886,44,,0.03426439,0
0.31359747,81,,0.0376908... | 2,780 | Common Lisp | .l | 101 | 26.524752 | 29 | 0.773796 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 98e6347bbe8f3b9cf1404bfe8fe953a76abebbd2117fdcacc8734fe1a14a255b | 14,608 | [
-1
] |
14,609 | reinforce-latency.txt | asmaloney_ACT-R/extras/adaptive-noise/example-data/reinforce-latency.txt | 0.0,2,,0.0,4
0.4188886,2,,0.016614527,6
0.8377772,5,,0.033229053,4
1.2566658,8,,0.04984358,25
1.6755544,11,,0.066458106,49
2.094443,19,,0.08307263,62
2.5133317,33,,0.09968716,81
2.9322202,39,,0.116301686,111
3.3511088,55,,0.13291621,155
3.7699974,54,,0.14953074,207
4.188886,67,,0.16614527,215
4.6077747,91,,0.18275979,2... | 2,642 | Common Lisp | .l | 101 | 25.158416 | 29 | 0.761511 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | c3ccb10d56e4f3a02a612bbdee38825364ac9a673d8c1a2057f71adcd76407b6 | 14,609 | [
-1
] |
14,610 | default-choice.txt | asmaloney_ACT-R/extras/adaptive-noise/example-data/default-choice.txt | 0.5984
0.5946
0.5874
0.6004
0.5938
0.5848
0.586
0.5976
0.5912
0.5888
0.5962
0.5938
0.5948
0.59
0.585
0.5924
0.593
0.595
0.589
0.5934
0.599
0.5926
0.5942
0.596
0.608
0.5926
0.5982
0.6
0.5946
0.5874
0.5958
0.606
0.5936
0.584
0.5994
0.607
0.592
0.5856
0.5936
0.5942
0.601
0.5912
0.586
0.5892
0.5844
0.6034
0.6062
0.5844
0.5... | 2,014 | Common Lisp | .l | 300 | 5.716667 | 6 | 0.825073 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | c115afe4fd748d0d8c42d3ed358bdb6b30bdf4c685adbe884a197dd0050592ab | 14,610 | [
-1
] |
14,620 | release.yaml | asmaloney_ACT-R/.github/workflows/release.yaml | name: Release ACT-R Slim
on:
release:
types: [created, edited]
jobs:
slim:
name: Release ACT-R Slim
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Slim Archive
# "slim" removes examples, tutorials, and extras
run: zip -r actr-slim-${{ github.event.rele... | 1,083 | Common Lisp | .l | 23 | 40.217391 | 268 | 0.623229 | asmaloney/ACT-R | 6 | 0 | 0 | LGPL-2.1 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 3f834cf425c9078db8bf5acf599f8e902388284537b3d3ec5b89872b10e8778c | 14,620 | [
-1
] |
14,663 | boot.lisp | rudolfochrist_cl-manager/templates/boot.lisp | ;;; boot.lisp
;;; This Source Code Form is subject to the terms of the Mozilla Public
;;; License, v. 2.0. If a copy of the MPL was not distributed with this
;;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; ... | 1,746 | Common Lisp | .lisp | 29 | 54.551724 | 86 | 0.457578 | rudolfochrist/cl-manager | 6 | 0 | 4 | MPL-2.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 6da5fed968b1271a72bcc2882e1f63e904a3ff5e1685fc295c01c1b1cab9ffb1 | 14,663 | [
-1
] |
14,664 | cl-manager.asd | rudolfochrist_cl-manager/cl-manager.asd | ;;; cl-manager.asd
;;; This Source Code Form is subject to the terms of the Mozilla Public
;;; License, v. 2.0. If a copy of the MPL was not distributed with this
;;; file, You can obtain one at http://mozilla.org/MPL/2.0/.
(defsystem "cl-manager"
:author "Sebastian Christ <rudolfo.christ@pm.me>"
:maintainer "Seb... | 1,974 | Common Lisp | .asd | 35 | 42.257143 | 97 | 0.563533 | rudolfochrist/cl-manager | 6 | 0 | 4 | MPL-2.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 8c3c9f40d04841643bc3fe9e2497f3186db39bacdc4d8ea526a98f1684486783 | 14,664 | [
-1
] |
14,668 | org-export.el | rudolfochrist_cl-manager/doc/org-export.el | ;;; org-export.el --- Org texinfo customizations
;;; Commentary:
;; Stuff to make org and texinfo work better together.
;; This Source Code Form is subject to the terms of the Mozilla Public
;; License, v. 2.0. If a copy of the MPL was not distributed with this
;; file, You can obtain one at http://mozilla.org/MPL/2.... | 5,468 | Common Lisp | .l | 125 | 35.696 | 111 | 0.624953 | rudolfochrist/cl-manager | 6 | 0 | 4 | MPL-2.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | bbdcbb86c49682c78bbe804685d95d1d97aaa0ed0d15664f2df9eba9196b26e4 | 14,668 | [
-1
] |
14,683 | vgmplay.asd | bohonghuang_vgmplay/vgmplay.asd | #+sb-core-compression
(defmethod asdf:perform ((o asdf:image-op) (c asdf:system))
(uiop:dump-image (asdf:output-file o c) :executable t :compression t))
(defsystem vgmplay
:defsystem-depends-on (:deploy)
:version "1.1.0"
:author "Bohong Huang <1281299809@qq.com>"
:maintainer "Bohong Huang <1281299809@qq.com>... | 842 | Common Lisp | .asd | 19 | 41.526316 | 104 | 0.729927 | bohonghuang/vgmplay | 6 | 0 | 0 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 021c4f35f87cb1172e5ec18ec6bad55a548f49742a34d4cbbf5b68c34f8f88fc | 14,683 | [
-1
] |
14,700 | setup.lisp | enzuru_home/quicklisp/setup.lisp | (defpackage #:ql-setup
(:use #:cl)
(:export #:*quicklisp-home*
#:qmerge
#:qenough))
(in-package #:ql-setup)
(unless *load-truename*
(error "This file must be LOADed to set up quicklisp."))
(defvar *quicklisp-home*
(make-pathname :name nil :type nil
:defaults *load-truen... | 5,057 | Common Lisp | .lisp | 117 | 33.700855 | 80 | 0.605851 | enzuru/home | 6 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 6db1228dd118df9f948bede12d0156d45a8063b89f4d67c07bd75b9a0e71bebc | 14,700 | [
128673
] |
14,701 | impl-util.lisp | enzuru_home/quicklisp/quicklisp/impl-util.lisp | ;;;; impl-util.lisp
(in-package #:ql-impl-util)
(definterface call-with-quiet-compilation (fun)
(:documentation
"Call FUN with warnings, style-warnings, and other verbose messages
suppressed.")
(:implementation t
(let ((*load-verbose* nil)
(*compile-verbose* nil)
(*load-print* nil)
... | 12,468 | Common Lisp | .lisp | 312 | 33.541667 | 83 | 0.669169 | enzuru/home | 6 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 2c3a2094f14b31fd0bd3c0faab108f4a21133d8314cd6d8eb4350fe974cb0822 | 14,701 | [
161736
] |
14,702 | package.lisp | enzuru_home/quicklisp/quicklisp/package.lisp | ;;;; package.lisp
(defpackage #:ql-util
(:documentation
"Utility functions used in various places.")
(:use #:cl)
(:export #:write-line-to-file
#:without-prompting
#:press-enter-to-continue
#:replace-file
#:copy-file
#:delete-file-if-exists
#:en... | 9,318 | Common Lisp | .lisp | 326 | 19.518405 | 71 | 0.549911 | enzuru/home | 6 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | d78120dd5762d98be77509ea7c4d2f75cf0e10b24b448f378b692ce9a4674d52 | 14,702 | [
374779
] |
14,703 | http.lisp | enzuru_home/quicklisp/quicklisp/http.lisp | ;;;
;;; A simple HTTP client
;;;
(in-package #:ql-http)
;;; Octet data
(deftype octet ()
'(unsigned-byte 8))
(defun make-octet-vector (size)
(make-array size :element-type 'octet
:initial-element 0))
(defun octet-vector (&rest octets)
(make-array (length octets) :element-type 'octet
... | 27,724 | Common Lisp | .lisp | 758 | 26.377309 | 84 | 0.543644 | enzuru/home | 6 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 900b19acc7447cde3fda42aef408257602408816a0f8179842a3e226d68535c1 | 14,703 | [
29254,
404582
] |
14,704 | setup.lisp | enzuru_home/quicklisp/quicklisp/setup.lisp | (in-package #:quicklisp)
(defun show-wrapped-list (words &key (indent 4) (margin 60))
(let ((*print-right-margin* margin)
(*print-pretty* t)
(*print-escape* nil)
(prefix (make-string indent :initial-element #\Space)))
(pprint-logical-block (nil words :per-line-prefix prefix)
(pprint-fill ... | 10,112 | Common Lisp | .lisp | 230 | 32.552174 | 79 | 0.572848 | enzuru/home | 6 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 194ec9b55ed46a523cddf51dc5bc472528fb1312a6bafc3849068174175d3508 | 14,704 | [
363587
] |
14,705 | cdb.lisp | enzuru_home/quicklisp/quicklisp/cdb.lisp | ;;;; cdb.lisp
(in-package #:ql-cdb)
(defconstant +initial-hash-value+ 5381)
(defun cdb-hash (octets)
"http://cr.yp.to/cdb/cdb.txt"
(declare (type (simple-array (unsigned-byte 8) (*)) octets)
(optimize speed))
(let ((h +initial-hash-value+))
(declare (type (unsigned-byte 32) h))
(dotimes (i (... | 13,548 | Common Lisp | .lisp | 313 | 35.035144 | 80 | 0.625834 | enzuru/home | 6 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 2da9d65a341190ad89db1019d18d62983595709c6c2b784cd9dd33e1ffa56004 | 14,705 | [
336637,
354884
] |
14,706 | utils.lisp | enzuru_home/quicklisp/quicklisp/utils.lisp | ;;;; utils.lisp
(in-package #:ql-util)
(defun write-line-to-file (string file)
(with-open-file (stream file
:direction :output
:if-exists :supersede)
(write-line string stream)))
(defvar *do-not-prompt* nil
"When *DO-NOT-PROMPT* is true, PRESS-ENTER-TO-CONT... | 5,189 | Common Lisp | .lisp | 127 | 31.15748 | 88 | 0.581086 | enzuru/home | 6 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | a030ee175e7f893a25dbab4740f40265dd396a0fb507241f970014ab0d1ac102 | 14,706 | [
359110
] |
14,707 | deflate.lisp | enzuru_home/quicklisp/quicklisp/deflate.lisp | ;;;; Deflate --- RFC 1951 Deflate Decompression
;;;;
;;;; Copyright (C) 2000-2009 PMSF IT Consulting Pierre R. Mai.
;;;;
;;;; Permission is hereby granted, free of charge, to any person obtaining
;;;; a copy of this software and associated documentation files (the
;;;; "Software"), to deal in the Software without restr... | 34,317 | Common Lisp | .lisp | 720 | 39.097222 | 86 | 0.630663 | enzuru/home | 6 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 0a1539373c136cb5c8ebeab159ba1a06a85cd2a53fb82ac8990294b3f2c7bf90 | 14,707 | [
166042,
351806
] |
14,708 | dist.lisp | enzuru_home/quicklisp/quicklisp/dist.lisp | ;;;; dist.lisp
(in-package #:ql-dist)
;;; Generic functions
(defgeneric dist (object)
(:documentation
"Return the dist of OBJECT."))
(defgeneric available-versions (object)
(:documentation
"Return a list of version information for OBJECT."))
(defgeneric system-index-url (object)
(:documentation
"Re... | 38,423 | Common Lisp | .lisp | 980 | 31.865306 | 118 | 0.648718 | enzuru/home | 6 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | bfaaf06e56b97d4f8aee214438532ac15b7eeb67282a330b2700add333253aee | 14,708 | [
13654
] |
14,709 | progress.lisp | enzuru_home/quicklisp/quicklisp/progress.lisp | ;;;
;;; A text progress bar
;;;
(in-package #:ql-progress)
(defclass progress-bar ()
((start-time
:initarg :start-time
:accessor start-time)
(end-time
:initarg :end-time
:accessor end-time)
(progress-character
:initarg :progress-character
:accessor progress-character)
(character-cou... | 5,100 | Common Lisp | .lisp | 137 | 32.335766 | 77 | 0.6964 | enzuru/home | 6 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 49fd6aabfcf1cdddf7b523fb610952c5378e9bdc2e2fa30fb52c6a6517e64040 | 14,709 | [
363047,
366153
] |
14,710 | bundle-template.lisp | enzuru_home/quicklisp/quicklisp/bundle-template.lisp | (cl:in-package #:cl-user)
(eval-when (:compile-toplevel :load-toplevel :execute)
(require "asdf")
(unless (find-package '#:asdf)
(error "ASDF could not be required")))
(let ((indicator '#:ql-bundle-v1)
(searcher-name '#:ql-bundle-searcher)
(base (make-pathname :name nil :type nil
... | 6,978 | Common Lisp | .lisp | 148 | 29.952703 | 86 | 0.491272 | enzuru/home | 6 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | a522c1a02471a532ddfeca50e9f156b37080e87e2686f5a4daa4ae873de176e9 | 14,710 | [
116942,
144791
] |
14,711 | client.lisp | enzuru_home/quicklisp/quicklisp/client.lisp | ;;;; client.lisp
(in-package #:quicklisp-client)
(defvar *quickload-verbose* nil
"When NIL, show terse output when quickloading a system. Otherwise,
show normal compile and load output.")
(defvar *quickload-prompt* nil
"When NIL, quickload systems without prompting for enter to
continue, otherwise proceed di... | 5,267 | Common Lisp | .lisp | 119 | 34.882353 | 84 | 0.610018 | enzuru/home | 6 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | f3b6ab6d1641566e10fa7dbbf22a204cca311573313e84f40b7d701a13bfcf8d | 14,711 | [
101606
] |
14,712 | impl.lisp | enzuru_home/quicklisp/quicklisp/impl.lisp | (in-package #:ql-impl)
(eval-when (:compile-toplevel :load-toplevel :execute)
(defun error-unimplemented (&rest args)
(declare (ignore args))
(error "Not implemented")))
(defvar *interfaces* (make-hash-table)
"A table of defined interfaces and their documentation.")
(defun show-interfaces ()
"Display i... | 10,024 | Common Lisp | .lisp | 264 | 27.984848 | 87 | 0.570664 | enzuru/home | 6 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | dfb3b46eba9b58e59581ad8850971638447372d7ae9827b2e36d1bb19b54dda0 | 14,712 | [
285227
] |
14,713 | config.lisp | enzuru_home/quicklisp/quicklisp/config.lisp | ;;;; config.lisp
(in-package #:ql-config)
(defun config-value-file-pathname (path)
(let ((bad-position (position #\Space path)))
(when bad-position
(error "Space not allowed at position ~D in ~S"
bad-position
path)))
(let* ((space-path (substitute #\Space #\/ path))
(s... | 1,356 | Common Lisp | .lisp | 36 | 28.833333 | 75 | 0.582067 | enzuru/home | 6 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 6e11df8585ae1dca0bb88d78f748ba63b5026d22ee740618b59db78ea24278d7 | 14,713 | [
246628,
269494
] |
14,714 | minitar.lisp | enzuru_home/quicklisp/quicklisp/minitar.lisp | (in-package #:ql-minitar)
(defconstant +block-size+ 512)
(defconstant +space-code+ 32)
(defconstant +newline-code+ 10)
(defconstant +equals-code+ 61)
(defun make-block-buffer ()
(make-array +block-size+ :element-type '(unsigned-byte 8) :initial-element 0))
(defun skip-n-blocks (n stream)
(let ((block (make-block... | 6,950 | Common Lisp | .lisp | 172 | 32.238372 | 80 | 0.609056 | enzuru/home | 6 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 0783c1bc21c26d0974d1656046051810611a9fae8cc098bcaf1e8d1fafe1d663 | 14,714 | [
15486,
109489
] |
14,715 | client-update.lisp | enzuru_home/quicklisp/quicklisp/client-update.lisp | ;;;; client-update.lisp
(in-package #:quicklisp-client)
(defun fetch-client-file-info (client-file-info output-file)
(maybe-fetch-gzipped (file-url client-file-info) output-file)
(check-client-file output-file client-file-info)
(probe-file output-file))
(defun retirement-directory (base)
(let ((suffix 0))
... | 4,446 | Common Lisp | .lisp | 97 | 35.762887 | 77 | 0.601613 | enzuru/home | 6 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 9837840018b960c05f0bb724541d366cbc07887954c6adc000184d2e4412b46b | 14,715 | [
39214,
189150
] |
14,716 | bundle.lisp | enzuru_home/quicklisp/quicklisp/bundle.lisp | ;;;; bundle.lisp
(in-package #:ql-bundle)
;;; Bundling is taking a set of Quicklisp-provided systems and
;;; creating a directory structure and metadata in which those systems
;;; can be loaded without involving Quicklisp.
;;;
;;; This works for systems provided directly Quicklisp, or systems in
;;; the Quicklisp loc... | 14,070 | Common Lisp | .lisp | 315 | 34.974603 | 89 | 0.62686 | enzuru/home | 6 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 45e4844452b88a4e5c421711384bbe72c97b41d2b46de683fbae6610e5308031 | 14,716 | [
174445,
481830
] |
14,717 | fetch-gzipped.lisp | enzuru_home/quicklisp/quicklisp/fetch-gzipped.lisp | ;;;; fetch-gzipped.lisp
(in-package #:quicklisp-client)
(defun gzipped-url (url)
(check-type url string)
(concatenate 'string url ".gz"))
(defun fetch-gzipped-version (url file &key quietly)
(let ((gzipped (gzipped-url url))
(gzipped-temp (merge-pathnames "gzipped.tmp" file)))
(fetch gzipped gzippe... | 887 | Common Lisp | .lisp | 23 | 32.913043 | 60 | 0.675991 | enzuru/home | 6 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 89db16c8a218c3219a4b956f44b367c4f4849aa08cde0c9ebaa2fce76423bbc5 | 14,717 | [
259400,
372524
] |
14,718 | misc.lisp | enzuru_home/quicklisp/quicklisp/misc.lisp | ;;;; misc.lisp
(in-package #:quicklisp-client)
;;;
;;; This stuff will probably end up somewhere else.
;;;
(defun use-only-quicklisp-systems ()
(asdf:initialize-source-registry
'(:source-registry :ignore-inherited-configuration))
(asdf:map-systems 'asdf:clear-system)
t)
(defun who-depends-on (system-name)
... | 587 | Common Lisp | .lisp | 16 | 33.5 | 74 | 0.726631 | enzuru/home | 6 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | 3990cf410ff4cdd4f1b8c18c32e9576a83fdcbd28330cb702c68e337b856269a | 14,718 | [
64313
] |
14,719 | network.lisp | enzuru_home/quicklisp/quicklisp/network.lisp | ;;;
;;; Low-level networking implementations
;;;
(in-package #:ql-network)
(definterface host-address (host)
(:implementation t
host)
(:implementation sbcl
(ql-sbcl:host-ent-address (ql-sbcl:get-host-by-name host))))
(definterface open-connection (host port)
(:documentation "Open and return a network c... | 5,767 | Common Lisp | .lisp | 132 | 29.681818 | 75 | 0.544695 | enzuru/home | 6 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | f5f88071c009593c286143e30341a1e8b27f0d20b499731017cce8248f8d476c | 14,719 | [
458697
] |
14,720 | local-projects.lisp | enzuru_home/quicklisp/quicklisp/local-projects.lisp | ;;;; local-projects.lisp
;;;
;;; Local project support.
;;;
;;; Local projects can be placed in <quicklisp>/local-projects/. New
;;; entries in that directory are automatically scanned for system
;;; files for use with QL:QUICKLOAD.
;;;
;;; This works by keeping a cache of system file pathnames in
;;; <quicklisp>/loca... | 5,706 | Common Lisp | .lisp | 124 | 37.895161 | 108 | 0.646372 | enzuru/home | 6 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | c01a049f03b266c6de4a642d8e14802b84baf04a93c0822b781e4e5e648c35aa | 14,720 | [
169198,
378721
] |
14,721 | quicklisp.asd | enzuru_home/quicklisp/quicklisp/quicklisp.asd | ;;;; quicklisp.asd
(defpackage #:ql-info
(:export #:*version*))
(defvar ql-info:*version*
(with-open-file (stream (merge-pathnames "version.txt" *load-truename*))
(read-line stream)))
(asdf:defsystem #:quicklisp
:description "The Quicklisp client application."
:author "Zach Beane <zach@quicklisp.org>"
... | 1,117 | Common Lisp | .lisp | 33 | 23.060606 | 74 | 0.486586 | enzuru/home | 6 | 0 | 1 | GPL-3.0 | 9/19/2024, 11:27:13 AM (Europe/Amsterdam) | c3c6c709bd09c6e5d0b8bf7ac64489a718b30d1d050147a608d6a0e8b8bca94b | 14,721 | [
5838,
455302
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.