Search found 226 matches

by edgar-rft
Mon Oct 08, 2018 6:20 am
Forum: The Lounge
Topic: Not Too Active Huh?
Replies: 8
Views: 137550

Re: Not Too Active Huh?

Moar Facebook integration with Common Lisp! (defun facebook () (loop :for n :from 0 :to (+ 5 (random 5)) :collect (list (intern (format nil "~a~a~a" (aref #(+ - *) (random 3)) (aref #(\. _) (random 2)) (aref #(+ - *) (random 3))))))) Now you can see all your Facebook friends in the REPL: C...
by edgar-rft
Sun Sep 23, 2018 8:46 am
Forum: Common Lisp
Topic: variable filter-list item
Replies: 3
Views: 17253

Re: variable filter-list item

A version without backquote would look like:

Code: Select all

(setq ss (ssget "_X" (list (cons 2 a))))
by edgar-rft
Sat Apr 01, 2017 2:25 am
Forum: Common Lisp
Topic: Functional Programming vs. Unnecessary Consing
Replies: 4
Views: 14126

Re: Functional Programming vs. Unnecessary Consing

Hello and welcome leirbag75 ! One of the points why this forum exists is answering noob questions. :D We all have learned Common Lisp at some time in our lives, and those who are afraid to ask questions will probably never learn anything at all. One of the points in using Common Lisp is that you do ...
by edgar-rft
Fri Jan 27, 2017 7:48 am
Forum: The Lounge
Topic: CCL init file problem
Replies: 6
Views: 24995

Re: CCL init file problem

Have you tried the following:

Code: Select all

ccl --load /full/path/to/ccl-init.lisp
The problem with the windows environment variables is that different Windows versions use different variable names for the HOME directory variable.
by edgar-rft
Wed Jan 25, 2017 2:06 pm
Forum: The Lounge
Topic: CCL init file problem
Replies: 6
Views: 24995

Re: CCL init file problem

Common Lisp (not only CCL) usually considers the directory stored in the *DEFAULT-PATHNAME-DEFAULTS* variable as "working directory". Try to set this variable in your init file to the desired HOME directory and try if it works for you: (setf *default-pathname-defaults* #P"<full-path-t...
by edgar-rft
Wed Oct 19, 2016 11:09 am
Forum: The Lounge
Topic: PROLOG FORUM?
Replies: 6
Views: 24911

Re: PROLOG FORUM?

Given that the original question was asked a year ago, it would be interesting what emerald123 has learned so far. If it's possible to learn anything within two days emerald123 today must be an expert in each and everything at all. :D
by edgar-rft
Thu Apr 28, 2016 6:30 pm
Forum: Common Lisp
Topic: cl-2dsyntax
Replies: 6
Views: 17992

Re: cl-2dsyntax

Hi andrei-n, I have tried now several times myself but the only active page I found was a mirror under http://hyperprostor.g6.cz/ where all Common Lisp links give only "404 - Page not found" messages. To me it looks as if Goheeca's original homepage is recently expired or something. Accord...
by edgar-rft
Sat Apr 23, 2016 12:50 am
Forum: Common Lisp
Topic: In Which Language was the first Lisp developed in?
Replies: 2
Views: 8852

Re: In Which Language was the first Lisp developed in?

The first working Lisp interpreter was implemented by Steve Russell in assembly language on an IBM 704 computer. Strange Lisp function names like CAR and CDR are still the original names of the assembly macros of that machine. The story of the very early Lisp years can be found in the History of Lis...
by edgar-rft
Mon Apr 18, 2016 5:31 pm
Forum: Common Lisp
Topic: Little fun things to do in CL
Replies: 5
Views: 15470

Re: Little fun things to do in CL

Hi voosey, I see that nobody has answered your question so far, so here some chatter from the ##lisp IRC channel on Freenode.net with funny Lisp code. Everything started with the question "if woah is a misspelling of whoa, what is the meaning of woah?" Then I looked at urbandictionary.com ...