newLISP Fan Club

Forum => newLISP newS => Topic started by: Lutz on March 17, 2008, 08:43:55 AM

Title: development release newLISP v.9.3.4
Post by: Lutz on March 17, 2008, 08:43:55 AM
• a quicker way to make dictionaries (hashes)



• 'read-expr' hooks into newLISP's interpreter



• 'sys-info' now also reports PID



Files and changes notes: http://newlisp.org/downloads/development/
Title:
Post by: Jeff on March 17, 2008, 09:12:45 AM
Thank you, Lutz.  When you say "creating dictionaries got faster," do you mean that the speed of their creation is faster or the syntax for creating them is simpler?
Title:
Post by: Jeff on March 17, 2008, 09:31:56 AM
One other thing- is it possible in future versions that (Context "key" value) could work like set, with multiple insertions?  i.e. (Context "foo" bar "baz" bat) to set foo and baz in Context.
Title:
Post by: Lutz on March 17, 2008, 10:09:24 AM
Quote... the syntax for creating them is simpler?


yes, simpler / speedier to write


Quote could work like set, with multiple insertions?


perhaps we could have this second syntax pattern:


(<context> <list>)

where <list> is either a flat list of pairs:


(<var1> <value1> <var2> <value2> ...)

or an association list?


((<var1> <value1>) (<var2> <value2>) ...)
Title:
Post by: Jeff on March 17, 2008, 10:19:36 AM
That would work better, because it would be more easily composed.
Title:
Post by: cormullion on March 17, 2008, 10:56:17 AM
Do the existing sys-info values still work, or has one of them been replaced?
Title:
Post by: hsmyers on March 17, 2008, 02:24:23 PM
And just when I've convereted everything to assox!! Oh well, I've got bigger tables to fry...
Title:
Post by: newBert on March 18, 2008, 07:18:25 AM
Quote from: "Lutz"development release newLISP v.9.3.4

• a quicker way to make dictionaries (hashes)

Quote from: "hsmyers"And just when I've convereted everything to assox!

Me too ;)

I'm going to investigate a little these hash tables in the NewLisp way :)