Search found 72 matches
- Tue Mar 11, 2008 7:52 pm
- Forum: Anything else we might add?
- Topic: Can newLisp serve 250 typical webpages per second ?
- Replies: 6
- Views: 12634
cool
glad to hear it's all working well! maybe you can post the newlisp code.
- Tue Mar 11, 2008 6:33 pm
- Forum: Anything else we might add?
- Topic: Can newLisp serve 250 typical webpages per second ?
- Replies: 6
- Views: 12634
fcgi
clisp and cmucl have fastcgi support packages. they can perform better when using fcgi. similarly nothing prevents newlisp from using libfcgi -- dynamically load FCGIAccept (or something like that) if you're worried about performance. newlisp is so fast, i personally don't have problems just doing c...
- Tue Mar 11, 2008 7:58 am
- Forum: newLISP newS
- Topic: Like slime?
- Replies: 14
- Views: 9714
inferior lisp
i just use the normal inferior lisp mode inside emacs. all you have to do is to set inferior-lisp-program to point to newlisp (with -C option). (load-library "inf-lisp") (setq inferior-lisp-program "C:/users/bob/bin/newlisp.bat") the newlisp.bat just has this: c:\"program files"\newlisp\newlisp.exe ...
- Mon Mar 10, 2008 6:50 pm
- Forum: newLISP in the real world
- Topic: debug segfault
- Replies: 5
- Views: 4613
thanks for clarification
i was confused. too used to clisp still... # clisp i i i i i i i ooooo o ooooooo ooooo ooooo I I I I I I I 8 8 8 8 8 o 8 8 I \ `+' / I 8 8 8 8 8 8 \ `-+-' / 8 8 8 ooooo 8oooo `-__|__-' 8 8 8 8 8 | 8 o 8 8 o 8 8 ------+------ ooooo 8oooooo ooo8ooo ooooo 8 Copyright (c) Bruno Haible, Michael Stoll 199...
- Mon Mar 10, 2008 6:38 pm
- Forum: newLISP in the real world
- Topic: debug segfault
- Replies: 5
- Views: 4613
not sure if this helps
gdb ./newlisp GNU gdb 6.6-debian Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely...
- Mon Mar 10, 2008 6:02 pm
- Forum: newLISP in the real world
- Topic: debug segfault
- Replies: 5
- Views: 4613
debug segfault
[root@andLinux ~]# newlisp
newLISP v.9.3.3 on Linux IPv4, execute 'newlisp -h' for more info.
> (define ( x y ) (setq x y ))
(lambda (y) (setq x y))
> (debug (x 1))
-----
(define (x y)
#(setq x y)#)
[-> 3 ] s|tep n|ext c|ont q|uit > n
Segmentation fault
[root@andLinux ~]#
newLISP v.9.3.3 on Linux IPv4, execute 'newlisp -h' for more info.
> (define ( x y ) (setq x y ))
(lambda (y) (setq x y))
> (debug (x 1))
-----
(define (x y)
#(setq x y)#)
[-> 3 ] s|tep n|ext c|ont q|uit > n
Segmentation fault
[root@andLinux ~]#
- Mon Dec 17, 2007 5:00 pm
- Forum: newLISP in the real world
- Topic: setsockopt / getsockopt
- Replies: 1
- Views: 2091
setsockopt / getsockopt
i am in need of setting some socket options. specifically, i am interested in setting send and receive socket level buffer sizes. these numbers can affect network throughput performance significantly. i am writing some high performance network apps and the lack of socket option API is getting in the...
- Mon Oct 15, 2007 3:32 am
- Forum: newLISP newS
- Topic: Contexts as Objects
- Replies: 42
- Views: 36876
data-type
I really like data-type.
One thing I noticed is how it maps to SXML. This way it can be used for defining data-type which can be turned into XML on the fly, which can give new capabilities to newLISP applications.
I really hope this becomes part of the language.
One thing I noticed is how it maps to SXML. This way it can be used for defining data-type which can be turned into XML on the fly, which can give new capabilities to newLISP applications.
I really hope this becomes part of the language.
- Mon Aug 06, 2007 4:22 pm
- Forum: newLISP newS
- Topic: slice negative counter
- Replies: 6
- Views: 6129
- Mon Aug 06, 2007 6:04 am
- Forum: newLISP newS
- Topic: slice negative counter
- Replies: 6
- Views: 6129
v9.1.11 slice
> (slice '(a b c d e f) 2 -1)
(c d e)
> (slice '(a b c d e f) 2 )
(c d e f)
Second one seems to be correct.
Both should give same results, no?
(c d e)
> (slice '(a b c d e f) 2 )
(c d e f)
Second one seems to be correct.
Both should give same results, no?
- Sun Aug 05, 2007 7:24 pm
- Forum: newLISP Graphics & Sound
- Topic: guiserver ide output blurry
- Replies: 1
- Views: 4000
guiserver ide output blurry
Hi all!
Guiserver is really great. The IDE is fun to use. I noticed one thing though. Sometimes when I "run" the code using the > button, the output area text gets blurry (multiple lines get superimposed). Has anyone seen this?
Guiserver is really great. The IDE is fun to use. I noticed one thing though. Sometimes when I "run" the code using the > button, the output area text gets blurry (multiple lines get superimposed). Has anyone seen this?
- Fri Jul 20, 2007 12:37 am
- Forum: newLISP Graphics & Sound
- Topic: GUI server java sources?
- Replies: 2
- Views: 4691
I go away for a while (due to a job) and look what happens! Guiserver is awesome! I'm reading the code and it looks great. One thing occurred to me while reading the code. It would be cool to do more declarative style GUI programming. Similar to JavaFX , Laszlo, XAML, XUL, etc. Except we can send s-...
- Mon Oct 16, 2006 4:33 pm
- Forum: newLISP newS
- Topic: newLISP tutorial/introduction
- Replies: 5
- Views: 5331
- Mon Oct 16, 2006 5:48 am
- Forum: newLISP newS
- Topic: newLISP v.9.0 release
- Replies: 12
- Views: 12130
- Thu Oct 12, 2006 6:00 pm
- Forum: newLISP in the real world
- Topic: Perhaps a dumb question
- Replies: 5
- Views: 5720
Hi Thanks. Yes, I know it looks like what was being done is quite silly but the intent was to pop items off a list. The problem was that (list 1 2 3 4) was something that was inside another list. The example I showed is a little more obvious to diagnose. I was doing something like (while (setq x (po...
- Wed Oct 11, 2006 10:27 pm
- Forum: newLISP newS
- Topic: Contributions to existing code: emacs/vim/etc
- Replies: 3
- Views: 4569
- Tue Oct 10, 2006 11:42 pm
- Forum: newLISP newS
- Topic: Contributions to existing code: emacs/vim/etc
- Replies: 3
- Views: 4569
- Tue Oct 10, 2006 8:48 pm
- Forum: newLISP in the real world
- Topic: Another newbie question
- Replies: 6
- Views: 6699
- Tue Oct 10, 2006 6:49 pm
- Forum: newLISP in the real world
- Topic: Another newbie question
- Replies: 6
- Views: 6699
I kind of understand (and *prefer* ) the way newLISP does this. But I guess I am thinking of other LISPs (oh no!!) Scheme: #;3> (define i '(1 '(2 3 4))) #;4> i (1 (quote (2 3 4))) #;5> (car i) 1 #;6> (cdr i) ((quote (2 3 4))) #;7> (cadr i) (quote (2 3 4)) #;8> (caadr i) quote #;9> (car '(2 3 4)) 2 C...
- Tue Oct 10, 2006 4:27 pm
- Forum: newLISP in the real world
- Topic: Another newbie question
- Replies: 6
- Views: 6699
Another newbie question
> (setq x '(1 '(2 3 4)))
(1 '(2 3 4))
> x
(1 '(2 3 4))
> (x 0)
1
> (x 1)
'(2 3 4)
> (first (x 1))
array, list or string expected in function first : (x 1)
> (first '(2 3 4))
2
>
Somehow quoted list works differently.
(1 '(2 3 4))
> x
(1 '(2 3 4))
> (x 0)
1
> (x 1)
'(2 3 4)
> (first (x 1))
array, list or string expected in function first : (x 1)
> (first '(2 3 4))
2
>
Somehow quoted list works differently.
- Tue Oct 10, 2006 4:24 pm
- Forum: newLISP in the real world
- Topic: Perhaps a dumb question
- Replies: 5
- Views: 5720
Perhaps a dumb question
I'm still a newbie...
(while (setq x (pop (list 1 2 3 4))) (print x))
gets into infinite loop printing 1.
Assigning (list 1 2 3 4) to something and using
(while (setq x (pop z something)) (print x))
works fine.
Why?
(while (setq x (pop (list 1 2 3 4))) (print x))
gets into infinite loop printing 1.
Assigning (list 1 2 3 4) to something and using
(while (setq x (pop z something)) (print x))
works fine.
Why?
- Fri Oct 06, 2006 3:53 pm
- Forum: newLISP in the real world
- Topic: getting single quotes from newLISP through the shell
- Replies: 2
- Views: 3031
this is ugly but :
Code: Select all
(replace "'" r "\\x27")
(exec (string {echo -e '} r {'}))
- Wed Oct 04, 2006 9:54 am
- Forum: newLISP newS
- Topic: Deep in the Amazon
- Replies: 4
- Views: 5036
moved
I got Lutz's wiki installed at a new site and I am blogging there. The wiki code is very useful!
New blog is:
http://terpri.com
Thanks.
New blog is:
http://terpri.com
Thanks.
- Tue Oct 03, 2006 6:36 pm
- Forum: newLISP newS
- Topic: Deep in the Amazon
- Replies: 4
- Views: 5036
Thank you. newlisper.blogspot.com is also a great blog. I am trying to move away from blogger. It is not very stable and formats the code wrong most of the time. I hope to move to a real hosting company and do some newlisp coding to get the blog going. Does anyone have ready made blogging software w...
- Tue Sep 26, 2006 11:11 pm
- Forum: Anything else we might add?
- Topic: cond and if
- Replies: 11
- Views: 9736