newLISP development release v.10.1.12

Notices and updates
Locked
Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

newLISP development release v.10.1.12

Post by Lutz »

• 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/

m i c h a e l
Posts: 394
Joined: Wed Apr 26, 2006 3:37 am
Location: Oregon, USA
Contact:

Re: newLISP development release v.10.1.12

Post by m i c h a e l »

Lutz wrote: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

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Re: newLISP development release v.10.1.12

Post by Lutz »

Code: Select all

(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.

xytroxon
Posts: 296
Joined: Tue Nov 06, 2007 3:59 pm
Contact:

Re: newLISP development release v.10.1.12

Post by xytroxon »

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
"Many computers can print only capital letters, so we shall not use lowercase letters."
-- Let's Talk Lisp (c) 1976

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

Re: newLISP development release v.10.1.12

Post by Lutz »

Thanks, there is a corrected version here: http://www.newlisp.org/downloads/development/latest/

Locked