[cl-l10n-devel] Possible new dependencies

Attila Lendvai attila.lendvai at gmail.com
Tue Jun 6 14:49:32 UTC 2006


hi!

what do you people think about new dependencies? what i'm missing from
cl-l10n is a good utils lib and iterate.

iterate is a de facto standard now, i don't think it would be a big
problem depending on it. but it's only moderately missing... we can
live with loop altough i wouldn't be happy to resort to it.

but a good utils lib is missing much more with common stuff like
strcat, with-unique-names, etc. the problem is that there's no de
facto standard among these libs. i personally use and depend on arnesi
and the bese tools in general
http://www.uncommon-web.com/darcsweb/darcsweb.cgi but it's not a good
idea to force such a dependency on all the users of cl-l10n, which is
a quite general lib.

i can see three options:

1) copy missing methods into cl-l10n utils, which is obviously not a
good idea above a certain level and i think we would end up copying
too much. but considering the general nature of cl-l10n it may be an
option.

2) create a cl-i18n system in cl-l10n.asd that does depend on arnesi,
but is optional to the base cl-l10n functionality.

3) create a cl-i18n (darcs? :) repository next to cl-l10n, which is a
standalone project that fully integrates with cl-l10n and provides the
l18n stuff and brings in extra dependencies if needed. (2 seems to be
better tehn 3 because i18n is useless without l10n)

i'm planning to commit many helper stuff like useful locale dispatched
functions (indefinit-article-for, prular-of, etc), some useful macros
like lookup-first-matching-resource, but currently they are depending
on iterate and some utilities in arnesi.

opinions?

- attila

(alias 101 on irc &no 'its not lisp code :)



More information about the cl-l10n-devel mailing list