Search found 49 matches

by Exolon
Tue Dec 23, 2008 5:43 pm
Forum: The Lounge
Topic: Best of Lisp 2008 Awards Nominations
Replies: 4
Views: 5438

Re: Best of Lisp 2008 Awards Nominations

I'd like to nominate JazzScheme as an interesting and exciting new contribution to Lisp, but it hasn't been publically released yet. Not quite sure what they're waiting for, but hopefully we'll see something soon.
by Exolon
Wed Dec 03, 2008 5:20 pm
Forum: The Lounge
Topic: New to Lisp and some questions
Replies: 11
Views: 19616

Re: New to Lisp and some questions

The sound from lispbuilder-sdl-mixer is flakey on Windows as well. The only stable platform for sound seems to be Linux. I'm going to blame the SDL_mixer library. Heh, yes, I thought this might have a hand in the problem :) I can actually get an mp3 playing; something just dies when I try to shut t...
by Exolon
Sat Nov 29, 2008 6:02 pm
Forum: The Lounge
Topic: New to Lisp and some questions
Replies: 11
Views: 19616

Re: New to Lisp and some questions

OTOH, with Lispbuilder-SDL (I just started using these bindings a couple days ago, and they seem good) you have all you need to write a game of some description. I've had a little trouble with it on my Mac (e.g. the audio code crashes in my simplest test programs for some reason, perhaps due to how...
by Exolon
Mon Nov 03, 2008 4:18 pm
Forum: The Lounge
Topic: A LISP Interpreter that runs inside the browser
Replies: 9
Views: 11451

Re: A LISP Interpreter that runs inside the browser

christoph wrote:The base library will remain little for now, e.g., I have no intention to include file operations ;) .
Right now, I am working on a graphics library that will hopefully make for interesting applications.
What about image files then? :)
by Exolon
Sat Nov 01, 2008 7:59 am
Forum: Common Lisp
Topic: Lisp and Regex
Replies: 7
Views: 8689

Re: Lisp and Regex

Thanks guys, this makes sense :)
by Exolon
Fri Oct 31, 2008 1:28 pm
Forum: Common Lisp
Topic: Lisp and Regex
Replies: 7
Views: 8689

Re: Lisp and Regex

metageek wrote:Perl's regular expressions are not regular expressions in the formal sense. This means that they cannot be implemented be implemented by finite state machines
Does that mean they're more flexible than normal regular expressions - they can classify context-free/sensitive languages?
by Exolon
Mon Oct 27, 2008 3:03 am
Forum: Common Lisp
Topic: lisp program error
Replies: 8
Views: 13018

Re: lisp program error

Paul Donnelly wrote:(if x ...
Ahh, we can do that? I wanted that a couple of days ago and ended up writing "(if (not (null ...)))", which smells. Funny, I used to use "if(x)" in C/C++ quite often.
by Exolon
Sun Oct 26, 2008 3:47 pm
Forum: Common Lisp
Topic: lisp program error
Replies: 8
Views: 13018

Re: lisp program error

Hi, in your code you have: (CONS ((CAR X) (incr (CDR X) 1))) CONS takes two arguments, but you've wrapped them up as one (a common mistake when coming from a function(arg1, arg2)-style language, and one I make as well): (CONS (CAR X) (incr (CDR X) 1)) With that removed I can compile and call the fun...
by Exolon
Sat Oct 25, 2008 8:23 am
Forum: Common Lisp
Topic: How can I rewrite the function APPLY without using APPLY?
Replies: 12
Views: 15851

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

The real apply in SBCL is defined somewhere else. AFAIK, it should be defined in sb-imp package. I'm not familiar with sbcl internals, so I might be wrong. I had a look for all definitions of apply, but haven't found another one yet (there's a %apply and interpreted-apply or something, but they see...
by Exolon
Sat Oct 25, 2008 4:29 am
Forum: Common Lisp
Topic: How can I rewrite the function APPLY without using APPLY?
Replies: 12
Views: 15851

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

Only the compiler knows how to call the function (because function is usually compiled to byte code or machine code), so it is not possible to write apply in CL. I had a quick look at the SBCL source and found apply in eval.lisp , line 279 - search for "defun apply". :) Note however the comment jus...