Is there any interest in C++ Tcl bindings?
I wanted to find out how far I can push boost.describe so I create C++ tcl
binding based on it, PoC is here
https://github.com/klemens-morgenstern/boost.tcl
It's currently a rough PoC so it'd be a lot of work to make this a proper
boost library, hence the question if there's some actual interest,
otherwise it's a nice toy project.
All you need to do is to use boost.describe for your enum or class and then
you can use them in tcl:
// C++
enum test_enum {foo = 1};
BOOST_DESCRIBE_ENUM(test_enum, foo);
struct my_class
{
double foo;
void bar(int);
};
BOOST_DESCRIBE_STRUCT(my_class, (), (foo, bar));
BOOST_TCL_PACKAGE(Test_module, "1.0", mod)
{
auto & cmd = boost::tcl::create_command(mod, "test");
auto & enm = cmd.add_subcommand("enum");
enm.add_enum