ferrichess-study 0.2.0

Parse compact chess study text into validated move trees and deterministic PGN
Documentation
1
2
3
4
5
6
7
8
9
10
11
mod comments;
mod parser;
mod scanner;

pub use parser::{EmbeddedMove, ParsedMove, RawLineParse, RawParser, SourceSpan};

/// Normalizes prose without using chess-position context.
#[must_use]
pub fn normalize_comment_text(text: &str) -> String {
    RawParser::new().normalize_comment_text(text, None, None)
}