[fpc-pascal] State of fcl-stl generics lib

Michal Wallace michal.wallace at gmail.com
Fri Jan 11 12:51:43 CET 2013


On Fri, Jan 11, 2013 at 4:19 AM, Juha Manninen <juha.manninen62 at gmail.com>w=
rote:

> For example, if someone is developing a competing generics library,
> could  he be advised to improve fcl-stl instead? Would patches be accepte=
d?
>

Hi there.

I have been working on a few generic types here:

   https://github.com/tangentstorm/xpl/blob/master/code/ll.pas
   { linked list / ring with generic cursor type + for/in support }

   https://github.com/tangentstorm/xpl/blob/master/code/stacks.pas
   { simple stack<t> with some forth-like methods }

   https://github.com/tangentstorm/xpl/blob/master/code/di.pas
   { very simple dictionary type (string keys only at the moment) }

You probably wouldn't want my code as-is because I don't use the Delphi
conventions, but I might be able to run it through a filter to adapt it.

I had been thinking about considered refactoring the fundamentals library
to use generics too at some point:

    http://fundementals.sourceforge.net/index.htm

I actually didn't know about fcl-stl . I'm willing to work on it, and to
contribute my code, but the license is a problem for me.
If the original authors were willing to dual-license under MIT and LGPL+SLE
I'd be happy to do the same, and to generate
a version that followed the Borland coding conventions.

( Not sure what that would mean for the fundamentals idea, but perhaps it
wouldn't be necessary anymore. )

( tangentstorm on #fpc )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freepascal.org/lists/fpc-pascal/attachments/20130111/b242=
863c/attachment.htm


More information about the fpc-pascal mailing list