#lisp - Sun 6 May 2007 between 02:31 and 06:32

NY Lost Funds



tudor_when called with arguments
(NIL :|#TEXT|).
what does the |#blah| syntax mean?
gigamonkeythe ||'s escape all the characters between them.
In this case they're not needed but because # is sometimes a special character your implementation may be printing the symbol named "#TEXT" with escapes out of paranoia.
tudor_thanks!
gigamonkeyNo problem.
lisppastebrainly-green pasted "first-with-context" at http://paste.lisp.org/display/40810
brainly-greenthis looks like it must be a really simple mistake but I just don't see it
? oh, apparently C-c C-c judges what function you are in by the level of indentation, it works if I indent the let* a space
sellout-mbMan, it's amazing how often I solve my own problem as I'm writing a description in paste.lisp.org.
PalishHey all :) I'm a game developer, and (sorry if I'm repeating myself to some of you) I'm aiming to use Lisp for some dinky little games I'd like to write. Speed is an issue, and also so is Windows support. I was aiming to write in Lisp using SBCL, but it seems the win32 port is incomplete. Does anyone know of an alternative, or if it's 'good enough'?
The dialect just needs to be fast (compiled) and run under Windows.. Even just 1/4th the speed of C would be great.
asbjxrnI think the number of compiled lisps under Windows is a bit limited, unless you want to spend money (lispworks/Allegro/Corman)
Have you tried clisp? I don't think it's compiled, thoug.
PalishI'm willing to spend some money if it's worth the money.
:)
asbjxrnall of them have free versions that you can use to see for yourself if it is worth the money.
PalishCorman sounds pretty good. But I have no clue. I'll certainly try them.
asbjxrnIf a java runtime is acceptable, you might want to try abcl as well. It runs on top of java and should run where java runs.
ShineLispworks has a nice platform independatn graphics API, which means you'll get the Mac and Linux version for free, like I've tested with a small game: http://www.frank-buss.de/lisp/aqueduct.html
PalishGreat, thank you.
ShineIIRC Allegro CL is developing a similar thing. But you can use http://www.lispbuilder.org/ , too, for which the SDL library works with CLISP on all platforms (but CLISP is not fast, but stable on all platforms)
PalishI did have one more general question.. When is it appropriate to return multiple values, instead of returning a list of multiple values?
from a function
brainly-greenpalish I think you usually do that when you are interested most of the time in only the first value you return
codsXach: about sweep functions, no. See how scanline-sweep is reverting to the default callback if span-function callback is not provided.
Xach: about the documentation, I split it into multiple pages because a single page seemed to be very large (especially if I add more graphics.) But I agree, a single page was easier to read. Not sure about the best choice.
beachgood morning
Palish: returning multiple values avoids consing, so is more efficient in general.
PalishI see, thank you
cmmgood morning beach! I am hereby reminding you about your stealth mixin paper :)
beachcmm: I got a cryptic answer from ASWEC saying I had to talk to IEEE :(
cmmbeach: I see :(. thanks!
brainly-greenis there any way to guarantee that one macro is _expanded_ before another macro is expanded?
the first macro sets some global variables during expansion that the second macro wants
cmmbrainly-green: in general it is a bad idea for a macro expansion to have side effects
perhaps you want to tell us what you are really trying to do
brainly-greenok.. i have a macro called "ild" that allows a user to, among other things, specify a set of reserved function names
I have another macro that parses a data structure and if a form does not start with one of the reserved names, it is assumed to be a form to be evaluated

Page: 2 9 16 

IrcArchive

NY Lost Funds