Search found 8 matches
- Wed Feb 16, 2011 9:43 pm
- Forum: newLISP in the real world
- Topic: memory fault with nested assignment
- Replies: 2
- Views: 1528
Re: memory fault with nested assignment
Has taken me a couple passes to make sense of this.... main thing I didn't realize: "The operator/functor part of a list expression gets evaluated first" but the other examples, I'll be returning to when my brain becomes flexible again. :-) Thanks, -George
- Mon Feb 14, 2011 3:06 am
- Forum: newLISP in the real world
- Topic: memory fault with nested assignment
- Replies: 2
- Views: 1528
memory fault with nested assignment
What's wrong here? Isn't evaluation done inside out??? newLISP v.10.3.0 on BSD IPv4/6 UTF-8, execute 'newlisp -h' for more info. > (numbers (set 'numbers (sequence 1 100)) 5) ERR: invalid function : (numbers (set 'numbers (sequence 1 100)) 5) > (set 'numbers (sequence 1 100)) (1 2 3 4 5 6 7 8 9 10 1...
- Tue Nov 16, 2010 11:32 pm
- Forum: newLISP in the real world
- Topic: script invocation
- Replies: 3
- Views: 1814
Re: script invocation
okay, excellent, that's resolved. I wasn't expecting the exit function as a requirement. do you know anyway to coerce options into interpreter without using the full path? Is there a possibility of setting them within the script, like the shell set function? I'd like to use #!/usr/bin/env newlisp -s...
- Tue Nov 16, 2010 9:34 pm
- Forum: newLISP in the real world
- Topic: script invocation
- Replies: 3
- Views: 1814
script invocation
How is a newlisp script invoked? newlisp <demo.lsp works as expected; but creating demo.lsp as an executable file starting with "#!/usr/bin/env newlisp" is not intrepeting the content??? ./demo.lsp newlisp demo.lsp it goes interactive. does the interpreter require newlisp scripts to be fed as stdin?...
- Tue Nov 16, 2010 7:38 pm
- Forum: newLISP and the O.S.
- Topic: NetBSD build failure
- Replies: 6
- Views: 6092
Re: NetBSD build failure
Okay, I can manage PATH issues :) and I manually copied over the newLISP-10.2.8-Release.html file. (I think NetBSD does something "non-legacy" with regard to terminals, seems readline is the most common build issue)
Best regards,
George
Best regards,
George
- Tue Nov 16, 2010 7:07 pm
- Forum: newLISP and the O.S.
- Topic: NetBSD build failure
- Replies: 6
- Views: 6092
Re: NetBSD build failure
I changed the makefile_build from configure, observing the 'without readline lib' comments and it built fine with gmake.
...so what is the configure / configure-alt incompatibility?
...so what is the configure / configure-alt incompatibility?
- Tue Nov 16, 2010 6:55 pm
- Forum: newLISP and the O.S.
- Topic: NetBSD build failure
- Replies: 6
- Views: 6092
Re: NetBSD build failure
What do you mean the configure and configure-alt installs are not compatible? In what way are they incompatible? geo@bonnie:/home/geo/tmp/newlisp-10.2.8 gmake -f makefile_bsd gcc -m32 -Wall -Wno-uninitialized -fno-strict-aliasing -O2 -c -g -DREADLINE -D_BSD newlisp.c newlisp.c:855: error: expected '...
- Tue Nov 16, 2010 7:45 am
- Forum: newLISP and the O.S.
- Topic: NetBSD build failure
- Replies: 6
- Views: 6092
NetBSD build failure
Hi, I'm new to lisp here, hope this is the best forum. I get some errors when I build on NetBSD: geo@bonnie:/home/geo/tmp/newlisp-10.2.8 ./configure removing old objects and setting correct permissions ... chmod: *.lsp: No such file or directory *** Error code 1discovering platform and default memor...