newLISP Fan Club

Forum => newLISP newS => Topic started by: Lutz on February 23, 2010, 06:46:36 AM

Title: newLISP development release v.10.1.12
Post by: Lutz on February 23, 2010, 06:46:36 AM
• This development release features minor bug fixes and additions. Last development release before stable 10.2.



files and CHANGES and 10.2 release notes: http://www.newlisp.org/downloads/development/
Title: Re: newLISP development release v.10.1.12
Post by: m i c h a e l on February 23, 2010, 10:20:10 AM
Quote from: "Lutz"Symbol protection for containers of mutable FOOP objects


Not sure what you mean here, Lutz. Can you elaborate?



Thanks for another release!



m i c h a e l
Title: Re: newLISP development release v.10.1.12
Post by: Lutz on February 23, 2010, 10:45:46 AM
(new Class 'Circle)

(constant 'c (Circle 3 4 10))

(define (Circle:move dx dy)
(inc (self 1) dx)
(inc (self 2) dy))

(:move c 8 9) => now throws protection error


On versions previous to 10.1.12 this would modify the circle in 'c', although 'c' is defined as constant.
Title: Re: newLISP development release v.10.1.12
Post by: xytroxon on February 24, 2010, 11:35:00 AM
A few newLISP manual issues:



======================



Function Reference



   1. Syntax of symbol variables and numbers

   2. Data types and names in the reference

   3. Functions in groups

          * List processing, flow control, and integer arithmetic



Function table list is missing ++ and -- integer arithmetic entries.



======================



eval



...See the chapter Programming with context objects...



Broken link.



======================



preview



See also name to extract the name part of a symbol.



Should reflect name change to term...



======================



term



If the expression in bool evaluates to anything other than nil, the name of the symbol's context is returned instead.



References removed bool flag option???



When context is supplied, then name returns the name of the context.



Should reflect name change to term.



======================



-- xytroxon
Title: Re: newLISP development release v.10.1.12
Post by: Lutz on February 24, 2010, 03:00:48 PM
Thanks, there is a corrected version here: http://www.newlisp.org/downloads/development/latest/