Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
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

constraint : variable relational_operator value

value : INTEGER

variable: ID

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

Release History

This version
History Node


History Node


History Node


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
(10.5 kB) Copy SHA256 Hash SHA256
py3 Wheel Dec 9, 2017
(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