Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - Kazimir Majorinc

#81
newLISP newS / What is $args?
July 24, 2008, 04:29:26 PM
It looks the same as (args). Is it documented, I cannot find it.
#82
Anything else we might add? / Unless
July 16, 2008, 09:07:03 PM
In Newlisp unless is "pessimistic if" as Cormullion stated it in his free book.


Quote(unless (= 0 1)(print "55")(print "66"))


is same thing as


Quote(if (not (= 0 1))(print "55")(print "66"))


However, in CL and Scheme, unless is "pessimistic when."


Quote(when (not (= 0 1))(print "55")(print "66"))


So, original expression prints 5566 in CL and Scheme and 55 in Newlisp.



It might be good to synchronize that with CL and Scheme, because difference can be source of the bugs and reason for complains, and because CL and Scheme semantics seems to be more beneficial - it spares one (begin) - while Newlisp version only change the order of the alternative s-expression.



Maybe some other keyword could be used for "unless" in the current meaning, if someone think it is useful.
#83
http://i3.photobucket.com/albums/y95/pauldoyle/hyn2008.gif">
#84
newLISP newS / Why comma is special?
July 09, 2008, 03:03:37 AM
I noted that comma cannot be part of the symbol; it appears identifier



x,y



is understood like it is the sequence of three symbols



x , y



Is it intentional?
#85
In http://kazimirmajorinc.blogspot.com/">one of my last blogs I noted that Newlisp, when using blocks of the expressions doesn't return the result of the evaluation of the last expression - but its copy.



It holds for begin, let, lambda, lambda-macro, silent ...



Why is that? Is there any possibility for changing it or additionally providing the versions returning actual value of the last evaluated expression, not its copy? Advantages would be some speed, but also some expressive power. I'm aware that passing actual values as arguments to functions breaks ORO, but returning actual values seems safe to me.
#86
I tried to instal Newlisp in



C:Newlisp



but editor doesn't work although Newlisp itself works. It works well if installed in default directories. It is minor bug, however, maybe it is worth reporting. It happens on XP 32 bit and Vista 64 bit.
#87
> (println (= ''x '(quote x)))
nil


Is it bug or feature? 9.3.12 version.
#88
newLISP newS / Promoting my blog.
May 08, 2008, 08:10:26 PM
Hello



I'm new user of Newlisp, and I'll use it for next few months and hopefully longer. I wish to promote my blog at



http://kazimirmajorinc.blogspot.com">http://kazimirmajorinc.blogspot.com



Thanks to author and contributors who made it possible.