Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

toon-validate

Command-line TOON Validator for structure validation, token analysis, and file profiling.

The tval binary provides fast validation and analysis of TOON and JSON files.

Requirements

  • Rust toolchain (stable)

Build

cargo build --release

Binary: target/release/tval

Commands

tval analyze <file>     # analyze single file
tval profile <dir>      # analyze directory  
tval check <file>       # validate structure

Flags

  • --in=toon|json - input format (default: auto)
  • --json - JSON output
  • --ext=<list> - file extensions for profile (default: .toon,.json)

Exit codes

  • 0: success
  • 1: IO/parse error
  • 2: validation error

Tests

cargo test
./test.sh

About

Command-line TOON analyzer for token estimation and structure validation. Fast Rust tool for analyzing .toon and JSON files.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages