development release newLISP 9.2.15

Started by Lutz, January 13, 2008, 01:40:52 PM

Previous topic - Next topic

Lutz

More bugfixes for the upcoming 9.3 release. Source only.



files and changes notes: http://newlisp.org/downloads/development/">http://newlisp.org/downloads/development/



Lutz

cormullion

#1
Quoteassoc, set-assoc (old replace-assoc) and new assoc-set all take mutiple keys  for multilevel association lists


That's an interesting bug fix! :) I'd love to try it out, but it's source only ...

newdep

#2
Hi lutz,



Scripts that use replace-assoc dont give a warning they just behave strange..



..Are you stripping replace-assoc from 9.3.0...?



Norman.





PS: actualy... set-assoc & replace-assoc both dont work...
-- (define? (Cornflakes))

Lutz

#3
QuoteScripts that use replace-assoc dont give a warning they just behave strange..


can you be more specific? 'replace-assoc' runs the usual tests fine. 'set-assoc' is the renamed 'replace-assoc', but the old naming will stay for a while.



Can you give a specific example where 'replace-assoc' now behaves differently? I want to release 9.3 in a few days, so this would be important to know.



Lutz

newdep

#4
See the pinballs.lsp demo... there is replace-assoc in there ;-)



Run it and it wont work..change replace-assoc to set-assoc it wont work eighter? I cant see whats happening ;-)
-- (define? (Cornflakes))

Lutz

#5
Yes, I am seeing this, it seems not to do the increment of the variables, thanks for catching this.



Lutz

Lutz

#6
v.9.2.15 has been retracted, I will post a 9.2.16 later



Lutz

newdep

#7
Hi Lutz..



Why "string index out of bounds" ? ->



> (set 'a 10)

10

> (set 'b '( "one" "two" "three"))

("one" "two" "three")

> (set 'c '( "high" "low" "vertical"))

("high" "low" "vertical")

> ( (b 2) a (c 0))



string index out of bounds
-- (define? (Cornflakes))

Lutz

#8
Because (c 2) evaluates to a string, the next expression a -> 10 is taken as an index into the string "vertical" and overflows, because vertical only has 8 characters.



Lutz