experimental implementation for doc test generator code

This is experimental code for doc test.
It's just an idea.