kiroku

Crates.iokiroku
lib.rskiroku
version0.3.1
created_at2025-08-19 10:23:43.901393+00
updated_at2025-08-21 16:59:19.217638+00
descriptionA Rust TUI tool to parse boolean expressions and generate truth tables, with K-Map and circuit visualization.
homepagehttps://github.com/Vaishnav-Sabari-Girish/Kiroku
repositoryhttps://github.com/Vaishnav-Sabari-Girish/Kiroku
max_upload_size
id1801681
size436,673
Vaishnav-sabari-girish (Vaishnav-Sabari-Girish)

documentation

README

Kiroku

Kiroku is an application that takes a boolean expression like A + B * C ^ D and creates a circuit, truth table and Karnaugh Map.

Symbols

! = NOT

& = AND

| = OR

^ = XOR

!& = NAND

!| = NOR

!^ = XNOR

Enter an expression like this

A ^ B !| C & (!D !^ E)

and press Enter

To switch between tabs, use the arrow keys.

Press the Right arrow key 2 times to go to the next tab and left arrow key 2 times to go to the previous tab.

Currently the K-Map only supports from 2-6 variables.

Installation

From crates.io

cargo install kiroku

From source

Clone this repo and cd into it and run

cargo run --release

Features

  • Truth Table generator (From expression)
  • Beautify the Table
  • Add support for XOR, XNOR , NOR and NAND operations
  • User input for expression
  • K-Map generation
  • Circuit Generation
  • Equation Simplification
  • Extend K-Map range

Output

Output

Stargazers over time

Stargazers over time

Thanks

Stargazers repo roster for @Vaishnav-Sabari-Girish/Kiroku

Commit count: 38

cargo fmt