Skip to content

alidplus/logical-gates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Logical Gates

A sample code for using typescript with generic react components image

Goals

to make a dynamic formula generator with contants, arguments and logical gates (and, or, ...)

  • Arguments: named variables you can define them in global scope to reuse in your formula.
  • Contants: any boolean value you can set inside your formula.
  • Logical gates: some predefined functions to use as logical operators inside your formula.

Gates

  • AND: The AND gate is a basic digital logic gate that implements logical conjunction (∧) from mathematical logic. wikipedia
  • OR: it performs a logical disjunction (∨) from mathematical logic. wikipedia
  • XOR: implements an exclusive or ({\displaystyle \nleftrightarrow }\nleftrightarrow) from mathematical logic. wikipedia
  • NOT: which implements logical negation. wikipedia

Todo

  • NAND gate
  • NOR gate
  • XNOR gate
  • IMPLY gate

Running localy

  1. clone code into your machine
  2. install dependancies:
yarn
  1. start app in development mode
yarn start

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published