Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Interpreter of Boolean Logic Language

Project Description

# Bamboolean interpreter

Implementation of Bamboolean - Boolean Logic Language

Bamboolean is a simple language that consumes array of pre-defined variables, and
returns boolean value if constraints on these variables are met.

## Features

1. Case in-sensitive variable names and keywords

TODO: list features
TODO: describe operators associativity and precedence

## Testing

Run tests:

`python -m unittest discover bamboolean/`

## BNF Grammar

```
expr : simple_expr (OR simple_expr)*

simple_expr : term (AND term)*

term : constraint
| LPAREN expr RPAREN

constraint : variable relational_operator value

value : INTEGER
| FLOAT
| STRING
| BOOL

variable: ID

relational_operator : ( EQ | NE | LT | LTE | GT | GTE )
```


Release History

This version
History Node

0.1.3

History Node

0.1.2

History Node

0.1.0

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
bamboolean-0.1.3-py3-none-any.whl
(10.5 kB) Copy SHA256 Hash SHA256
py3 Wheel Dec 9, 2017
bamboolean-0.1.3.tar.gz
(7.5 kB) Copy SHA256 Hash SHA256
Source Dec 9, 2017

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting