development release newLISP v.8.2.4

Started by Lutz, October 22, 2004, 07:07:00 AM

Previous topic - Next topic

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/">http://newlisp.org/downloads/development/



Lutz

Lutz

#1
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">http://www.newlisp.org/index.cgi?page=News and here: http://newlisp.org/downloads/development/">http://newlisp.org/downloads/development/



Lutz

jsmall

#2
Has cgi.lsp been eliminated or folded into some

other module/example?



How will wiki and blog be affected if at all?

Lutz

#3
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

lwix

#4
Quote from: "Lutz"
- 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
small\'s beautiful

Lutz

#5
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">http://www.newlisp.org/index.cgi?page=News and for files see here http://newlisp.org/downloads/development">http://newlisp.org/downloads/development



Lutz

HPW

#6
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)
Hans-Peter

Lutz

#7
thanks, will be corrected



Lutz