Giter Club home page Giter Club logo

truthtablegenerator's Introduction

TruthTableGenerator

Generate truth table according to logic expressions.

Logic Expressions

  • !, ~, not, ¬ are the same.
  • &, *, and, , are the same.
  • |, +, or, , v are the same.
  • <->, are the same.
  • ->, are the same.
  • ^, are the same.

Usage for python3 environment

Python3 is required, see help using python TruthTableGenerator.py or python3 TruthTableGenerator.py

usage: [-h | --help] [-i | --input <file path>]
           [-o | --output <file path>] [-c | --console]
           [-m | --markdown] [-r | --reverse ]
    [-i | --input <file path>]
        input from <file path>
    [-o | --output <file path>]
        output the result to <file path>
    [-c | --console]
        console mode (default)
    [-m | --markdown]
        generate markdown table
    [-r | --reverse]
        reverse the enumerate order (default F -> T)

Usage for others

using TruthTableGenerator.exe to use a GUI calculator to calculate directly.

You only need to download the TruthTableGenerator.exe and click it.

avatar

Feature

  • It can input expressions from a file and generate tables for expressions in each line.
  • It can generate a markdown table by using command.
  • You can copy your table by clicking the copy button on GUI.

Notice

  • You cannot use variable names that contain numbers.
  • You'd better use no more than four variables, otherwise the GUI will not display properly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.