d1conv
2023-11-21
Extract parser into dedicated modules and add blog output generation
9 files · 896+ · 1,212-
Modular parser extraction
5 files changed
parse.pyStripped down to orchestrator role, delegating to new sub-parser modulesparse_content.pyNew dedicated content parser module extracted from parse.pyparse_header.pyNew dedicated header parser moduleparse_code.pyNew dedicated code block parser modulelog-parse.pyRemoved legacy log parser, replaced by new modular architecture
- Decomposed monolithic parse.py into dedicated sub-parser modules (content, header, code), establishing a cleaner modular architecture
decouple
architectural
4 files
parse.pyparse_content.pyparse_header.pyparse_code.py
Logger and blog output
2 files changed
logger.pyNew custom colorized logger with per-module format stringsblog-output.mdNew blog-specific output format for Hugo site integration
- Added dedicated logger module with colorized per-module format strings and blog-specific Markdown output for Hugo publishing
instantiate
internal
2 files
logger.pyblog-output.md
Notes and output updates
2 files changed
NOTES.mdUpdated project notesoutput.mdUpdated output reflecting new modular parser