Project Description

aml is a very small programming language running on top of Python. aml is ideal for exposing a powerful but safe interface to users who need to define business rules but have no programming knowledge. In this respect aml is an alternative to cumbersome mouse-driven rule engine configurations.

The grammar and parser utilise the [pypeg2](http://fdik.org/pyPEG/) library which must be installed for aml to work.

To use aml the programmer creates a “language instace”. Calling the compile function yields an object (essentially an AST). This object can then be evaluated directly using the evaluate function or translated to Python or SQL using the respective functions.

Since the language is very simple, sufficient documentation can be given by example: