yusyus
|
f2b26ff5fe
|
feat: Phase 1-2 - Unified config format + deep code analysis
Phase 1: Unified Config Format
- Created config_validator.py with full validation
- Supports multiple sources (documentation, github, pdf)
- Backward compatible with legacy configs
- Auto-converts legacy → unified format
- Validates merge_mode and code_analysis_depth
Phase 2: Deep Code Analysis
- Created code_analyzer.py with language-specific parsers
- Supports Python (AST), JavaScript/TypeScript (regex), C/C++ (regex)
- Configurable depth: surface, deep, full
- Extracts classes, functions, parameters, types, docstrings
- Integrated into github_scraper.py
Features:
✅ Unified config with sources array
✅ Code analysis depth: surface/deep/full
✅ Language detection and parser selection
✅ Signature extraction with full parameter info
✅ Type hints and default values captured
✅ Docstring extraction
✅ Example config: godot_unified.json
Next: Conflict detection and merging
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
|
2025-10-26 15:09:38 +03:00 |
|