Module session

Module session 

Source
Expand description

Session Manager for Incremental Evaluation

Provides a REPL-style interface for parsing sentences one at a time while maintaining persistent discourse state across turns.

§Example

use logicaffeine_language::Session;

let mut session = Session::new();
let out1 = session.eval("The boys lifted the piano.").unwrap();
let out2 = session.eval("They smiled.").unwrap();  // "They" resolves to "the boys"

Structs§

Session
A persistent session for incremental sentence evaluation.