Search found 96 matches

by dmitry_vk
Wed Jan 20, 2010 4:38 am
Forum: Common Lisp
Topic: [resolved] signal-slot concept of Qt => Cells
Replies: 12
Views: 5008

Re: signal-slot concept of Qt for Lisp classes

The signal/slot concept in Qt appeared because of C++ limitations (lack of GC and lack of first-class functions). In Common Lisp, it is more idiomatic to implement events (analogous to events in .Net and signals in Gtk+). Basically an event is a list (or array) of functions (or weak pointers to func...
by dmitry_vk
Sat Jan 09, 2010 12:40 am
Forum: Common Lisp
Topic: Lisp Debugger
Replies: 5
Views: 7964

Re: Lisp Debugger

Slime and its backends have implementations of single-step debugging.
by dmitry_vk
Sun Jan 03, 2010 12:02 pm
Forum: Common Lisp
Topic: Read Macro / Readtable Wish List
Replies: 5
Views: 2319

Re: Read Macro / Readtable Wish List

I was just wondered what others, in their experience with lisp, have often wanted from read macros and readtables. Are you satisfied with what one can do with them now in the current standard or do you wish for something more? :? Personally, I would like (1) Readtables per package rather than a glo...
by dmitry_vk
Fri Dec 25, 2009 12:42 am
Forum: Common Lisp
Topic: CL Printing Strings for use in XML
Replies: 1
Views: 1215

Re: CL Printing Strings for use in XML

It is much better and simpler to use CL-WHO (http://weitz.de/cl-who/) or CXML (http://common-lisp.net/project/cxml/sax ... ialization) to generate XML.
by dmitry_vk
Thu Dec 17, 2009 6:49 am
Forum: Emacs
Topic: help delete-to-word
Replies: 4
Views: 6355

Re: help delete-to-word

Ramarren wrote:KILL-WORD takes an argument. Emacs is self-documenting, if you are unsure how to use a function use 'C-h f', which by default is bound to describe-function command.
Or, better, enable the `eldoc-mode' that will show description of function under cursor in the minibuffer.
by dmitry_vk
Wed Nov 25, 2009 5:11 am
Forum: Other Dialects
Topic: mixing dialects?
Replies: 6
Views: 8882

Re: mixing dialects?

subhuman wrote:seems as if debian isn't much lisp-a-lized, is it? i'll have to install cl-gtk2 manually. anyway, many thx for the links.
The only Lisp-friendly Linux distributive is Gentoo at the moment. Usually, Gentoo contains latest versions of most Lisp libraries.
by dmitry_vk
Sat Nov 07, 2009 7:04 am
Forum: Common Lisp
Topic: Macros considered harmful
Replies: 10
Views: 3198

Re: Macros considered harmful

But I think the bigger point that the article made, is that PicoLisp is Truer to the core purpose and value of the Lisp programming language, a language that is supposed to always and everywhere be directly programmable in itself, a physical embodiment of the lambda calculus. If large parts of the ...
by dmitry_vk
Fri Nov 06, 2009 12:11 pm
Forum: Common Lisp
Topic: Macros considered harmful
Replies: 10
Views: 3198

Re: Macros considered harmful

I skimmed the article, and, to be honest, it is ignorant and/or insane. The author doesn't seem to know what 'compilation' even means. I mean, CLisp is used as an example of a compiler. The quoted fragment alone shows total ignorance of type inference and optimization. It seems to be pushing Pico L...
by dmitry_vk
Thu Nov 05, 2009 4:00 am
Forum: Common Lisp
Topic: Runtime compilation strategy
Replies: 10
Views: 5347

Re: Runtime compilation strategy

I played only a little with assembly, but as far as I know you just mark a heap region as executable if necessary, depending on your operating system (see NX bit on Wikipedia, mprotect syscall on Linux) and jump to it. Of course you need an assembler to generate the machine code which can be placed...
by dmitry_vk
Wed Oct 21, 2009 2:02 am
Forum: Common Lisp
Topic: Fibonacci recursion -argh
Replies: 11
Views: 5567

Re: Fibonacci recursion -argh

Although not required by standard, CL implementations usually implement tail call optimization. E.g., SBCL, clisp (as a compiler, not interpreter), ecl (as a compiler).