newLISP Fan Club

Forum => newLISP newS => Topic started by: Lutz on December 08, 2008, 07:10:31 AM

Title: release newLISP version 10.0
Post by: Lutz on December 08, 2008, 07:10:31 AM
• A new generation of newLISP



Release notes: http://www.newlisp.org/downloads/newLISP-10.0-Release.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
Title:
Post by: Kazimir Majorinc on December 08, 2008, 07:22:14 AM
Congratulations, best wishes and thanks.
Title:
Post by: newdep on December 08, 2008, 07:38:00 AM
champagne!  <...PloP...>
Title: hooray!
Post by: unixtechie on December 08, 2008, 07:44:42 AM
champagne and fireworks ;))))
Title:
Post by: cormullion on December 08, 2008, 11:35:14 AM
Congratulations! Time to start coding!



Days to competition deadline:


> (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... :)
Title:
Post by: itistoday on December 08, 2008, 04:10:02 PM
Congrats! :-D



(btw Lutz, are you on Twitter?)
Title:
Post by: itistoday on December 08, 2008, 04:13:57 PM
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).
Title:
Post by: Lutz on December 08, 2008, 04:30:35 PM
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.
Title:
Post by: itistoday on December 08, 2008, 04:41:54 PM
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.
Title:
Post by: newdep on December 08, 2008, 11:37:32 PM
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.
Title:
Post by: cormullion on December 09, 2008, 09:32:19 AM
Yes, I often get that "newer package" problem too. I don't really understand why, but it happened in earlier releases too.
Title:
Post by: ale870 on December 09, 2008, 11:30:35 PM
Wow! Congratulations and thank you!

newLisp is the best scripting language I ever used!
Title:
Post by: donkey on December 10, 2008, 01:43:57 PM
Wonderful, I've been waiting for this :). Best regards!
Title:
Post by: pjot on December 25, 2008, 03:52:38 PM
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
Title:
Post by: xytroxon on December 31, 2008, 02:29:38 AM
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
Title:
Post by: xytroxon on December 31, 2008, 02:42:13 AM
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
Title:
Post by: Lutz on December 31, 2008, 07:41:32 AM
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.
Title:
Post by: Jeremy Dunn on December 31, 2008, 11:52:45 AM
Sorry Xytotron, there is a typo in your typos! it should be



otherwis -> otherwise



not



otherwis -> otherwize
Title:
Post by: xytroxon on December 31, 2008, 04:31:16 PM
Quote from: "Jeremy Dunn"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
Title: bug?
Post by: didi on January 01, 2009, 10:14:52 AM
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:


( 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
Title: Re: bug?
Post by: xytroxon on January 01, 2009, 11:41:19 AM
You are confused by the "string device" syntax verses the  "file device" syntax...



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

-- xytroxon
Title:
Post by: Lutz on January 01, 2009, 08:53:35 PM
'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
Title:
Post by: didi on January 02, 2009, 08:08:12 AM
Thanks for the fast help - now it works fine.
Title:
Post by: newBert on January 08, 2009, 07:03:36 AM
newLISP 10.0 Manual


Quote from: "newLISP 10.0 Manual"set[/color] 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:
ERR: symbol expected in function set : acc
called from user defined function Gen

(set Gen]setq[/color] Gen:acc x) or (set 'Gen:acc x)
Title:
Post by: DrDave on January 08, 2009, 09:51:39 AM
Quote from: "newBert"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]

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.)
Title:
Post by: cormullion on January 08, 2009, 10:01:30 AM
I think the changes to inc and dec were in a later 9.9.x release... So the 9.9.4 version you have is somewhat between version 9 and version 10... (and presumably slightly less reliable as well?)
Title:
Post by: DrDave on January 08, 2009, 12:20:39 PM
Quote from: "cormullion"I think the changes to inc and dec were in a later 9.9.x release... So the 9.9.4 version you have is somewhat between version 9 and version 10... (and presumably slightly less reliable as well?)


OK, I installed v.10.0.1 Win32 and this runs correctly


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