nickmarton / LMParser

A parser for predicate logic sentences involving mathematical expressions built with pyparsing in python 2.7

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#LMParser

The LMParser piggybacks off of Paul McGuire's fourFn.py and allows for the evaluation of predicate logic containing mathematical expressions.

e.g. '(!!(((-cos(2pi) + 44^2) + (-cos(2pi) + 44^2) ^ 1.5) > 1) and !!True) or 7>5^2'

About

A parser for predicate logic sentences involving mathematical expressions built with pyparsing in python 2.7


Languages

Language:Python 100.0%