Extracted Analyzer out of compiler