• 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
Congratulations, best wishes and thanks.
champagne! <...PloP...>
champagne and fireworks ;))))
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... :)
Congrats! :-D
(btw Lutz, are you on Twitter?)
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).
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.
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.
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.
Yes, I often get that "newer package" problem too. I don't really understand why, but it happened in earlier releases too.
Wow! Congratulations and thank you!
newLisp is the best scripting language I ever used!
Wonderful, I've been waiting for this :). Best regards!
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
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
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
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.
Sorry Xytotron, there is a typo in your typos! it should be
otherwis -> otherwise
not
otherwis -> otherwize
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
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
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
'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
Thanks for the fast help - now it works fine.
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)
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.)
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?)
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)))