How milanfusco/logoslab works
LogosLab is a C++ logical reasoning framework with a CLI and programmatic facade. Users provide assumptions and facts; the parser builds propositions and expressions, the facade runs inference, and users can query filtered results and provenance traces. The graph also preserves the lexer, expression evaluator, and proposition model as distinct internal layers. Relationships are based on the shown source excerpts or README; unsampled implementation details are not inferred.
Main entry points: Ratiocinator.cpp Reasoning Facade · main.cpp Command-Line Interface · Parser.cpp Knowledge Parser · Expression.cpp Expression Evaluator
Components 9
User Interface
- Command-Line Interface
src/main.cpp - Reasoning Facade
src/Ratiocinator.cpp - Reasoning Report
Reasoning Core
- Expression Evaluator
src/Expression.cpp - Inference Engine
src/InferenceEngine.cpp - Proposition Model
src/Proposition.cpp
Logic Language
- Knowledge Parser
src/Parser.cpp - Token Lexer
src/Lexer.cpp
Other components
- User
Connections 10
- User → Command-Line Interface: provides files
README.md - Command-Line Interface → Reasoning Facade: runs reasoning
src/main.cpp - Reasoning Facade → Knowledge Parser: loads knowledge
README.md - Reasoning Facade → Inference Engine: runs deduction
README.md - Reasoning Facade → Reasoning Report: formats results
README.md - Command-Line Interface → Reasoning Report: writes report
src/main.cpp - Knowledge Parser → Token Lexer: tokenizes input
src/Parser.cpp - Knowledge Parser → Expression Evaluator: builds expressions
src/Parser.cpp - Inference Engine → Proposition Model: derives values
- Expression Evaluator → Proposition Model: evaluates operands