Skip to content

Commit e003023

Browse files
committed
fix(parser): fix TypeScript audit degradation and add report timestamps
- add chrono dependency for cross-platform date/time handling - fix TypeScript parser audit tracking from 110 to 182 nodes (94.3% coverage) - add register_node_recursively() to track all AST nodes for audit - consolidate report generation in comprehensive tests - add timestamps to all AUDIT_REPORT.md, GRAMMAR_ANALYSIS.md, node_discovery.txt - create format_utc_timestamp() in src/io/format.rs as single source of truth - update get_utc_timestamp() and format_relative_time() to use chrono - remove unused test infrastructure from tests/common/mod.rs - all parsers now generate timestamped reports for tracking updates
1 parent 52277ae commit e003023

43 files changed

Lines changed: 538 additions & 345 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Cargo.lock

Lines changed: 18 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ json5 = "0.4.1"
7676
regex = "1.11.2"
7777
tree-sitter-c = "0.24.1"
7878
tree-sitter-cpp = "0.23.4"
79+
chrono = "0.4.42"
7980

8081
[dev-dependencies]
8182
criterion = { version = "0.7.0", features = ["html_reports"] }

contributing/parsers/c/AUDIT_REPORT.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# C Parser Coverage Report
22

3+
*Generated: 2025-09-11 15:39:19 UTC*
4+
35
## Summary
46
- Nodes in file: 145
57
- Nodes handled by parser: 29

contributing/parsers/c/GRAMMAR_ANALYSIS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# C Grammar Analysis
22

3+
*Generated: 2025-09-11 15:39:19 UTC*
4+
35
## Statistics
46
- Total nodes in grammar JSON: 132
57
- Nodes found in comprehensive.c: 145

contributing/parsers/c/node_discovery.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
=== C Language ABI-15 COMPREHENSIVE NODE MAPPING ===
2+
Generated: 2025-09-11 15:39:19 UTC
23
ABI Version: 15
34
Node kind count: 145
45

contributing/parsers/cpp/AUDIT_REPORT.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# C++ Parser Coverage Report
22

3+
*Generated: 2025-09-11 15:39:19 UTC*
4+
35
## Summary
46
- Nodes in file: 131
57
- Nodes handled by parser: 131

contributing/parsers/cpp/GRAMMAR_ANALYSIS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# C++ Grammar Analysis
22

3+
*Generated: 2025-09-11 15:39:19 UTC*
4+
35
## Statistics
46
- Total nodes in grammar JSON: 223
57
- Nodes found in comprehensive.cpp: 131

contributing/parsers/cpp/node_discovery.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
=== C++ Language ABI-15 COMPREHENSIVE NODE MAPPING ===
2+
Generated: 2025-09-11 15:39:19 UTC
23
ABI Version: 14
34
Node kind count: 131
45

contributing/parsers/go/AUDIT_REPORT.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Go Parser Symbol Extraction Coverage Report
22

3+
*Generated: 2025-09-11 15:39:19 UTC*
4+
35
## Summary
46
- Nodes in file: 115
57
- Nodes with symbol extraction: 16

contributing/parsers/go/GRAMMAR_ANALYSIS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Go Grammar Analysis
22

3+
*Generated: 2025-09-11 15:39:19 UTC*
4+
35
## Statistics
46
- Total nodes in grammar JSON: 112
57
- Nodes found in comprehensive.go: 115

0 commit comments

Comments
 (0)