release newLISP version 10.0
release newLISP version 10.0
• 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
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
-
- Posts: 388
- Joined: Thu May 08, 2008 1:24 am
- Location: Croatia
- Contact:
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
Congratulations! Time to start coding!
Days to competition deadline:
(well, I don't recommend you download and run code like this... :)
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"
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).
Get your Objective newLISP groove on.
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.
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.
Get your Objective newLISP groove on.
-
- Posts: 2038
- Joined: Tue Nov 29, 2005 8:28 pm
- Location: latiitude 50N longitude 3W
- Contact:
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
(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
"Many computers can print only capital letters, so we shall not use lowercase letters."
-- Let's Talk Lisp (c) 1976
-- Let's Talk Lisp (c) 1976
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
caugth
chracter
conventsions
differencing
distibuted
eilnpsw
elmnt
exampls
extabish
fropm
fucntion
funcion
indetd
nde
netcat
nodep
nohup
prodcons
resuls
solutions
somefile
sring
transfomed
-- xytroxon
"Many computers can print only capital letters, so we shall not use lowercase letters."
-- Let's Talk Lisp (c) 1976
-- Let's Talk Lisp (c) 1976
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.
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.
-
- Posts: 95
- Joined: Wed Oct 13, 2004 8:02 pm
- Location: Bellingham WA
Thankzzz!Jeremy Dunn wrote:Sorry Xytotron, there is a typo in your typos! it should be
otherwis -> otherwise
not
otherwis -> otherwize
Muzzzt of been the early AM hour here... ;)
--xytroxon
"Many computers can print only capital letters, so we shall not use lowercase letters."
-- Let's Talk Lisp (c) 1976
-- Let's Talk Lisp (c) 1976
bug?
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:
leads to :
ERR: string expected in function write-line : out-file
my system : windows-xp
Code: Select all
( set 'out-file (open "myfile" "write" ))
( write-line "hello there" out-file )
( close out-file )
ERR: string expected in function write-line : out-file
my system : windows-xp
Re: bug?
You are confused by the "string device" syntax verses the "file device" syntax...
Change:
To:
-- xytroxon
Change:
Code: Select all
( write-line "hello there" out-file )
Code: Select all
( write-line out-file "hello there" )
"Many computers can print only capital letters, so we shall not use lowercase letters."
-- Let's Talk Lisp (c) 1976
-- Let's Talk Lisp (c) 1976
'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
http://www.newlisp.org/newlisp_manual.html#write-line
the I/O device is now always the first parameter
newLISP 10.0 Manual
(set Gen:acc x) ought to be replaced by (setq Gen:acc x) or (set 'Gen:acc x)
and the example causes an error: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.
Code: Select all
ERR: symbol expected in function set : acc
called from user defined function Gen
Bertrand − newLISP v.10.7.6 64-bit on Linux (Linux Mint 20.1)
On v.9.9.4 Win32 I additionally had to add a quote to the inc code: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)))
replace (inc Gen:acc x)
with (inc 'Gen:acc x)
(Don't have v10 installed on this computer.)
...it is better to first strive for clarity and correctness and to make programs efficient only if really needed.
"Getting Started with Erlang" version 5.6.2
"Getting Started with Erlang" version 5.6.2