diff --git a/crates/nuncio-cal/src/nlp.rs b/crates/nuncio-cal/src/nlp.rs index e4f6819..4be50cc 100644 --- a/crates/nuncio-cal/src/nlp.rs +++ b/crates/nuncio-cal/src/nlp.rs @@ -1,101 +1,705 @@ -//! Natural Language Calendar Booking NLP Parser. +//! A deliberately small, exact natural-language scheduling parser. +//! +//! The grammar below is the *entire* set of phrasings this parser understands. +//! Anything outside it returns an error. That is the point: a scheduler that +//! guesses produces a plausible-looking event at the wrong instant, and the user +//! only discovers the mistake by missing the meeting. Refusing is recoverable; +//! silently booking the wrong time is not. +//! +//! # Grammar +//! +//! ```text +//! at