Search found 538 matches

by nuntius
Mon Dec 29, 2008 6:56 pm
Forum: Common Lisp
Topic: ECL + SLIME Error
Replies: 3
Views: 7644

Re: ECL + SLIME Error

Sorry I don't have a fix; but I felt a need to commiserate and say "me too" but on linux. But I think its caused by :cl-ppcre. Investigating.
by nuntius
Mon Dec 29, 2008 6:39 pm
Forum: Common Lisp
Topic: Timers
Replies: 7
Views: 13310

Re: Timers

If you choose to go with ECL, I recommend MinGW over Cygwin; cygwin starts feeling like a sandbox/jail after a while. YMMV.

Also checkout Corman on MSWin. IIRC, the implementation is free; only the editor costs money (but its still fairly cheap).
by nuntius
Mon Dec 29, 2008 6:31 pm
Forum: Common Lisp
Topic: Optional and keyword parameters in generic functions
Replies: 2
Views: 7043

Re: Optional and keyword parameters in generic functions

You can not specialize the optional parameters in generic functions. It would horribly complicate the CLOS type dispatch algorithm and could only reasonably apply in the case of a tie on the main parameters. Here's an extract from the CLHS page for defmethod. http://www.lispworks.com/documentation/H...
by nuntius
Mon Dec 29, 2008 6:13 pm
Forum: Common Lisp
Topic: Optimizing simple integer-arithmetic
Replies: 3
Views: 8174

Re: Optimizing simple integer-arithmetic

Unfortunately, there are is no portable/standard way to embed assembly code in lisp, nor do I know of any finished libraries to do so. The most portable approach is to compile assembly in C and use http://common-lisp.net/project/cffi/ to call this from Lisp. However, FFI calls tend to be expensive; ...
by nuntius
Wed Dec 17, 2008 10:24 pm
Forum: Common Lisp
Topic: Problems with asdf in allegroexpress Windows
Replies: 1
Views: 5554

Re: Problems with asdf in allegroexpress Windows

Check that your directory is properly specified with something like (merge-pathnames "test.asd" #P"C:\\my\\directory\\"). ASDF won't work until this returns the full path to the system.asd file. Also, some systems don't handle windows shortcuts properly; but it doesn't sound like...
by nuntius
Sat Aug 16, 2008 10:39 am
Forum: Common Lisp
Topic: how to use xml configuration file in LISP application
Replies: 3
Views: 9016

Re: how to use xml configuration file in LISP application

also look at xmlisp That said, XML is a rather heavyweight and clunky config-file format. Couldn't you teach Java to read sexpressions or YAML or JSON or unix/dos-style rc files or ...? Be sure that whatever XML framework you choose fully supports user-defined entities. If you plan on writing many c...
by nuntius
Sat Aug 09, 2008 10:56 am
Forum: Common Lisp
Topic: How to compile SBCL as a DLL
Replies: 2
Views: 9509

Re: How to compile SBCL as a DLL

Disclaimer: I'm not an SBCL dev. That said, the #1 SBCL issue on windows has been the clash with DLLs loaded to random spots in memory, thus preventing SBCL from obtaining a nice large contiguous heap. There has been work on this issue, but I don't think it was fully resolved. Ask on sbcl-help or sb...
by nuntius
Sat Aug 09, 2008 10:48 am
Forum: Common Lisp
Topic: Define macro alias?
Replies: 4
Views: 14355

Re: Define macro alias?

If you just want a nice display, emacs provides a few solutions. e.g. http://www.emacswiki.org/cgi-bin/wiki/PrettyLambda