d1conv 2023-11-05
Refactor parser with improved JSON traversal and remove stale content data
12 files · 218+ · 325-

Parser refactoring

1 file changed
  • parse.py Major refactor with improved JSON traversal, content line dispatch, and Markdown assembly
  • Refactored parse.py with improved JSON traversal logic, better content line dispatch to sub-parsers, and cleaner Markdown output assembly decouple behavioral
    1 file
    • parse.py

Test data and tooling updates

3 files changed
  • Journal-content.json Removed stale content JSON (126 lines deleted)
  • Journal.json Simplified test fixture with reduced entry data
  • fetch-do-core.sh Shell script for fetching Day One core journal data
  • Cleaned up test fixtures by removing stale content data and simplifying Journal.json for focused parser testing harden internal
    2 files
    • Journal-content.json
    • Journal.json