Search found 47 matches
- Sun Feb 05, 2012 11:09 am
- Forum: The Lounge
- Topic: .
- Replies: 5
- Views: 21715
Re: Common Lisp as a replacement for Java
Shen might become a Lispy alternative to Java.
- Fri Dec 16, 2011 10:51 am
- Forum: The Lounge
- Topic: Why is this forum so weird?
- Replies: 2
- Views: 8212
Re: Why is this forum so weird?
I think poor grammar can sometimes be considered as spam by the filter.
- Fri Dec 16, 2011 10:47 am
- Forum: Common Lisp
- Topic: CLX keyboard input, save character code
- Replies: 2
- Views: 4724
Re: CLX keyboard input, save character code
Code: Select all
(char-code #\A) ==> 65
(code-char 65) ==> #\A
- Fri Dec 16, 2011 10:41 am
- Forum: Common Lisp
- Topic: Lisp
- Replies: 9
- Views: 17640
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 ...
- Wed Dec 07, 2011 12:47 am
- Forum: Common Lisp
- Topic: Newbie in Lisp
- Replies: 12
- Views: 15074
Re: Newbie in Lisp
CLisp works perfectly fine without Cygwin.
- Tue Dec 06, 2011 3:12 am
- Forum: Common Lisp
- Topic: CFFI and Python DLL
- Replies: 1
- Views: 3930
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:
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
- Thu Nov 24, 2011 6:28 am
- Forum: Common Lisp
- Topic: couple of lisp questions
- Replies: 4
- Views: 5765
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)
(last '(1 2 3))
>>> 3
(last '(1 2 (3 4 5)))
>>> (3 4 5)
- Sun Nov 13, 2011 1:21 am
- Forum: Common Lisp
- Topic: Help translate c+ => lisp!?
- Replies: 5
- Views: 7104
Re: Help translate c+ => lisp!?
Well, it is another Lisp dialect, so I presume there is.georg wrote:The prog. is for Acad! Is there a difference?
- Sun Nov 13, 2011 1:19 am
- Forum: The Lounge
- Topic: Lisp -vrs- Prolog or another AI language
- Replies: 1
- Views: 6624
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...
Re: Macros
Doesn't work in Gambit-C. I should just stick with Racket.