Commit Graph

5 Commits

Author SHA1 Message Date
5ef3057d98 refactor(parser): simplify ParseLine logic for completed, priority, and date parsing
- Refactor ParseLine to use token-based parsing for completed status,
  priority, and dates.
- Improve handling of priority and creation date for both completed and
  incomplete tasks.
2025-11-25 00:41:36 +01:00
57ac41ff72 fix(parser): correct priority calculation for 'Z' to return 0
Previously, the priority calculation did not handle 'Z' correctly,
resulting in a non-zero value. Now, 'Z' returns 0 as intended, and the
step size is calculated for a linear scale.
2025-11-25 00:40:16 +01:00
20e327d9dd refactor(parser): translate comments from Italian to English 2025-11-24 23:40:31 +01:00
76f33f281c chore(docs): move SPECS.md and description.svg to docs/ directory 2025-11-24 23:34:57 +01:00
9cfc9abc93 feat: initial parser for todo.txt format with spec and test cases
- Add parser for todo.txt tasks supporting priority, dates, projects,
  contexts, and key:value metadata
- Include full todo.txt format specification (SPECS.md) and visual
  description (description.svg)
- Add sample test.todo.txt file with valid, borderline, and malformed
  cases
- Initialize Go module and main entrypoint for parsing and JSON output
- Add .gitignore for binary artifacts
2025-11-24 23:30:45 +01:00