Page 1 of 1

newlisp.vim version 1.24

Posted: Wed Nov 26, 2008 9:49 pm
by Cyril
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 (one, two), peer review solicited.

Posted: Wed Nov 26, 2008 11:09 pm
by Lutz
'bits' ! Oops, totally forgot about it. That thing is actually very useful, lets leave it, and I will document it.

Code: Select all

(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/

Posted: Thu Nov 27, 2008 4:08 pm
by cormullion
Looks like a 'binary' function in newLISP? Good stuff.