newLISP stable release 10.2.0

Started by Lutz, March 16, 2010, 08:05:25 AM

Previous topic - Next topic

Lutz

Stable release v.10.2.0 introduces mutable objects in FOOP and other changes and additions.



Release notes: http://www.newlisp.org/downloads/newLISP-10.2-Release.html">http://www.newlisp.org/downloads/newLIS ... lease.html">http://www.newlisp.org/downloads/newLISP-10.2-Release.html

Downloads: http://www.newlisp.org/index.cgi?page=Downloads">http://www.newlisp.org/index.cgi?page=Downloads

m35

#1
Congratulations Lutz. Looking good as always.



Few notes.
Quote from: "newLISP v.10.2 Release Notes"Before they would be reported as part of a define function callint it.

Quote from: "newLISP v.10.2 Release Notes"The probabilities calculated by prob-chi2 where to low for odd numbers of degrees of freedom.

Quote from: "newLISP v.10.2 Release Notes"The Chi2 values calculated by crit-chi2 where to low for odd numbers of


Quote from: "newLISP v.10.2 Release Notes"The editor syntax highlighting files in the util subdirectory of the source distribution have been updated]
Aww, no jEdit?  ;)

Lutz

#2
Thanks for the corrections (now online), and isn't jEdit covered by your generator?



http://www.newlisp.org/code/jedit-newlisp-mode-generator.lsp.src.html">http://www.newlisp.org/code/jedit-newli ... p.src.html">http://www.newlisp.org/code/jedit-newlisp-mode-generator.lsp.src.html



and linked from here:



http://www.newlisp.org/index.cgi?Code_Contributions">http://www.newlisp.org/index.cgi?Code_Contributions

kks

#3
Thanks Lutz and the community for all your contribution to newLISP!



After trying the new version, I've found some bugs??:



1. `setf` redefines `nil` if the place argument is a non-existing `assoc`:

(setf (assoc 'a '()) '(a 1))
nil   # => (a 1)

   By the way, is it possible to implicitly add an assoc if it does not exist?:

(setq L '((a 1)))  (setf (assoc 'b L) '(b 2))  L   # should return ((b 2) (a 1))
(setq L '((a 1)))  (setf (lookup 'b L) 2)  L   # should return ((b 2) (a 1))


2. It seems that `pretty-print`'s `str-fp-format` option also affects `string`:

(pretty-print 80 " " "%1.3f")
(string 1.2)   # => "1.200" instead of "1.2"

Lutz

#4
Number 1. is a severe bug and I decided to retract all downloads of the new version 10.2.0, until this is fixed.



Number 2. is by design. Changing the default format in 'pretty-print' will affect all function using it, e.i. 'source' is affected too. For specific formatting use 'format'.