Skip to content

RudyB/LogicLangRDP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LogicLangRDP

A Python based Reverse Descent Parser for basic logical languages that determines whether logical statements are valid or invalid.

Valid Grammar

# -------------------------------------------- # SENTENCE : PROP | TRUTH | NEG | AND | OR | IMPL | EQ # PROPOSITION : a | b | c | ... | z # TRUTH : true | false # NEGATION : not S # AND : S and S # OR : S or S # IMPLICATION : S impl S # EQUALITY : S = S # -------------------------------------------- 

Running the application

The application can be started with:
python main.py

License

This repository is released under the MIT license. See LICENSE for details.

About

A Recursive Descent Parser for Propositional Logic

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages