common-lisp
towers of hanoi in common lisp
I think this is going to be a vague question because I don\'t know exactly what I am doing in the first place but here it goes.[详细]
2023-04-12 22:14 分类:问答Does there exist standard way to run external program in Common Lisp?
In clisp, the following code works: (defun hit-history () (shell \"tail ssqHitNum.txt\")) However, in Clozure CL, the she开发者_如何学Goll function is not supported!No, there is no standard way, bu[详细]
2023-04-12 16:03 分类:问答Common Lisp Binary Tree
I am trying to write a program in Common Lisp using GNU ClISP to c开发者_JS百科ompile it. I would like to enter a list such as (A(B (C) ()) (D (E) (F (G) ()))) and depending on the first word print ou[详细]
2023-04-12 09:03 分类:问答How to change SBCL's current directory?
It is very easy to change CLisp\'s current working directory: >cat ~/.clisprc.lisp ;;; The following lines added by ql:add-to-in开发者_运维百科it-file:[详细]
2023-04-12 04:43 分类:问答Debugging Lisp & SLIME, error "Cannot find source location"
开发者_JS百科I am wrote the code with bugs. Example: (print (/ 1 0)) I am trying compile with C-c C-c.[详细]
2023-04-11 22:51 分类:问答Lisp - modify A* to check for best cost, receive list of goal nodes
I am trying to modify an existing Hill-climb function, which takes two node names (such as A and E), and has an optional parameter which is used recursively (a queue). I\'m trying to define a function[详细]
2023-04-11 21:45 分类:问答Towers of Hanoi with Named Discs
For an assignment I have to create Towers of Hanoi in Common LISP with named discs. I need to get output that looks something like this:[详细]
2023-04-11 20:13 分类:问答Inspecting a variable in the lisp SLIME debugger
I am trying to inspect the value of a variable 开发者_如何学运维at a determined breakpoint. Here is my simplified code:[详细]
2023-04-11 11:41 分类:问答Saving lisp state
I am a beginner in lisp and have a question. When I writing some code directly in REPL (without any .lisp file!), how can I save my work/state of the interpreter to restore it 开发者_如何学编程next ti[详细]
2023-04-11 04:48 分类:问答Trying to remove duplicates of atoms specified in first list from second list
I\'m trying to write a function that works like remove-duplicates, but it instead takes two lists as input, the first specifying characters for which duplication is not allowed, and the second being a[详细]
2023-04-10 17:16 分类:问答