Yet Another Formula Language.
TODO
operator | description |
---|---|
^ | Exponentiation |
! - | Not, unary minus |
* / % | Multiply, divide, and modulo |
+ - | Addition and subtraction |
& | Intersection |
| | Union |
<= < > >= | Comparison operators |
!= == | Equality operators |
&& | Logical AND |
|| | Logical OR |
Add this line to your Gemfile:
gem "yafl"
Or you may want to include the gem directly from GitHub:
gem "yafl", github: "jasl-lab/yafl"
And then execute:
$ bundle
Bug report or pull request are welcome.
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
Please write unit test with your code if necessary.
The gem is available as open source under the terms of the MIT License.