A DSL for manipulating functional symbolic expressions
Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
spec
.gitignore
.irb_tempfile
.rspec
.rvmrc
Gemfile
LICENSE
README.md
Rakefile
TODO
polly.gemspec

README.md

About

Polly is a DSL for manipulating and evaluating symbolic expressions.

Features

  • Create calculations consisting of one or more s-expressions
  • Evaluate full s-expressions or any constituent parts
  • Add custom function primitives for complex calculations
  • Print s-expression parse trees in prefix or infix notation
  • Perform data dependence analysis
  • Analyze runtime performance

Installation

Add this line to your application's Gemfile:

gem 'polly'

And then execute:

$ bundle

Or install it yourself as:

$ gem install polly

Usage

TODO: for now just check out spec/examples.rb

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request