Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Architecture

Internal design of ccalc: workspace layout, data flow, module responsibilities, and design principles that guide every implementation decision.

Contents

TopicWhat you will find
OverviewWorkspace layout, data flow, dependency graph, design principles
Engine Crateccalc-engine public API, Value enum, Env type
ParserTokenizer, recursive-descent grammar, Stmt enum
EvaluatorAST evaluation, built-in dispatch, exec_stmts