Closed hurufu closed 3 years ago
After some experimenting I'm not sure if it's a good solution as a configuration framework for functional testing.
Points that make libctl
not readily usable as a configuration system for functional tests:
libctl
is a good task given how little time I have)No builtin types means more work to convert data structures (see 4)
Ideally, it would be nice to create ASN.1 module for all internal data structures, and generate use it, but ASN.1 isn't implemented in guile yet. There are some CL implementations, but porting them is too much work given how little I know about LISP ecosystem.
So as a summary, I think it's better no to use it. Even plain C configuration is way simpler at least for me.
I should also seriously reconsider re-implementing nexoid-ed in C++ (#36)
I've done some simple data binding and nexo can be called. The next logical step would be implementing all APIs in Guile, but I have to stop, because it won't go anywhere :)
Right now, analyze applicability of libctl as a proper solution for testing, eg. by writing 1 or 2 tests.