Expand description
§Logic Tracer
logic_tracer is a library for tracing the logic of a logic propopsition.
Also creates a truth table and a Karnaugh map (if possible).
§Features
- Creates a logic trace
- Creates a truth table
- Creates a Karnaugh map
- Reduces the logic proposition to its simplest form (if possible)
- Creates a circuit diagram (if possible)
- Serializes the logic proposition to a file (must be implemented)
Modules§
Macros§
- impl_
enum_ token - Macro to implement specific token types for a given trait.
- impl_
lexer_ token_ from - Macro to implement a token recognizer for a given set of token types.
- impl_
token_ trait - Macro to implement specific token types for a given trait.
Implements the ‘from’ method for the token type to create a Box
from a string.
Structs§
- AST
- Represents a complete Abstract Syntax Tree
- Complete
Lexer - Digit
- Lexer
- A lexer for tokenizing source code.
- Logic
Lexer - Math
Lexer - Natural
- Node
- A node in the Abstract Syntax Tree
- Number
- Operator
- Parser
- Represents a parser for converting a sequence of tokens into an AST.
- Physic
Lexer - Real
- Variable
Enums§
Traits§
- Number
Trait - Operator
Negator - Operator
Trait - Token
- Represents a generic token within the language processing system.
- Token
Recognizer - Variable
Trait