Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

Python - LogicParser

This is a simple logic parser in python. It will parse and evaluate your logic term.

###Usage###

There are two ways of using this python script:

  • passing the term as a parameter

    python2.7 ./logicparser.py "(T and F)"

  • giving the term when the script asks for it

python2.7 ./logicparser.py 
Enter logic term: (T or F)

###Operations###

The following operations are implemented:

  • not
  • or
  • and
  • xor
  • ->
  • <->

About

Simple LogicParser in Python

Resources

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Languages