|
|
||
|---|---|---|
| .. | ||
| README.md | ||
| analyze_path.rs | ||
| analyze_text.rs | ||
| plan_replacements.rs | ||
README.md
Runnable Rust examples
These Cargo examples exercise the same library boundaries used by the three John Slop binaries:
cargo run --example analyze_text
cargo run --example analyze_path -- examples/fixtures
cargo run --example plan_replacements
analyze_textanalyzes an in-memory prose snapshot and prints its explainable findings.analyze_pathstreams a file, directory, or supported ZIP container. Its optional path defaults toexamples/fixtures.plan_replacementsprints the exact UTF-8 byte edits that the formatter and LSP adapters will share.
These examples use embedded defaults so their behavior does not depend on a
developer's user configuration. Applications that want normal configuration
layering should call john_slop::load_config() instead.