lisp
lisp interpreter in python
I\'m curious how a part of Peter Norvig\'s Lisp interpreter works. One can define functions in this Lisp interpreter...how does this work? I\'m a beginner, and just would like a simple explanation.[详细]
2023-03-12 11:46 分类:问答write comparison string function
I fully understand the use of list in lisp but I \'ve got problem using string. I try to write my own code of fu开发者_如何学运维nctions like string> or string< from common lisp to understand how l[详细]
2023-03-12 07:53 分类:问答Why apply is so important for lisp evaluator?
I have read chapter 4 of SICP,开发者_Python百科 and just found that the first section lists the most important functions for implementing a evaluator, eval and apply, I understand that eval is very im[详细]
2023-03-11 20:05 分类:问答Just getting used to paredit in emacs on OS X - how come C-) doesn't work?
I\'ve recently set up a Common Lisp programming environment in Mac OS X Leopard.One emacs module which I\'ve found to be indispensable is paredit.Paredit is doing its part to help me wrangle my Lisp c[详细]
2023-03-11 17:36 分类:问答Variable as table name using Lisp/Postmodern/PostgreSQL
Can someone please give an example of how to write a row to a table using a variable as the table name in Lisp/Postmodern/S-SQL/PostgreSQL?[详细]
2023-03-11 08:29 分类:问答defining a procedure using graphics-draw-line
Can you see what is wrong with this: (define (box d x1 y1 x2 y2)( (graphics-draw-line d x1 y1 x1 y2) (graphics-draw-line d x1 y2 x2 y2)[详细]
2023-03-11 07:44 分类:问答How can I find the value of LC_XXX locale integr constants so that I can use them with cffi
I have this code开发者_JS百科: (define-foreign-library libc (:unix \"libc.so.6\")) (use-foreign-library libc)[详细]
2023-03-11 06:40 分类:问答How well does your language support unicode in practice?
I\'m looking into new languages, kind of craving for one where I no longer need to worry about charset problems amongst inordinate amounts of other niggles I have with PHP for a new project.[详细]
2023-03-11 05:06 分类:问答Why isn't this Do Form valid?
I\'m new to Common Lisp. I tried out the following do form: (do ((n 0 (+ n 1))) (< n 10) (print n)) Clisp responds with:[详细]
2023-03-10 22:39 分类:问答write lisp dialect
Do you have any advice for writing a 开发者_JS百科Lisp dialect/interpreter in Python? I\'d like to start off with just several basic commands, like set, print, and define or something.There\'s a fully[详细]
2023-03-10 14:39 分类:问答