Skip to content

integralfunction/wff-evaluation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo

Extended Backus-Naur Form Grammar

<S> ::= <A> (" iff " <A>)*
<A> ::= <B> (" if " <B>)*
<B> ::= <C> (" or " <C>)*
<C> ::= <D> (" and " <D>)*
<D> ::= <E> | "not" <E>
<E> ::= <v> | "(" <S> ")"
<v> ::= "x" | "y"

Operator Precedence

¬   <-- highest precedence
∧
∨
⇒
⇔   <-- lowest precedence

TODO: proper error handling

Build instructions:

cargo build

About

Generates a table from a propositional formula

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages