Function parse_file
Source pub fn parse_file(text: &str) -> Result<FkcFile, FkcError>
Expand description
Parse an FKC file’s text into an FkcFile (front-matter + kernels).
Pure: no I/O of its own (tests pass &str). Every failure is a typed
FkcError; never panics.