It comes with Latte, and its implementation will serve as an instructional tool throughout this manual. Regrettably, this document is not yet complete. Latte processing overview To process a file of Latte input, the caller creates a reader and a visitor . The reader is responsible for parsing the input into a variety of data structures and evaluating those structures. The visitor is responsible for performing the desired processing on the results.
Input is from stream .
Populates the reader's activation with the standard intrinsic variable definitions, primarily the definitions of Latte's built-in functions. Consumes the input and processes it using visitor . Every Latte object has a boolean value and a numeric value. Evaluates this in the scope of activation and returns the result. The default implementation does nothing.