Search found 47 matches

by Indecipherable
Sun Feb 05, 2012 11:09 am
Forum: The Lounge
Topic: .
Replies: 5
Views: 20922

Re: Common Lisp as a replacement for Java

Shen might become a Lispy alternative to Java.
by Indecipherable
Fri Dec 16, 2011 10:51 am
Forum: The Lounge
Topic: Why is this forum so weird?
Replies: 2
Views: 8040

Re: Why is this forum so weird?

I think poor grammar can sometimes be considered as spam by the filter. :roll:
by Indecipherable
Fri Dec 16, 2011 10:47 am
Forum: Common Lisp
Topic: CLX keyboard input, save character code
Replies: 2
Views: 4630

Re: CLX keyboard input, save character code

Code: Select all

(char-code #\A) ==> 65
(code-char 65) ==> #\A
If that's what you meant.
by Indecipherable
Fri Dec 16, 2011 10:41 am
Forum: Common Lisp
Topic: Lisp
Replies: 9
Views: 16984

Re: Lisp

I have learned that listening too much to opinions of others overrides your own opinion. There are people who hate C, those who love C, etc. Now, ASM is mainly used (as stated above) for hand-optimizing the code. You have more power over what is going on and you can change quite a lot of details to ...
by Indecipherable
Wed Dec 07, 2011 12:47 am
Forum: Common Lisp
Topic: Newbie in Lisp
Replies: 12
Views: 14362

Re: Newbie in Lisp

CLisp works perfectly fine without Cygwin.
by Indecipherable
Tue Dec 06, 2011 3:12 am
Forum: Common Lisp
Topic: CFFI and Python DLL
Replies: 1
Views: 3855

CFFI and Python DLL

Is it possible to use CFFI to import functions from Python DLLs? (generated by cxFreeze or py2exe)
I know how to load the DLL, but not sure about the further required functions.
e.g you have this function:

Code: Select all

def add(x,y):
    return x+y
by Indecipherable
Thu Nov 24, 2011 6:28 am
Forum: Common Lisp
Topic: couple of lisp questions
Replies: 4
Views: 5579

Re: couple of lisp questions

Please format your code correctly. As for finding the last element of a list, (last) will do the job
(last '(1 2 3))
>>> 3

(last '(1 2 (3 4 5)))
>>> (3 4 5)
by Indecipherable
Sun Nov 13, 2011 1:21 am
Forum: Common Lisp
Topic: Help translate c+ => lisp!?
Replies: 5
Views: 6834

Re: Help translate c+ => lisp!?

georg wrote:The prog. is for Acad! Is there a difference?
Well, it is another Lisp dialect, so I presume there is.
by Indecipherable
Sun Nov 13, 2011 1:19 am
Forum: The Lounge
Topic: Lisp -vrs- Prolog or another AI language
Replies: 1
Views: 6507

Re: Lisp -vrs- Prolog or another AI language

Basically "AI" can be used in any language. As far as I know, Prolog is well suited for expert systems, and the whole code is like a collection of knowledge bases. Lisp must also be very good for this kind of thing, since it and Prolog are often regarded as being similar. ( I often conside...
by Indecipherable
Fri Nov 11, 2011 1:45 pm
Forum: Scheme
Topic: Macros
Replies: 6
Views: 23009

Re: Macros

Doesn't work in Gambit-C. I should just stick with Racket. :D