newlisp.vim version 1.24

Notices and updates
Locked
Cyril
Posts: 183
Joined: Tue Oct 30, 2007 6:27 pm
Location: Moscow, Russia
Contact:

newlisp.vim version 1.24

Post 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.
With newLISP you can grow your lists from the right side!

Lutz
Posts: 5289
Joined: Thu Sep 26, 2002 4:45 pm
Location: Pasadena, California
Contact:

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

cormullion
Posts: 2038
Joined: Tue Nov 29, 2005 8:28 pm
Location: latiitude 50N longitude 3W
Contact:

Post by cormullion »

Looks like a 'binary' function in newLISP? Good stuff.

Locked