Search found 7 matches

by hugh.jf.chen
Wed Jun 25, 2014 6:34 am
Forum: Whither newLISP?
Topic: Is true symbol?
Replies: 4
Views: 6749

Re: Is true symbol?

True is a symbol. (eval 'true) is a expression. Since symbols are also expressions,so the = return true. I feel make sense.
by hugh.jf.chen
Sat Apr 26, 2014 9:23 am
Forum: newLISP in the real world
Topic: How to deal with lists of objects?
Replies: 4
Views: 3603

Re: How to deal with lists of objects?

You need to modify the firewall function to return a new complete object with the modified value, and then set the original object to the returned new object. (define (Plane:firewall) (list Plane 2700 (self 2))) Then, (set 'planes (map (curry : firewall) planes)) You will get: > planes ((Plane 2700 ...
by hugh.jf.chen
Sat Apr 19, 2014 2:18 pm
Forum: newLISP in the real world
Topic: Build failed on Ubuntu 14.04
Replies: 10
Views: 9045

Re: Build failed on Ubuntu 14.04

I met the same problem when I'd tried to build 10.6.0 under archlinux with the same version of gcc. Forturnately,I found this: http://pastebin.com/bY4hjEfZ. I'm wondering if all linux distributions with gcc 4.8.2 have the smae problem. If yes,I think a patch need to be provided.
by hugh.jf.chen
Tue Aug 13, 2013 2:56 am
Forum: newLISP and the O.S.
Topic: Porting newLISP (AIX)
Replies: 52
Views: 30160

Re: Porting newLISP (AIX)

Well,I did more tests and found that the built executable just runs find on some aix machines while hung on some aix machines. So looks like there're some execution restrictions on some machines. I'll go to our sys admin for this problem. Thanks
by hugh.jf.chen
Tue Aug 13, 2013 2:15 am
Forum: newLISP and the O.S.
Topic: Porting newLISP (AIX)
Replies: 52
Views: 30160

Re: Porting newLISP (AIX)

All right,I was back and got the access to the aix machine so I did some test based on lutz's suggestions. I built the util/types.c and run it,following is the output of types.c: type bytes --------------- char 1 char * 4 void * 4 short int 2 int 4 long 4 long int 4 long long int 8 size_t 4 float 4 ...
by hugh.jf.chen
Mon Aug 12, 2013 2:52 am
Forum: newLISP and the O.S.
Topic: Porting newLISP (AIX)
Replies: 52
Views: 30160

Re: Porting newLISP (AIX)

I've tried the makefiles for gcc and xlc but they both generated the same result. The executale newlisp works fine on the machine I built newlisp but hung on other aix machines. For the changes to nl_filesys.c,I will give the details once i get access to the machine. All aix machines are 64 bits and...
by hugh.jf.chen
Sun Aug 11, 2013 4:05 pm
Forum: newLISP and the O.S.
Topic: Porting newLISP (AIX)
Replies: 52
Views: 30160

Re: Porting newLISP (AIX)

I tried to build newlisp on AIX days ago. I managed to build it successfully after having cleaned up some macro statement in nl_filesystem.c and the result executable, newlisp, runs just fine in the machine where I built newlisp. However,when I copy the executable newlisp to another aix box and try ...