Another step toward newlisp v10.0. No major changes this time, only an update of built-in functions list. In particular:
* integer is moved to "obsolete" section. It was removed from documentation long ago, and Lutz said it will be discarded completely in 9.9.96 release.
* new section "debugging" is created, it contains two functions: estack and dump-symbol. They are not compiled into normal release code, but exist in the source. Functions are highlighted in "todo" colors (the same as obsolete), but you can change this.
* two undocumented functions discovered ;-), default and bits. Lutz said the first will be documented in 10.0, how about second?
* minor code cleanup in newlispdoc supporting code, should not affect anything.
Downloadable from usual places (two (//http)), peer review solicited.
'bits' ! Oops, totally forgot about it. That thing is actually very useful, lets leave it, and I will document it.
(bits 123456789012345678)
=> "110110110100110110100101110100110001100001111001101001110"
(map int (explode (bits 12345))) => (1 1 0 0 0 0 0 0 1 1 1 0 0 1)
thanks for the help Cyril
Ps: for vi users on Mac OS X, there is mvim, great GUI vi editor working well with Cyril's newlisp.vim file.
Get it here: http://code.google.com/p/macvim/
Looks like a 'binary' function in newLISP? Good stuff.