Search found 183 matches

by Cyril
Sun Nov 04, 2007 10:17 am
Forum: Anything else we might add?
Topic: How did you find newLISP?
Replies: 35
Views: 25705

Re: How did you find newLISP?

The first time I found it, was here: http://shootout.alioth.debian.org/ Website doesn't show newLISP benchmarks anymore. I wasn't aware that they have newLISP some time ago. Funny that I am now trying to re-implement some benchmarks from that site (just for fun and for learning the newLISP way, no ...
by Cyril
Sun Nov 04, 2007 10:06 am
Forum: Anything else we might add?
Topic: How did you find newLISP?
Replies: 35
Views: 25705

rickyboy wrote:I think I saw it for the first time here, but I can't be sure.
This is the my case too.
by Cyril
Fri Nov 02, 2007 9:09 pm
Forum: Anything else we might add?
Topic: Why is curry so limited?
Replies: 4
Views: 2506

Lutz wrote:'find-all' will be changed to return an empty list when nothing is found in the next development version.
Oh. thank you! I'm I looking forward eagerly.
by Cyril
Fri Nov 02, 2007 6:55 pm
Forum: Anything else we might add?
Topic: Why is curry so limited?
Replies: 4
Views: 2506

So the answer to many of your questions about the design of newLISP is going to be related to the way these criteria can be met. Oh, yes, I must learn more about newlisp way. The problem is that I have too much previous mis-knowledge: I am fluent in both traditional scripting languages (perl, pytho...
by Cyril
Thu Nov 01, 2007 1:57 am
Forum: Anything else we might add?
Topic: Why is curry so limited?
Replies: 4
Views: 2506

Why is curry so limited?

Is it some reason why the curry function is limited to binary functions on input? Why not general any-arity to any-arity curry? This code seems to work well:

Code: Select all

(define (cu fun)
  (letex (Fun fun Args (args))
    (lambda () (apply Fun (append 'Args (args))))))

((cu + 1 2 3) 4 5) → 15
by Cyril
Wed Oct 31, 2007 10:56 pm
Forum: Anything else we might add?
Topic: Crash on attempt to redefine a default function?
Replies: 4
Views: 2632

yes, modifying a function while executing it, will crash most of the time. I believe that a scripting language intended for easy everyday tasks (from really easy everyday tasks up to AI) should not crash on any conditions -- error should be caught and reported. Let us leave segfaults to hardcore C ...
by Cyril
Wed Oct 31, 2007 12:44 pm
Forum: Anything else we might add?
Topic: 101 Mottos
Replies: 34
Views: 22125

Sammo wrote:newLisp: an uncommon Lisp!
I'm sad to point this out, but every lisp dialect since CLtL1 has been called "an uncommon lisp".
by Cyril
Wed Oct 31, 2007 12:28 pm
Forum: Anything else we might add?
Topic: Crash on attempt to redefine a default function?
Replies: 4
Views: 2632

Crash on attempt to redefine a default function?

My very first attempt to hack newlisp: newLISP v.9.2.4 on Win32, execute 'newlisp -h' for more info. > (define (ctx:ctx key val) (if val (set (sym key ctx) val) (eval (sym key ctx)) )) (lambda (key val) (if val (set (sym key ctx) val) (eval (sym key ctx)))) > (ctx "hello" "world") "world" > (ctx "he...