add analyze-block, implement parsing for 'do and 'if
fix docstring position in analyze