C-only minimal library and examples for the nw2s::b