Search found 10 matches

by taylor_venable
Sun Aug 24, 2008 7:04 am
Forum: The Lounge
Topic: What happened to Lisp.org?
Replies: 6
Views: 7473

What happened to Lisp.org?

That used to be what I used to read the Hyperspec, but I can't even ping it these last few weeks.
by taylor_venable
Sun Aug 17, 2008 1:46 pm
Forum: Common Lisp
Topic: Macro expansion, packages, and LET
Replies: 9
Views: 10769

Re: Macro expansion, packages, and LET

nikodemus: Thanks for the advice; exporting the function (as well as moving the definition outside the macro) is what I decided on doing. death: I'll keep all that in mind, it sounds like great advice, but my thinking is that there are certain macros which establish a context in which the body oper...
by taylor_venable
Sun Aug 17, 2008 6:11 am
Forum: Common Lisp
Topic: Macro expansion, packages, and LET
Replies: 9
Views: 10769

Re: Macro expansion, packages, and LET

dmitry_vk: Oh, I see. Thanks for the explanation, that makes sense. death: Eventually the charts will get more complicated, and I think it will be more useful for the user to have a little more flexibility in how they specify things. For example, I'm already starting to code for one of those donut ...
by taylor_venable
Sat Aug 16, 2008 9:49 pm
Forum: Common Lisp
Topic: Macro expansion, packages, and LET
Replies: 9
Views: 10769

Re: Macro expansion, packages, and LET

Oh my, I suppose I should have realized that of course I should be referencing ADD-SLICE by the package in the code that the user would write. Sorry, programming late at night. Still, I find it a bit odd that I could not find mention anywhere of the accident of having stuff bound in a macro expansio...
by taylor_venable
Sat Aug 16, 2008 8:36 pm
Forum: Common Lisp
Topic: Macro expansion, packages, and LET
Replies: 9
Views: 10769

Macro expansion, packages, and LET

Hello, friendly and knowledgeable fellow Lispers. I'm trying to write a little library to provide charting capabilities over Vecto. For my first task, I'm trying to mimic Vecto's method of drawing images but at a slightly higher level (for the user). So I've provided a WITH-PIE-CHART macro that the ...
by taylor_venable
Sat Jul 26, 2008 12:10 pm
Forum: Common Lisp
Topic: Programming Style & (eval ...)
Replies: 17
Views: 22903

Re: Programming Style & (eval ...)

So my question, stated with the most precision I can muster at this stage of my learning, is, given that a macro seems to at most be able to refer to the text (so to speak) of its arguments, does that not necessarily mean that once one is using a macro (let's call it m ) which does not itself evalu...
by taylor_venable
Fri Jul 25, 2008 4:02 pm
Forum: Common Lisp
Topic: Programming Style & (eval ...)
Replies: 17
Views: 22903

Re: Programming Style & (eval ...)

@Ramarren Sorry for my imprecise language, and thanks for your time in trying to explain it. This is probably just what you've already said, but I want to restate it, even if only for my own sake. I think I understand that when a macro is "called" (encountered at compile time) it is evaluated, and a...
by taylor_venable
Fri Jul 25, 2008 9:32 am
Forum: Common Lisp
Topic: Programming Style & (eval ...)
Replies: 17
Views: 22903

Re: Programming Style & (eval ...)

Which leads me to my question: is it considered acceptable style to use eval to do something like this? I typically shun the use of eval in other languages, because it's usually just a cheap way of getting something done which could be handled in more elegant ways, but with the data-is-code orienta...
by taylor_venable
Wed Jul 23, 2008 9:57 am
Forum: Common Lisp
Topic: Programming Style & (eval ...)
Replies: 17
Views: 22903

Re: Programming Style & (eval ...)

I hope that helped in some way. It did, and your explanation was enlightening. I had forgotten about argument length limits as well; in my mind I was mistakenly mapping (and x y z ...) [Lisp] to something like (x AND y AND z AND ...) [non-Lisp] and I see that in point of the fact that there are len...
by taylor_venable
Tue Jul 22, 2008 8:23 am
Forum: Common Lisp
Topic: Programming Style & (eval ...)
Replies: 17
Views: 22903

Programming Style & (eval ...)

Hello all. I've been using Lisp in various forms for the last few years, but I've only recently started to really get into it. I find that for me to really get to know a language it helps to write some common libraries in it, so I decided to start porting some of Haskell's list library functions int...