# Elementary Row Operation Verifier
A CLI tool to verify the correctness of elementary row and column operations on matrices.
## Installation
```sh
cargo install elementary-row-operation-verifier
```
## Usage
```sh
# Single file (opens TUI on errors)
elementary-row-operation-verifier file.lore
# Plain text output
elementary-row-operation-verifier -p file.lore
# Verbose plain text
elementary-row-operation-verifier -v -p file.lore
# Check all .lore files in a directory
elementary-row-operation-verifier check folder/
# Check with verbose output
elementary-row-operation-verifier -v check folder/
```
## TUI Keys
| `j` / `↓` | Scroll down |
| `k` / `↑` | Scroll up |
| `←` / `→` | Horizontal scroll |
| `Enter` | Toggle detail panel |
| `Esc` | Close detail panel |
| `h` | Toggle help |
| `q` | Quit |
### Coloring
- **Green** — step computed correctly
- **Red bold** — step computed incorrectly (mismatched cells)
- **Blue** — row/column referenced (read) by an operation
## Quick Start
Create a `.lore` file:
```
> > > |
1 2 3
4 5 6
7 8 9
> > > |
2 4 6 x 2
4 5 6
7 8 9
```
Run:
```sh
elementary-row-operation-verifier myfile.lore
```