Skip to main content

Module diff_parser

Module diff_parser 

Source
Expand description

Git diff parser — compares before/after source to emit ChangeDetected events.

In production, this would use git2 (libgit2 bindings) and tree-sitter to compare two ASTs. This mock parser compares source strings and classifies changes semantically.

Functions§

parse_diff
Compare before/after source code and emit change events.