Page 1 of 1
					
				development release newLISP v.9.3.4
				Posted: Mon Mar 17, 2008 3:43 pm
				by 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/ 
			 
			
					
				
				Posted: Mon Mar 17, 2008 4:12 pm
				by Jeff
				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?
			 
			
					
				
				Posted: Mon Mar 17, 2008 4:31 pm
				by Jeff
				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.
			 
			
					
				
				Posted: Mon Mar 17, 2008 5:09 pm
				by Lutz
				... the syntax for creating them is simpler?
yes, simpler / speedier to write
 could work like set, with multiple insertions?
perhaps we could have this second syntax pattern:
where <list> is either a flat list of pairs:
Code: Select all
(<var1> <value1> <var2> <value2> ...)
or an association list?
Code: Select all
((<var1> <value1>) (<var2> <value2>) ...)
 
			 
			
					
				
				Posted: Mon Mar 17, 2008 5:19 pm
				by Jeff
				That would work better, because it would be more easily composed.
			 
			
					
				
				Posted: Mon Mar 17, 2008 5:56 pm
				by cormullion
				Do the existing sys-info values still work, or has one of them been replaced?
			 
			
					
				
				Posted: Mon Mar 17, 2008 9:24 pm
				by hsmyers
				And just when I've convereted everything to assox!! Oh well, I've got bigger tables to fry...
			 
			
					
				
				Posted: Tue Mar 18, 2008 2:18 pm
				by newBert
				Lutz wrote:development release newLISP v.9.3.4
• a quicker way to make dictionaries (hashes) 
hsmyers wrote: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 :)