A Prolog Parser developed in Python for CMP-321
The parser follows the following BNF and will parse all .txt files in the same directory.
BNF:
-> | -> | -> . | :- . -> ?- . -> | , -> | ( ) -> | , -> | | | -> ( ) -> | ' ' -> | -> | -> | -> | | -> a | b | c | ... | x | y | z -> A | B | C | ... | X | Y | Z | _ -> | -> 0|1|2|3|4|5|6|7|8|9 -> | -> | ->+|-|*|/||^|~|:|.|?| |#|$|&