development release newLISP v.9.3.4

Started by Lutz, March 17, 2008, 08:43:55 AM

Previous topic - Next topic

Lutz

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

Jeff

#1
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?
Jeff

=====

Old programmers don\'t die. They just parse on...



http://artfulcode.net\">Artful code

Jeff

#2
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.
Jeff

=====

Old programmers don\'t die. They just parse on...



http://artfulcode.net\">Artful code

Lutz

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

Jeff

#4
That would work better, because it would be more easily composed.
Jeff

=====

Old programmers don\'t die. They just parse on...



http://artfulcode.net\">Artful code

cormullion

#5
Do the existing sys-info values still work, or has one of them been replaced?

hsmyers

#6
And just when I've convereted everything to assox!! Oh well, I've got bigger tables to fry...
\"Censeo Toto nos in Kansa esse decisse.\"—D. Gale \"[size=117]ℑ♥λ[/size]\"—Toto

newBert

#7
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 :)
<r><I>>Bertrand<e></e></I> − <COLOR color=\"#808080\">><B>newLISP<e></e></B> v.10.7.6 64-bit <B>>on Linux<e></e></B> (<I>>Linux Mint 20.1<e></e></I>)<e></e></COLOR></r>