Search found 64 matches

by qbg
Mon Sep 15, 2008 8:40 pm
Forum: Common Lisp
Topic: Poll: Which Lisp implementations do you use?
Replies: 32
Views: 95025

Re: Poll: Which Lisp implementations do you use?

SBCL is my implementation of choice. I had a hard time choosing #2. I almost always use SBCL on Linux, and I use it from time-to-time on Windows too, so I don't end up using CLISP as much as I have done in the past. My #2 is the LispWorks (Personal Edition), because it provides a great environment f...
by qbg
Sat Aug 23, 2008 10:01 pm
Forum: Common Lisp
Topic: Symbols
Replies: 5
Views: 10126

Re: Symbols

WALKER is created in ARNESI, so its SYMBOL-PACKAGE is ARNESI. Because when you inherit a symbol it is the same symbol its SYMBOL-PACKAGE doesn't change.
by qbg
Thu Aug 21, 2008 12:46 pm
Forum: Common Lisp
Topic: Can I turn ASSERT off?
Replies: 6
Views: 12323

Re: Can I turn ASSERT off?

If you really want to do this you could use read time conditionals then push the appropriate symbol onto *features* before recompiling. Downside is that you would need to modify any existing code you have to add in the read time conditionals.
by qbg
Wed Aug 20, 2008 2:40 pm
Forum: Common Lisp
Topic: Lisp, Windows and OpenGL
Replies: 8
Views: 20251

Re: Lisp, Windows and OpenGL

For making GUIs, there are a number of binding to GTK (see this Cliki page; I think some of them should work on Windows).

There are other toolkits (Ltk uses Tk; I'd guess it would work on windows)

LispWorks (commercial implementation) provides CAPI which is cross-platform.
by qbg
Thu Aug 07, 2008 3:47 pm
Forum: Common Lisp
Topic: Favorite "underrated" Lisp feature?
Replies: 13
Views: 33013

Re: Favorite "underrated" Lisp feature?

(FORMAT NIL "~r" some-integer) because it was the first time I've seen some of those words.

ED would be really cool if more implementations provided a resident editor.
by qbg
Wed Aug 06, 2008 8:14 am
Forum: Common Lisp
Topic: Define macro alias?
Replies: 4
Views: 14598

Re: Define macro alias?

Why not something like

Code: Select all

(defmacro <name> ((&body lambda-list) &body body)
  `(lambda ,lambda-list ,@body))
by qbg
Fri Aug 01, 2008 9:53 pm
Forum: Common Lisp
Topic: Order of placement in package matters?
Replies: 6
Views: 13186

Re: Order of placement in package matters?

Assuming you have copied the appendf code from DEFINE-MODIFY-MACRO's CLHS page, could you post the code for finden? Does finden contain the code that is trying to FUNCALL appendf?
by qbg
Fri Aug 01, 2008 12:20 pm
Forum: Common Lisp
Topic: To learn or not to learn, that is the question
Replies: 11
Views: 22380

Re: To learn or not to learn, that is the question

I will learn Lisp. What annoys me most is the fact that there are so many implementations and they all have many differences, but I will just find my way around it. It makes one antisocial, but it works. Lisp: just works =) I think Lisp is what I will learn and that C will be what I will pursue whe...
by qbg
Fri Aug 01, 2008 11:39 am
Forum: Common Lisp
Topic: Best program to use lisp on?
Replies: 17
Views: 42363

Re: Best program to use lisp on?

or, a little neater (defun price-order-total (item-list) (loop for item in item-list summing (destructuring-bind (item quantity unit-price) item (* quantity unit-price)))) Or even neater: (defun price-order-total (item-list) (loop for (item quantity price) in item-list sum (* quantity price)))
by qbg
Fri Aug 01, 2008 8:02 am
Forum: Common Lisp
Topic: Best program to use lisp on?
Replies: 17
Views: 42363

Re: Best program to use lisp on?

I personally prefer sbcl over lispworks, mainly for the reason that it can use the package :arnesi (code walker), while lispworks can't. HOwever, it's not exactly 'easy to get into, atleast for win32, because you have to compile it yourself. Now, if you know how to compile programs, i guess its no ...