i'm currently trying to use a context free grammar for propositional logic.
Im imagining that the set of terminals will looks like this:
T=(q,p,¬,∧,∨,→,⟷).
Now what i need is to define a set of productions, that can help me in achieving all legal compound propositions. Can anyone help me? I really dont know where to start, the high amount of terminals is kinda throwing me off