At the moment there is is just some convenience functions and macros and an xml printer.
The xml printer makes it easy to create xml output
from within c programs. The output is formated in a standard
way. The output is colored in case of a tty. And the output can
optionally be formatted in bash or perl syntax, so that
the same c program can easily be incorporated into a
bash environment, without having an xml parser for
bash.
siliconBrainLib should provide all things, which normaly are
reasons to use bash or perl rather than c. So
later there should be a simple to use variable in string substitution,
here documents, process piping, command execution, string handling,
....
At the beginning of the siliconbrain development, there was the paradigm that any language to use would be ok. But later it is detected that this strategy leads to tons of bridge code and to not easy reuse of thing s developed in one language and than needed oin another. So now, the new idea is to develope everything in one language. For siliconBrain this is c.
This includes makefile's. So siliconBrainLib will contain all
things needed to write makefile's in c. This will
allow us, to reuse all tings we already have developed, while we
create makefile's.
It is not a siliconBrain package. It should be usable as script language replacement even for people not liking to use the full siliconBrain environment. So at the end it should be just an h-file and a library.