Search found 96 matches

by dmitry_vk
Sun Nov 09, 2008 9:14 am
Forum: Common Lisp
Topic: Labyrinth:how to find the path?
Replies: 6
Views: 7068

Re: Labyrinth:how to find the exit?

Do you want to find the exit or the path to the exit? I assume that you want the path.
You can use breadth-first search (http://en.wikipedia.org/wiki/Breadth-first_search) to find it (it will the shortest path).
by dmitry_vk
Sun Nov 09, 2008 9:11 am
Forum: Common Lisp
Topic: SBCL 1.0.22 released
Replies: 6
Views: 6470

Re: SBCL 1.0.22 released

But the --script option breaks some things becacuse it prevents site-init (/etc/sbclrc) and user-init (~/.sbclrc) from being loaded. E.g., on Gentoo using it breaks asdf. This problem is easily solved by using as #! a custom core, with initfiles already loaded. It seems a good idea anyway to avoid ...
by dmitry_vk
Sat Nov 08, 2008 1:59 pm
Forum: Common Lisp
Topic: SBCL 1.0.22 released
Replies: 6
Views: 6470

Re: SBCL 1.0.22 released

new feature: new commandline argument: --script, which supports shebang lines. See documentation for details. (based on work by Kevin Reid) If this is what I think it is, I'm getting drunk tonight. *a few seconds later* Ok, I'm getting drunk But the --script option breaks some things becacuse it pr...
by dmitry_vk
Sat Oct 25, 2008 8:14 am
Forum: Common Lisp
Topic: How can I rewrite the function APPLY without using APPLY?
Replies: 12
Views: 13714

Re: How can I rewrite the function APPLY without using APPLY?

I had a quick look at the SBCL source and found apply in eval.lisp , line 279 - search for "defun apply". :) Although I don't understand how it can terminate :D It seems to recurse in every case? AFAIU, the apply inside a defun is an apply from compiler environment. So, (defun apply ...) defines an...
by dmitry_vk
Fri Oct 24, 2008 9:20 pm
Forum: Common Lisp
Topic: How can I rewrite the function APPLY without using APPLY?
Replies: 12
Views: 13714

Re: How can I rewrite the function APPLY without using APPLY?

I wanted to know if APPLY is some kind of black box function/language primitive. I was under the impression that the only language primitives are special operators/forms (perhaps from the first few chapters I got to read of Lisp in Small Pieces). I think maybe this is just plain false. If someone c...
by dmitry_vk
Wed Oct 15, 2008 11:39 pm
Forum: Common Lisp
Topic: About save-lisp-and-die in Windows ?
Replies: 2
Views: 4294

Re: About save-lisp-and-die in Windows ?

debugger invoked on a TYPE-ERROR: The value NIL is not of type (SIGNED-BYTE 32). I don't known how the top-level function is handled, but it might be that this function should return the process exit code (which is an integer). So sbcl is trying to coerce it to an integer and return. Try the follow...
by dmitry_vk
Tue Oct 14, 2008 8:34 am
Forum: Common Lisp
Topic: The library situation (warning: mini-rant)
Replies: 24
Views: 22967

Re: The library situation (warning: mini-rant)

Shipping a single image may not always work. FFI might require presence of shared object files.
by dmitry_vk
Mon Oct 13, 2008 12:21 pm
Forum: Common Lisp
Topic: The library situation (warning: mini-rant)
Replies: 24
Views: 22967

Re: The library situation (warning: mini-rant)

The main reason is, probably, some bitrot and lack of maintenance. With GUI, I had similar experience on Linux (except that some libraries actually seemed to work). But other libraries worked quite fine (maybe because I used Gentoo Linux's package repository, in which lisp-overlay is quite well main...
by dmitry_vk
Thu Oct 09, 2008 9:37 am
Forum: Common Lisp
Topic: The Future of Lisp
Replies: 25
Views: 17716

Re: The Future of Lisp

I found this interview yesterday on Reddit that has some discussion of the issues with concurrency in language design. It's definitely worth watching. Warning: You'll have to be running a Microsoft product with Silverlight installed :roll: . http://channel9.msdn.com/posts/Charles/Anders-Hejlsberg-a...
by dmitry_vk
Mon Oct 06, 2008 6:52 am
Forum: The Lounge
Topic: What feature would you most like to see in Lisp?
Replies: 43
Views: 40228

Re: What feature would you most like to see in Lisp?

Doesn't Portable Threads work? Granted, I've never used it, but it looks nice, and hey, it's even documented! What more can one wish for? ;) It works. But it is just one of a couple of portability layers. And I don't feel too well mixing libraries that use different portability layers for the same ...