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.py Stripped down to orchestrator role, delegating to new sub-parser modules
  • parse_content.py New dedicated content parser module extracted from parse.py
  • parse_header.py New dedicated header parser module
  • parse_code.py New dedicated code block parser module
  • log-parse.py Removed 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.py
    • parse_content.py
    • parse_header.py
    • parse_code.py

Logger and blog output

2 files changed
  • logger.py New custom colorized logger with per-module format strings
  • blog-output.md New 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.py
    • blog-output.md

Notes and output updates

2 files changed
  • NOTES.md Updated project notes
  • output.md Updated output reflecting new modular parser
  • Updated project notes and parser output to reflect the new modular architecture specify internal
    2 files
    • NOTES.md
    • output.md