Page 1 of 2

release newLISP version 10.0

Posted: Mon Dec 08, 2008 3:10 pm
by Lutz
• A new generation of newLISP

Release notes: http://www.newlisp.org/downloads/newLIS ... lease.html

All files: http://www.newlisp.org/downloads

Ps: checksums done with: openssl dgst -sha1

SHA1(newlisp-10.0.0-intel.dmg)= 5e365a989aac1c69783b2a1a62f49026c6cc0a3e
SHA1(newlisp-10.0.0-ppc.dmg)= d7d9237c5a46bcd27e86d0b1c48eaf9c49a24b90
SHA1(newlisp-10.0.0.tgz)= 78e1292773a21d178253b19a0f7b167c3d6ae7a1
SHA1(newlisp-10000-win-gs-125.exe)= f0399ebc007e4076027e22a1cc63c1f9526cab12
SHA1(newlisp-ide-4.2.tgz)= 99b62a2cfe82bc85ed682f623c0fd4f2dd496512
SHA1(newlisp-wiki-4.5.tgz)= a08de4009cadaa63820fbb710596ab1ec3310d4c
SHA1(newlisp_10.0.0-1_i386.deb)= d91900a464cffb626beb328382b3064082d026af
SHA1(newlisp_10.0.0-utf8_i386.deb)= acd3c22637d09c6546c6f9dc66505968775515f3

Posted: Mon Dec 08, 2008 3:22 pm
by Kazimir Majorinc
Congratulations, best wishes and thanks.

Posted: Mon Dec 08, 2008 3:38 pm
by newdep
champagne! <...PloP...>

hooray!

Posted: Mon Dec 08, 2008 3:44 pm
by unixtechie
champagne and fireworks ;))))

Posted: Mon Dec 08, 2008 7:35 pm
by cormullion
Congratulations! Time to start coding!

Days to competition deadline:

Code: Select all

> (load "http://unbalanced-parentheses.nfshost.com/downloads/timeutilities.lsp.txt")
> (Duration:list-to-string (:period-to-list (Duration (:period (Time) (Time 2008 12 31 23 59 59)))))
"23d 04h 25m 45s"
(well, I don't recommend you download and run code like this... :)

Posted: Tue Dec 09, 2008 12:10 am
by itistoday
Congrats! :-D

(btw Lutz, are you on Twitter?)

Posted: Tue Dec 09, 2008 12:13 am
by itistoday
Ack! Can't run the intel .pkg, it reports that I've got a newer version of newlisp installed (I don't, I have 9.9.96).

Posted: Tue Dec 09, 2008 12:30 am
by Lutz
Do the uninstall, then install again.

or do manually:

sudo rm -rf /Library/Receipts/newLISPpackage.pkg/

this is part of the uninstall.command script (you dbl-click on it) in the installation newlisp-10.0.0-intel.dmg

I am not on twitter.

thanks for all the congratulations, also posted the newlisp_manual.pdf 2 hours ago.

Posted: Tue Dec 09, 2008 12:41 am
by itistoday
Sorry, I didn't mean to make that sound like a cry for help, was just reporting it in case this was something you wanted to know about.

Posted: Tue Dec 09, 2008 7:37 am
by newdep
Lutz,

What again where the right printing formats when you want to
print the newlisp manual?


Edit: fount it...
Print double sided on 8.5x11 inch or DIN A4 size paper, then cut to 7 x 9 inches and bind.

Posted: Tue Dec 09, 2008 5:32 pm
by cormullion
Yes, I often get that "newer package" problem too. I don't really understand why, but it happened in earlier releases too.

Posted: Wed Dec 10, 2008 7:30 am
by ale870
Wow! Congratulations and thank you!
newLisp is the best scripting language I ever used!

Posted: Wed Dec 10, 2008 9:43 pm
by donkey
Wonderful, I've been waiting for this :). Best regards!

Posted: Thu Dec 25, 2008 11:52 pm
by pjot
After some days of testing and trying really hard to find a bug, I couldn't find anything.... One moment I thought there was something with the UTF-8 stuff but it appeared to be a bug on my side :-)

So congrats! I will convert my old stuff to newLisp10 :-)

Peter

Posted: Wed Dec 31, 2008 10:29 am
by xytroxon
newLISP 10.0 Manuel's errors er. "manual" spelling errors ;)

(search for -> and replace with)

amnd -> and

arccosine -> arc-cosine used else where

"terms are of different arity" parity?

avalailable -> available

diffferent -> different

eturned -> returned

exection -> execution

fuction -> function

implixit -> implicit

initilization -> initialization

interation -> iteration

loalhost -> localhost

loded -> loaded

otherwis -> otherwize

prefined -> predefined

ramaining -> remaining

specifiy -> specify

standrad -> standard

structurei -> structure (think I reported this earlier)

surroundng -> surrounding

sytem -> system

useres -> users

-- xytroxon

Posted: Wed Dec 31, 2008 10:42 am
by xytroxon
Some I just found in Code Patterns to fix (may be some variable names)

caugth

chracter

conventsions

differencing

distibuted

eilnpsw

elmnt

exampls

extabish

fropm

fucntion

funcion

indetd

nde

netcat

nodep

nohup

prodcons

resuls

solutions

somefile

sring

transfomed

-- xytroxon

Posted: Wed Dec 31, 2008 3:41 pm
by Lutz
Thanks to xytroxon and all the others sending in corrections for documentation. A new version of Code Patterns is online here:

http://www.newlisp.org/downloads/CodePatterns.html

The manual was updated last on december 20th.

There will be a 10.0.1 maintenance release update during the first week of January, fixing some bugs and updating some external files. Most of these files are already online, i.e. stat.lsp and newLISPdoc.html.

Many thanks to everybody in the community for their participation and advice.

To all a good transition into a happy and peaceful year 2009.

Posted: Wed Dec 31, 2008 7:52 pm
by Jeremy Dunn
Sorry Xytotron, there is a typo in your typos! it should be

otherwis -> otherwise

not

otherwis -> otherwize

Posted: Thu Jan 01, 2009 12:31 am
by xytroxon
Jeremy Dunn wrote:Sorry Xytotron, there is a typo in your typos! it should be

otherwis -> otherwise

not

otherwis -> otherwize
Thankzzz!

Muzzzt of been the early AM hour here... ;)

--xytroxon

bug?

Posted: Thu Jan 01, 2009 6:14 pm
by didi
I can't write-line to a file , maybe a bug, maybe i'm to dumb - i tried it in a program and than with the original-sample from the manual:

Code: Select all

( set 'out-file (open "myfile" "write" ))
( write-line "hello there" out-file )
( close out-file )
leads to :
ERR: string expected in function write-line : out-file

my system : windows-xp

Re: bug?

Posted: Thu Jan 01, 2009 7:41 pm
by xytroxon
You are confused by the "string device" syntax verses the "file device" syntax...

Change:

Code: Select all

( write-line "hello there" out-file )
To:

Code: Select all

( write-line out-file "hello there" )
-- xytroxon

Posted: Fri Jan 02, 2009 4:53 am
by Lutz
'write-line' changed order of parameters for 10.0, but unfortunately the string device example in the reference didn't get converted, now corrected:

http://www.newlisp.org/newlisp_manual.html#write-line

the I/O device is now always the first parameter

Posted: Fri Jan 02, 2009 4:08 pm
by didi
Thanks for the fast help - now it works fine.

Posted: Thu Jan 08, 2009 3:03 pm
by newBert
newLISP 10.0 Manual
newLISP 10.0 Manual wrote:Functions with memory

A default function can update the lexically isolated static variables contained inside its namespace:

;; a function with memory

(define (Gen:Gen x)
(if Gen:acc
(inc Gen:acc x)
(set Gen:acc x)))

(Gen 1) → 1
(Gen 1) → 2
(Gen 2) → 4
(Gen 3) → 7

gen:acc → 7

The first time the Gen function is called, its accumulator is set to the value of the argument. Each successive call increments Gen's accumulator by the argument's value.

The definition of Gen:Gen shows, how a fuction is put in its own namespace without using the surroundng (context 'Gen) and (context MAIN) statements. In that case only symbols qualified by the namespace prefix will end up in the Gen context. In the above example the variable x is still part of MAIN.
and the example causes an error:

Code: Select all

ERR: symbol expected in function set : acc
called from user defined function Gen
(set Gen:acc x) ought to be replaced by (setq Gen:acc x) or (set 'Gen:acc x)

Posted: Thu Jan 08, 2009 5:51 pm
by DrDave
newBert wrote:newLISP 10.0 Manual

A default function can update the lexically isolated static variables contained inside its namespace:

;; a function with memory

(define (Gen:Gen x)
(if Gen:acc
(inc Gen:acc x)
(setq Gen:acc x)))
On v.9.9.4 Win32 I additionally had to add a quote to the inc code:
replace (inc Gen:acc x)
with (inc 'Gen:acc x)

(Don't have v10 installed on this computer.)