A practical example of high-level metaprogramming as a growing up library