doc: howto implement an analyzer