Page 1 of 1

development release newLISP v.8.2.4

Posted: Fri Oct 22, 2004 2:07 pm
by Lutz
NOTE, deprecated 'collect, getenv, putenv' and 'environ' are completely eliminated from newlisp and examples, modules: httpd, cgi.lsp, sqlite.lsp.

All are replaced or collapsed to functions maintaining the same syntax, only names have to be changed. For details see the chapter about "Deprecated Functions" in the manual.

Other changes, which could prompt newLISP script changes are:

- net-error now returns error number and text separate in a list
- 'now' has added the daylight-savings-flag 0 or 1 as last parameter
- (new ...) now will not overwrite existing symbols, to allow true
mixins of other contexts. To overwrite symbols as before version
8.2.4 use the true as a third parameter i.e. (new A B true).

- the function 'push' is now optimized to handle pushing at the end of a list with index -1, as efficient as pushing in front of a list. This allows faster inplace list growing without pushing in front and then 'reverse'ing. This will also benefit the "Computer Shotoout" -list benchmark which beginning with version 8.2.4 can be written closer to the specification and will run even faster omitting the 'reverse'. This optimization will over time also find its way into other inplace list-modifying functions.

For the complete changelog with other changes, bug fixes and files see: http://newlisp.org/downloads/development/

Lutz

Posted: Fri Oct 29, 2004 10:37 pm
by Lutz
This weeks development release newLISP 8.2.5 contains various usability enhancements and addtions/improvements to the context object system. See here: http://www.newlisp.org/index.cgi?page=News and here: http://newlisp.org/downloads/development/

Lutz

cgi.lsp obsolete?

Posted: Fri Nov 05, 2004 7:23 pm
by jsmall
Has cgi.lsp been eliminated or folded into some
other module/example?

How will wiki and blog be affected if at all?

Posted: Fri Nov 05, 2004 7:33 pm
by Lutz
No, not at all. Look for it in the modules directory of the source distribution. It is at version 1.6 now in 8.2.5 and it also comes packed with the wiki, ide and blog apps.

Lutz

Re: development release newLISP v.8.2.4

Posted: Fri Nov 05, 2004 10:27 pm
by lwix
Lutz wrote: - the function 'push' is now optimized to handle pushing at the end of a list with index -1, as efficient as pushing in front of a list...
Great! Now we can implement efficient queues easily.

Lucas

Posted: Sat Nov 06, 2004 12:31 am
by Lutz
This weeks development release 8.2.6 focuses mainly on improvements of the context system and has a new 'letn'. For details see here: http://www.newlisp.org/index.cgi?page=News and for files see here http://newlisp.org/downloads/development

Lutz

Posted: Sat Nov 06, 2004 8:34 am
by HPW
Typo in example:

;; (MYHash:values) => ((1 2 3) 1234)

gives an error and should be:

;; (MyHash:values) => ((1 2 3) 1234)

and:

;; (MyHash:get MyHash "someKey") => 1234
;; (MyHash:get MyHash "anything") => (1 2 3)

Should be:

;; (MyHash:get "someKey") => 1234
;; (MyHash:get "anything") => (1 2 3)

Posted: Sat Nov 06, 2004 1:18 pm
by Lutz
thanks, will be corrected

Lutz