Mark Clements wrote:
>
> Quicklisp has cl-colors; see also https://github.com/tpapp/cl-colors.
> Dependencies include anaphora, alexandria and let-plus.
>
> As a principle, is it better to use the lisp or to (hand) translate to spad?
For new code I defintely prefer Spad. When using existing code
it is delicate matter of managing dependencies: when there is
substantial work spent on foreign code (Lisp or other) it makes
sense to call it. But usually this means extra dependency and
with it potential trouble for people trying to build FriCAS.
In case of colors having C code with Spad wrappers would be
the best: part of graphics is in C and it would be preferable
to use the same color routines in both parts.
BTW1: AFAICS C part can handle all RGB values, and it would be
good to get of limitation on number of colors on Spad side.
BTW2: At least one part of C code for graphis cleverly uses
X windows routines for color handling. The effect is that
it is impossible to produce Postscript images without connection
to X server :(
--
Waldek Hebisch
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/fricas-devel.
For more options, visit https://groups.google.com/d/optout.