[ANN] LiveCode List Processor

Peter W A Wood peterwawood at gmail.com
Mon Oct 12 21:32:04 EDT 2015


> On 13 Oct 2015, at 01:32, Mark Waddingham <mark at livecode.com> wrote:
> On 2015-10-12 18:41, Richard Gaskin wrote:
>> That looks like Builder rather than Script, no?
> No - this is definitely a LiveCode Script library... It implements a data-type on top of an LCS array very much like the LCB 'List' type. (Such 'proper lists' - aka dense integer numerically-keyed arrays with index starting at 1 - are something we want to add to LCS at some point).

I believe that it would be a very worthwhile addition. An implementation in the engine would be far, far superior and orders of magnitude faster than anything I can come up with in LiveCode Script.

> Interestingly (although I've not read it in depth) it looks like the type is designed with the idea that you can easily change what is considered to be the 'first' index - i.e. move backward and forward through it.

That is correct

> This reminds me of a circular linked list in functionality.

The list is not circular. I am used to such functionality from Rebol (and now Red) whose list processing is ,I believe, highly influenced by Lisp.

Kind regards


More information about the use-livecode mailing list